Eli Bendersky <eli...@gmail.com> added the comment:

After some tinkering I found which test when run before test_xml_etree causes 
it to crash:

$ ./python -m test.regrtest test___all__ test_xml_etree
[1/2] test___all__
[2/2] test_xml_etree
Fatal Python error: Segmentation fault

Current thread 0x00007f771ecec700:
  File "/home/eliben/python-src/33/Lib/xml/etree/ElementTree.py", line 895 in 
_namespaces
  File "/home/eliben/python-src/33/Lib/xml/etree/ElementTree.py", line 843 in 
write
  File "/home/eliben/python-src/33/Lib/test/test_xml_etree.py", line 103 in 
serialize
  File "/home/eliben/python-src/33/Lib/test/test_xml_etree.py", line 2020 in 
test_xinclude_default
  File "/home/eliben/python-src/33/Lib/unittest/case.py", line 385 in 
_executeTestPart
  File "/home/eliben/python-src/33/Lib/unittest/case.py", line 440 in run
  File "/home/eliben/python-src/33/Lib/unittest/case.py", line 492 in __call__
  File "/home/eliben/python-src/33/Lib/unittest/suite.py", line 105 in run
  File "/home/eliben/python-src/33/Lib/unittest/suite.py", line 67 in __call__
  File "/home/eliben/python-src/33/Lib/unittest/suite.py", line 105 in run
  File "/home/eliben/python-src/33/Lib/unittest/suite.py", line 67 in __call__
  File "/home/eliben/python-src/33/Lib/test/support.py", line 1282 in run
  File "/home/eliben/python-src/33/Lib/test/support.py", line 1383 in _run_suite
  File "/home/eliben/python-src/33/Lib/test/support.py", line 1417 in 
run_unittest
  File "/home/eliben/python-src/33/Lib/test/test_xml_etree.py", line 2311 in 
test_main
  File "/home/eliben/python-src/33/Lib/test/regrtest.py", line 1238 in 
runtest_inner
  File "/home/eliben/python-src/33/Lib/test/regrtest.py", line 919 in runtest
  File "/home/eliben/python-src/33/Lib/test/regrtest.py", line 710 in main
  File "/home/eliben/python-src/33/Lib/test/regrtest.py", line 1829 in <module>
  File "/home/eliben/python-src/33/Lib/runpy.py", line 75 in _run_code
  File "/home/eliben/python-src/33/Lib/runpy.py", line 162 in 
_run_module_as_main
Segmentation fault (core dumped)


Note that this is the Python test crashing. test_xml_etree_c works fine

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15075>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to