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.3693495e-13
Marked as misclassified No
Message-id <1314746426.61.0.713800634762.issue12829@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1314746426.61.0.713800634762.issue12829@psf.upfronthosting.co.za>
2011-08-30 23:20:26ned.deilylinkissue12829 messages
2011-08-30 23:20:25ned.deilycreate