This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python crash on exit
Type: crash Stage: resolved
Components: Interpreter Core Versions: Python 3.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: BTaskaya, SilentGhost, gnumdk, xtreak
Priority: normal Keywords:

Created on 2015-05-13 11:50 by gnumdk, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg243074 - (view) Author: Cédric Bellegarde (gnumdk) Date: 2015-05-13 11:50
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.
0x00007ffff6b3b528 in _int_free (av=0x7ffff6e65620 <main_arena>, p=<optimized out>, 
    have_lock=0) at malloc.c:3996
3996	malloc.c: Aucun fichier ou dossier de ce type.
(gdb) backtrace
#0  0x00007ffff6b3b528 in _int_free (av=0x7ffff6e65620 <main_arena>, 
    p=<optimized out>, have_lock=0) at malloc.c:3996
#1  0x00000000005eae0f in code_dealloc (co=0x7ffff68be150)
    at ../Objects/codeobject.c:364
#2  0x00000000005f57f7 in func_dealloc (op=0x7ffff4dc4488)
    at ../Objects/funcobject.c:555
#3  0x00000000005f531f in sm_dealloc (sm=0x7ffff4dbd8d0)
    at ../Objects/funcobject.c:908
#4  0x0000000000459acf in free_keys_object (keys=0xb462e0)
    at ../Objects/dictobject.c:369
#5  PyDict_Clear (op=<optimized out>) at ../Objects/dictobject.c:1282
#6  0x000000000045c102 in PyDict_Clear (op=<optimized out>)
    at ../Objects/dictobject.c:1260
#7  0x000000000047b8d8 in type_clear (type=0xb46f28) at ../Objects/typeobject.c:3228
#8  0x000000000052bb3a in delete_garbage (old=<optimized out>, 
    collectable=<optimized out>) 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 0x000000000052c651 in _PyGC_CollectNoFail () at ../Modules/gcmodule.c:1638
#11 0x00000000004fbf1d in PyImport_Cleanup () at ../Python/import.c:540
#12 0x000000000050ecb9 in Py_Finalize () at ../Python/pythonrun.c:616
#13 0x000000000051125c in Py_Finalize () at ../Python/pythonrun.c:2795
#14 Py_Exit (sts=sts@entry=0) at ../Python/pythonrun.c:2793
#15 0x000000000041e409 in handle_system_exit () at ../Python/pythonrun.c:1812
#16 0x00000000005115b4 in handle_system_exit () at ../Python/pythonrun.c:1881
#17 PyErr_PrintEx (set_sys_last_vars=<optimized out>) at ../Python/pythonrun.c:1822
#18 0x00000000005123cf in PyErr_Print () at ../Python/pythonrun.c:1718
#19 PyRun_SimpleFileExFlags (fp=0x7ffff6e65620 <main_arena>, 
    filename=0xffffffff <error: Cannot access memory at address 0xffffffff>, 
    closeit=1, flags=0xffff800008d504d0) at ../Python/pythonrun.c:1611
#20 0x0000000000422cbc in run_file (p_cf=<optimized out>, filename=<optimized out>, 
    fp=<optimized out>) at ../Modules/main.c:319
#21 Py_Main (argc=-157933448, argv=0x7ffff6a24180) at ../Modules/main.c:751
#22 0x000000000041f06c in main (argc=2, argv=<optimized out>)
    at ../Modules/python.c:69
msg358990 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2019-12-29 15:47
The link you gave is broken, can you give a simple code to reproduce the issue?
msg358993 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-12-29 16:57
Currently lollypop seems to be residing at https://gitlab.gnome.org/World/lollypop
However, this issue is filled against a no longer supported version which along with many changes in the C code warrants out-of-date closure, I think. Cédric, please re-open this issue if you're still experiencing this crash on a recent Python version.
History
Date User Action Args
2022-04-11 14:58:16adminsetgithub: 68362
2019-12-29 16:57:55SilentGhostsetstatus: open -> closed

nosy: + SilentGhost
messages: + msg358993

resolution: out of date
stage: resolved
2019-12-29 15:47:12BTaskayasetnosy: + BTaskaya
messages: + msg358990
2018-09-22 07:44:21xtreaksetnosy: + xtreak
2015-05-13 11:50:23gnumdkcreate