[issue10074] dictobject.c: crash in Py_XDECREF

Sridhar Ratnakumar report at bugs.python.org
Tue Oct 12 19:55:56 CEST 2010


New submission from Sridhar Ratnakumar <sridharr at activestate.com>:

I noticed that Python 2.6.6 crashes on OSX 10.6 when using Komodo. The below traceback indicates a crash in line 911 - "Py_XDECREF(ep->me_value);" in tags/r266/Objects/dictobject.c

Thread 0:  Dispatch queue: com.apple.main-thread
0   org.activestate.ActivePython26	0x129a3716 dict_dealloc + 82 (dictobject.c:911)
1   org.activestate.ActivePython26	0x12976ed1 instance_dealloc + 437 (classobject.c:669)
2   org.activestate.ActivePython26	0x129a3752 dict_dealloc + 142 (dictobject.c:907)
3   org.activestate.ActivePython26	0x129bfcdd subtype_dealloc + 884 (typeobject.c:1004)
4   org.activestate.ActivePython26	0x12994f96 list_dealloc + 212 (listobject.c:306)
5   org.activestate.ActivePython26	0x129a2f81 insertdict + 122 (dictobject.c:459)
6   org.activestate.ActivePython26	0x129a33d9 PyDict_SetItem + 92 (dictobject.c:701)
7   org.activestate.ActivePython26	0x129a8f2e PyObject_GenericSetAttr + 262 (object.c:1504)
8   org.activestate.ActivePython26	0x129a7c2b PyObject_SetAttr + 135 (object.c:1252)
9   org.activestate.ActivePython26	0x12a08132 PyEval_EvalFrameEx + 8529 (ceval.c:1864)
10  org.activestate.ActivePython26	0x12a0bcaa PyEval_EvalFrameEx + 23753 (ceval.c:3836)
11  org.activestate.ActivePython26	0x12a0bcaa PyEval_EvalFrameEx + 23753 (ceval.c:3836)
12  org.activestate.ActivePython26	0x12a0cbca PyEval_EvalCodeEx + 1973 (ceval.c:3000)
13  org.activestate.ActivePython26	0x12990d81 function_call + 162 (funcobject.c:524)
14  org.activestate.ActivePython26	0x12963b46 PyObject_Call + 77 (abstract.c:2492)
15  org.activestate.ActivePython26	0x12a08f3b PyEval_EvalFrameEx + 12122 (ceval.c:4063)
16  org.activestate.ActivePython26	0x12a0cbca PyEval_EvalCodeEx + 1973 (ceval.c:3000)
17  org.activestate.ActivePython26	0x12990d81 function_call + 162 (funcobject.c:524)
18  org.activestate.ActivePython26	0x12963b46 PyObject_Call + 77 (abstract.c:2492)
19  org.activestate.ActivePython26	0x12974615 instancemethod_call + 401 (classobject.c:2579)
20  org.activestate.ActivePython26	0x12963b46 PyObject_Call + 77 (abstract.c:2492)
21  org.activestate.ActivePython26	0x12968e47 PyObject_CallMethod + 154 (abstract.c:2524)
22  libpyxpcom.dylib              	0x0078cdde PyXPCOM_XPTStub::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) + 242

Even though the traceback is for ActivePython (that Komodo includes), this seems to happen with the official Python binaries as well: http://www.gossamer-threads.com/lists/python/python/844086

----------
assignee: ronaldoussoren
components: Interpreter Core, Macintosh
messages: 118449
nosy: ronaldoussoren, srid
priority: normal
severity: normal
status: open
title: dictobject.c: crash in Py_XDECREF
type: crash
versions: Python 2.6

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


More information about the Python-bugs-list mailing list