[issue28518] execute("begin immediate") throwing OperationalError

2017-01-26 Thread Cédric Bellegarde

Cédric Bellegarde added the comment:

Adding a commit doesn't fix the issue here:
sql.commit()
sql.execute('VACUUM')

And on run:
cannot VACUUM from within a transaction

------
nosy: +Cédric Bellegarde

___
Python tracker 
<http://bugs.python.org/issue28518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24174] Python crash on exit

2015-05-13 Thread Cédric Bellegarde

New submission from Cédric Bellegarde:

Hello, i'm lollypop dev:
https://github.com/gnumdk/lollypop

Sometimes, when lollypop quits, i get a segfault...

Here bracktrace:
Program received signal SIGSEGV, Segmentation fault.
0x76b3b528 in _int_free (av=0x76e65620 , p=, 
have_lock=0) at malloc.c:3996
3996malloc.c: Aucun fichier ou dossier de ce type.
(gdb) backtrace
#0  0x76b3b528 in _int_free (av=0x76e65620 , 
p=, have_lock=0) at malloc.c:3996
#1  0x005eae0f in code_dealloc (co=0x768be150)
at ../Objects/codeobject.c:364
#2  0x005f57f7 in func_dealloc (op=0x74dc4488)
at ../Objects/funcobject.c:555
#3  0x005f531f in sm_dealloc (sm=0x74dbd8d0)
at ../Objects/funcobject.c:908
#4  0x00459acf in free_keys_object (keys=0xb462e0)
at ../Objects/dictobject.c:369
#5  PyDict_Clear (op=) at ../Objects/dictobject.c:1282
#6  0x0045c102 in PyDict_Clear (op=)
at ../Objects/dictobject.c:1260
#7  0x0047b8d8 in type_clear (type=0xb46f28) at 
../Objects/typeobject.c:3228
#8  0x0052bb3a in delete_garbage (old=, 
collectable=) at ../Modules/gcmodule.c:866
#9  collect (generation=generation@entry=2, n_collected=n_collected@entry=0x0, 
n_uncollectable=n_uncollectable@entry=0x0, nofail=nofail@entry=1)
at ../Modules/gcmodule.c:1032
#10 0x0052c651 in _PyGC_CollectNoFail () at ../Modules/gcmodule.c:1638
#11 0x004fbf1d in PyImport_Cleanup () at ../Python/import.c:540
#12 0x0050ecb9 in Py_Finalize () at ../Python/pythonrun.c:616
#13 0x0051125c in Py_Finalize () at ../Python/pythonrun.c:2795
#14 Py_Exit (sts=sts@entry=0) at ../Python/pythonrun.c:2793
#15 0x0041e409 in handle_system_exit () at ../Python/pythonrun.c:1812
#16 0x005115b4 in handle_system_exit () at ../Python/pythonrun.c:1881
#17 PyErr_PrintEx (set_sys_last_vars=) at 
../Python/pythonrun.c:1822
#18 0x005123cf in PyErr_Print () at ../Python/pythonrun.c:1718
#19 PyRun_SimpleFileExFlags (fp=0x76e65620 , 
filename=0x , 
closeit=1, flags=0x88d504d0) at ../Python/pythonrun.c:1611
#20 0x00422cbc in run_file (p_cf=, filename=, 
fp=) at ../Modules/main.c:319
#21 Py_Main (argc=-157933448, argv=0x76a24180) at ../Modules/main.c:751
#22 0x0041f06c in main (argc=2, argv=)
at ../Modules/python.c:69

--
components: Interpreter Core
messages: 243074
nosy: gnumdk
priority: normal
severity: normal
status: open
title: Python crash on exit
type: crash
versions: Python 3.4

___
Python tracker 
<http://bugs.python.org/issue24174>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com