On Mon, Apr 24, 2017 at 11:28 AM, Bob Kline <bkline@rksystems.com> wrote:
Wish me luck!
Well, it turns out that the problematic xmlError structs aren't coming from libxml2 at all, but are instead being assembled fresh in the lxml code. I've found a couple of places where this is happening, and I'm hopeful that fixing them so they're not leaving garbage at the end of the structs (or at least not for the node member) will eliminate the core dumps. In the meantime, I just wanted to confirm that the warnings that come out when I run python (or python3) setup.py build_ext -i --with-cython are expected and benign. Warning: Extension name 'lxml.etree' does not match fully qualified name 'lxml.lxml.etree' of 'src/lxml/lxml.etree.pyx' src/lxml/lxml.etree.pyx: cannot find cimported module 'lxml' src/lxml/lxml.etree.pyx: cannot find cimported module 'lxml.includes' Warning: Extension name 'lxml.objectify' does not match fully qualified name 'lxml.lxml.objectify' of 'src/lxml/lxml.objectify.pyx' src/lxml/lxml.objectify.pyx: cannot find cimported module 'lxml' src/lxml/lxml.objectify.pyx: cannot find cimported module 'lxml.includes' /home/bkline/src/github/lxml/src/lxml/includes/etreepublic.pxd: cannot find cimported module 'lxml.includes' Compiling src/lxml/lxml.etree.pyx because it depends on src/lxml/extensions.pxi. [1/1] Cythonizing src/lxml/lxml.etree.pyx warning: src/lxml/xmlerror.pxi:640:26: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:648:48: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:662:44: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:672:24: local variable 'args' referenced before assignment Thanks, Bob