[issue7138] elementtree segfaults on invalid xml declaration

Walter Dörwald report at bugs.python.org
Thu Oct 15 11:58:24 CEST 2009


Walter Dörwald <walter at livinglogic.de> added the comment:

Here is a stacktrace of the crash with the system Python 2.6.1 on Mac OS
X 10.6.1:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000101000000
0x00007fff810f96b8 in XML_SetEncoding ()
(gdb) bt
#0  0x00007fff810f96b8 in XML_SetEncoding ()
#1  0x00007fff810ecad0 in XML_GetCurrentLineNumber ()
#2  0x00000001005c2150 in initpyexpat ()
#3  0x00000001005c3516 in initpyexpat ()
#4  0x00000001000891df in PyEval_EvalFrameEx ()
#5  0x0000000100089330 in PyEval_EvalFrameEx ()
#6  0x0000000100089330 in PyEval_EvalFrameEx ()
#7  0x000000010008accf in PyEval_EvalCodeEx ()
#8  0x000000010008ad62 in PyEval_EvalCode ()
#9  0x00000001000a265a in Py_CompileString ()
#10 0x00000001000a44dd in PyRun_InteractiveOneFlags ()
#11 0x00000001000a4615 in PyRun_InteractiveLoopFlags ()
#12 0x00000001000a4685 in PyRun_AnyFileExFlags ()
#13 0x00000001000b0286 in Py_Main ()
#14 0x0000000100000e6c in ?? ()

----------
nosy: +doerwalter

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


More information about the Python-bugs-list mailing list