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.

Author duaneg
Recipients abarry, christian.heimes, duaneg, larry, ned.deily, rhettinger, serhiy.storchaka, tehybel
Date 2016-09-12.00:40:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473640856.05.0.447891083317.issue27945@psf.upfronthosting.co.za>
In-reply-to
Content
Apologies: compiling python with --with-pydebug all of these issues are reproducible on head after all. Furthermore while my patch fixes the reported crash it still crashes on exit:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000437193 in visit_decref (op=0x7ffff68a4c98, data=0x0) at Modules/gcmodule.c:374
374	    if (PyObject_IS_GC(op)) {
(gdb) bt
#0  0x0000000000437193 in visit_decref (op=0x7ffff68a4c98, data=0x0) at Modules/gcmodule.c:374
#1  0x00000000004a9112 in tupletraverse (o=0x7ffff68a49f8, visit=0x43716d <visit_decref>, arg=0x0) at Objects/tupleobject.c:571
#2  0x000000000043690a in subtract_refs (containers=containers@entry=0x87cda0 <generations+64>) at Modules/gcmodule.c:399
#3  0x0000000000437ac3 in collect (generation=generation@entry=2, n_collected=n_collected@entry=0x7fffffffd838, n_uncollectable=n_uncollectable@entry=0x7fffffffd840, 
    nofail=nofail@entry=0) at Modules/gcmodule.c:956
#4  0x0000000000437f57 in collect_with_callback (generation=generation@entry=2) at Modules/gcmodule.c:1128
#5  0x00000000004383a6 in PyGC_Collect () at Modules/gcmodule.c:1592
#6  0x00000000004383cf in _PyGC_CollectIfEnabled () at Modules/gcmodule.c:1605
#7  0x0000000000420c76 in Py_FinalizeEx () at Python/pylifecycle.c:603
#8  0x000000000043682b in Py_Main (argc=argc@entry=2, argv=argv@entry=0x90d010) at Modules/main.c:798
#9  0x000000000041d153 in main (argc=2, argv=0x7fffffffdae8) at ./Programs/python.c:69
History
Date User Action Args
2016-09-12 00:40:56duanegsetrecipients: + duaneg, rhettinger, larry, christian.heimes, ned.deily, serhiy.storchaka, abarry, tehybel
2016-09-12 00:40:56duanegsetmessageid: <1473640856.05.0.447891083317.issue27945@psf.upfronthosting.co.za>
2016-09-12 00:40:56duaneglinkissue27945 messages
2016-09-12 00:40:55duanegcreate