Crash on MacOS-X when importing tkinter

Hi, I got a crash report when importing tkinter and lxml together under MacOS-X. https://bugs.launchpad.net/lxml/+bug/1384102 Could other Apple users please try the following couple of commands and report if they trigger a crash for them or not? """ import tkinter from lxml import etree print("%-20s: %s" % ('Python', sys.version_info)) print("%-20s: %s" % ('lxml.etree', etree.LXML_VERSION)) print("%-20s: %s" % ('libxml used', etree.LIBXML_VERSION)) print("%-20s: %s" % ('libxml compiled', etree.LIBXML_COMPILED_VERSION)) print("%-20s: %s" % ('libxslt used', etree.LIBXSLT_VERSION)) print("%-20s: %s" % ('libxslt compiled', etree.LIBXSLT_COMPILED_VERSION)) root = etree.Element('test') xml = etree.tostring(root) # <- crashing here """ Please report the library versions that you are using (printed above) and whether it's a static lxml build or links dynamically against libxml2. If someone has gdb available and can provide further information about the spot in libxml2 where this crashes, I'd be happy to hear them. Thanks! Stefan

Stefan Behnel schrieb am 31.10.2014 um 11:21:
I got a crash report when importing tkinter and lxml together under MacOS-X.
Thanks for the help, the bug was found to be in libxml2 (due to a build problem on MacOS 10.10). Stefan

Stefan Behnel schrieb am 31.10.2014 um 11:21:
I got a crash report when importing tkinter and lxml together under MacOS-X.
Thanks for the help, the bug was found to be in libxml2 (due to a build problem on MacOS 10.10). Stefan
participants (1)
-
Stefan Behnel