
Hi,
Yes, I've seen that before and it's reproduceable if it occurs. So far, I have no idea where this might come from. The "tupletraverse" makes it look like a GC crash when collecting Python (!) references, but I really don't see where this might be triggered in lxml. All problems we had so far were related to libxml2 data being double freed and stuff.
I'd be happy about any idea how to investigate this any deeper.
For what it's worth, I'm seeing a strange dependency on the *arguments* passed to test.py: No args: Works ============== 0 lb54320@adevp02 .../lxml-1.3 $ PYTHONPATH=src python2.4 test.py TESTED VERSION: Python: (2, 4, 4, 'final', 0) lxml.etree: (1, 3, 0, 44288) libxml used: (2, 6, 27) libxml compiled: (2, 6, 27) libxslt used: (1, 1, 20) libxslt compiled: (1, 1, 20) ---------------------------------------------------------------------- Ran 552 tests in 0.978s OK 0 lb54320@adevp02 .../lxml-1.3 $ -p only: Works ============== 0 lb54320@adevp02 .../lxml-1.3 $ PYTHONPATH=src python2.4 test.py -p TESTED VERSION: Python: (2, 4, 4, 'final', 0) lxml.etree: (1, 3, 0, 44288) libxml used: (2, 6, 27) libxml compiled: (2, 6, 27) libxslt used: (1, 1, 20) libxslt compiled: (1, 1, 20) 552/552 (100.0%) ---------------------------------------------------------------------- Ran 552 tests in 1.052s OK 0 lb54320@adevp02 .../lxml-1.3 $ -v only: Works ============== 0 lb54320@adevp02 .../lxml-1.3 $ PYTHONPATH=src python2.4 test.py -v TESTED VERSION: Python: (2, 4, 4, 'final', 0) lxml.etree: (1, 3, 0, 44288) libxml used: (2, 6, 27) libxml compiled: (2, 6, 27) libxslt used: (1, 1, 20) libxslt compiled: (1, 1, 20) ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ ---------------------------------------------------------------------- Ran 552 tests in 1.016s OK 0 lb54320@adevp02 .../lxml-1.3 $ -vv: Core Dump ============== 0 lb54320@adevp02 .../lxml-1.3 $ PYTHONPATH=src python2.4 test.py -vv TESTED VERSION: Python: (2, 4, 4, 'final', 0) lxml.etree: (1, 3, 0, 44288) libxml used: (2, 6, 27) libxml compiled: (2, 6, 27) libxslt used: (1, 1, 20) libxslt compiled: (1, 1, 20) test_attribute_based_lookup (lxml.tests.test_classlookup.ClassLookupTestCase) ... ok test_custom_lookup (lxml.tests.test_classlookup.ClassLookupTestCase) ... ok test_custom_lookup_ns_fallback (lxml.tests.test_classlookup.ClassLookupTestCase) ... ok test_default_class_lookup (lxml.tests.test_classlookup.ClassLookupTestCase) ... ok [...] test_xslt_shortcut (lxml.tests.test_xslt.ETreeXSLTTestCase) ... ok test_xslt_unicode (lxml.tests.test_xslt.ETreeXSLTTestCase) ... ok test_xslt_utf8 (lxml.tests.test_xslt.ETreeXSLTTestCase) ... ok Doctest: extensions.txt ... ok Doctest: xpathxslt.txt ... ok ---------------------------------------------------------------------- Ran 552 tests in 1.058s OK Illegal Instruction (core dumped) 132 lb54320@adevp02 .../lxml-1.3 $ -p -v: Core Dump ================ 132 lb54320@adevp02 .../lxml-1.3 $ PYTHONPATH=src python2.4 test.py -p -v TESTED VERSION: Python: (2, 4, 4, 'final', 0) lxml.etree: (1, 3, 0, 44288) libxml used: (2, 6, 27) libxml compiled: (2, 6, 27) libxslt used: (1, 1, 20) libxslt compiled: (1, 1, 20) 552/552 (100.0%): Doctest: xpathxslt.txt ---------------------------------------------------------------------- Ran 552 tests in 1.089s OK Illegal Instruction (core dumped) 132 lb54320@adevp02 .../lxml-1.3 $ Holger -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail