classification
Title: Segfault in gcmodule.c:360 visit_decref (PyObject_IS_GC(op))
Type: crash Stage: resolved
Components: Interpreter Core Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: lchin, vstinner
Priority: normal Keywords:

Created on 2017-08-10 21:43 by lchin, last changed 2018-06-13 15:36 by vstinner. This issue is now closed.

Messages (2)
msg300121 - (view) Author: lchin (lchin) Date: 2017-08-10 21:43
When running a python script with YML data as input, it stopped with segmentation fault 

/home/appuser/pyETL/tableTrimmer.py 
 /home/appuser/pyETL/csidPyLib/etlConfig/ip4AuditSync.yml

(gdb) bt

Core was generated by `python2.7 tableTrimmer.py csidPyLib/etlConfig/ip4AuditSync.yml'.
Program terminated with signal 11, Segmentation fault.
#0  visit_decref (op=0x7f08c1afb320, data=0x0) at Modules/gcmodule.c:360
360	    if (PyObject_IS_GC(op)) {
msg319475 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-06-13 15:36
I am sorry, but without further information, we cannot fix your issue.

Usually, a crash in visit_decref() means that a C extension corrupted a random Python object. Try to run your test on Python 3 using PYTHONMALLOC=debug.
History
Date User Action Args
2018-06-13 15:36:44vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg319475

resolution: out of date
stage: resolved
2017-08-10 21:43:17lchincreate