[issue15236] SEGFAULT in visit_decref

Kai Sterker report at bugs.python.org
Sun Jul 1 22:18:15 CEST 2012


Kai Sterker <kai.sterker at gmail.com> added the comment:

To compile against a python version that is not system-default, configure with

  PYTHON=/usr/bin/python2.7 ../adonthell/configure --with-py-cflags=-I/usr/include/python2.7 --with-py-libs=-lpython2.7


Regardless of that, your hints are proving useful. I compiled with 2.6.8 and was not able to reproduce the issue. However, with a gc.collect() call added to estimate_speed, it will again happen sometimes.

So it does not seem to be specific to Python 2.7.3 (and is probably not even a problem with Python at all). Could this be triggered by a missing Py_INCREF somewhere? Or would you suspect something totally unrelated? (But then I would expect other random crashes, too.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15236>
_______________________________________


More information about the Python-bugs-list mailing list