[lxml-dev] Possible bug, libxml segfault?

Avleen Vig avleen at gmail.com
Thu Jun 4 11:57:41 CEST 2009


On Sat, May 30, 2009 at 12:25 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> The information you give is pretty informative. It just lacks a hint which
> versions of lxml, libxml2 and libxslt you are using. Is this reproducible
> with the latest release versions of all three?

lxml 1.3.6
libxslt 1.1.22
libxml 2.6.31

> The triggering problem is that you try to exclude the namespace prefixes
> "str" and "exsl" which are not defined in your stylesheet. This seems to
> induce a problem in lxml's error reporting mechanism in your specific setup.
>
> Is your application threaded? I do remember a couple of problems with
> threaded error reporting in the past, although all of those were solved
> back then.

We're running it with the Spawning python module (which uses
threading), otherwise it's just a regular Django app.

I haven't had a change to try this with the latest lxml. I'll try to
soon. Something changed and made the problem happen much less
frequently, so not sure what's going on there :)


More information about the lxml-dev mailing list