
April 14, 2005
10:07 p.m.
Sorry, just finished my talks today in Ireland. I agree that Marc's analysis is most likely correct for me too. BTW, I'm using a Python and a libxml2 from DarwinPorts. --Paul On Apr 14, 2005, at 12:53 PM, Martijn Faassen wrote:
Paul Everitt wrote:
Hi all. The following produces a segfault on OS X but not on Ubuntu:
from lxml import etree f = open("../data/tmp/content.xml", "r") content = etree.parse(f) f.close() del f, content f = open("../data/tmp/content.xml", "r") content = etree.parse(f) Segmentation fault
Paul, this might have to do with compilation issues. Can you do a svn up on your Mac OS X box, do a 'make clean', and recompiling/reinstalling?
Regards,
Martijn