18 Jun 2012 15:53
[cpyext] crash in PyThreadState_GetDict()
Stefan Behnel <stefan_ml <at> behnel.de>
2012-06-18 13:53:47 GMT
2012-06-18 13:53:47 GMT
Hi, I'm getting reproducible segfaults in the PyThreadState_GetDict() function with lxml. For that, it's enough to build the latest lxml github master version in PyPy and start the test runner. You'll also need the github master version of Cython for that (with contains the PyPy port). I use these commands for building lxml under Linux: $ CFLAGS=-ggdb make PYTHON=pypy inplace $ pypy test.py -vv -p parser html # no specific test, just not all The stack trace I get starts like this: """ #0 0x0000000000b4fac5 in ?? () #1 0x000000000103a813 in PyThreadState_GetDict () #2 0x00007ffff51b15b0 in __pyx_f_4lxml_5etree__getGlobalErrorLog () at src/lxml/lxml.etree.c:32906 #3 0x00007ffff51a8922 in __pyx_f_4lxml_5etree_13_BaseErrorLog__receive (__pyx_v_self=0x7ffff7f99378, __pyx_v_error=0x3205ed8) at src/lxml/lxml.etree.c:28299 #4 0x00007ffff51fad46 in __pyx_f_4lxml_5etree__forwardParserError (__pyx_v__parser_context=0x3205c80, __pyx_v_error=0x3205ed8) at src/lxml/lxml.etree.c:82070 #5 0x00007ffff51fadc7 in __pyx_f_4lxml_5etree__receiveParserError (__pyx_v_c_context=0x3205c80, __pyx_v_error=0x3205ed8) at src/lxml/lxml.etree.c:82126 """(Continue reading)
RSS Feed