[lxml-dev] Segfault on XSLT/XPath undefined variable error.

John Krukoff jkrukoff at ltgc.com
Thu Jul 31 18:30:30 CEST 2008


On Thu, 2008-07-31 at 07:41 +0200, Stefan Behnel wrote:
> Hi,
> 
> John Krukoff wrote:
> > First, uninstalled cython and upgraded to 2.1.1, just to make sure this
> > wasn't already fixed, since there were notes in the changelog about XSLT
> > logging. With the same method, I can still get the same crash:
> > 
> > xmlXPathCompiledEval: evaluation failed
> > Segmentation fault (core dumped)
> > 
> > With symbols, the backtrace has a bit more information:
> 
> but still no line numbers ... Could you compile with "-O -ggdb"?
> 

Do I need to alter the setup.py to do that, or is there a simpler way?

I think the other library that links against libxml2 is libxmlsec, I'll
see if I can get it to crash without calling that first. I suspect I
can, as it was failing for my coworker with a different set of things
called first, which didn't include the libxmlsec call.
-- 
John Krukoff <jkrukoff at ltgc.com>
Land Title Guarantee Company



More information about the lxml-dev mailing list