This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients barry, dhgutteridge, ned.deily, ronaldoussoren, terry.reedy
Date 2011-08-30.23:20:25
SpamBayes Score 6.36935e-13
Marked as misclassified No
Message-id <>
This is the same issue as highlighted by Issue6676.  The root cause is attempting to reuse a parser instance and that is known to not work with the version of expat included with Python.  Whether the test program crashes with a memory access violation or just uses uninitialized memory depends on the version of malloc in use and what protections the linker and os use.  Even on Mac OS X, the test program does not segfault on earlier versions of OS X (like 10.5).  And on 10.6 and 10.7 if you build python with pymalloc it usually does not segfault.  But that doesn't mean it is working properly.  At a minimum, the single use restriction should be documented; if anyone is interested, they could look into adding any more recent fixes to expat and plugging remaining reuse holes.
Date User Action Args
2011-08-30 23:20:26ned.deilysetrecipients: + ned.deily, barry, terry.reedy, ronaldoussoren, dhgutteridge
2011-08-30 23:20:26ned.deilysetmessageid: <>
2011-08-30 23:20:26ned.deilylinkissue12829 messages
2011-08-30 23:20:25ned.deilycreate