[New-bugs-announce] [issue15236] SEGFAULT in visit_decref

Kai Sterker report at bugs.python.org
Sun Jul 1 11:46:23 CEST 2012

New submission from Kai Sterker <kai.sterker at gmail.com>:

Since update to Python 2.7.3 (as distributed by Ubuntu 12.04 64bit), I experience occasional crashes in the application I am developing (which uses Python scripting). The crash either happens at the first key press or it does not happen at all. Smells like a race condition to me.

I installed the debug version of Python 2.7.3 and compiled my project against that, which gave the attached stack trace. The crash also appears to be easier to reproduce with the debug version, but it still does not occur every time.

The application that exhibits the crash can be found here:

The Python method executed when the crash happens is this one:

    def estimate_speed (self, terrain):
            return self.Dic[terrain]
        except: return 0

Don't think it will be possible to construct a minimum example to demonstrate the issue, but if there is any other information helpful to shed more light on the issue, I'm happy to provide it.



files: stacktrace.txt
messages: 164468
nosy: Kai.Sterker
priority: normal
severity: normal
status: open
title: SEGFAULT in visit_decref
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file26223/stacktrace.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list