[lxml-dev] Unable to solve a crash on Windows with LXML

Stefan Behnel stefan_ml at behnel.de
Fri Jan 23 18:58:56 CET 2009


Robert Liebeskind wrote:
> On Jan 23, 2009, at 4:13 PM, Stefan Behnel wrote:
>
>> Robert Liebeskind wrote:
>>> I have attached a stack trace for you to see.
>>
>> erm, no?
>>
> Here it is.  See attached.

Thanks. However, it's a pretty generic trace that doesn't tell me too
much. Can you give me an idea about your application flow? I'd like to
know what lxml functionality is used and how the threads interact.
Specifically: what does each thread do with a tree? Where are documents
parsed? Where do you use XSLT or XPath (same thread/different thread)?
Where do you extract subtrees from a tree? And at what point are XML trees
passed between threads? What lxml features do you prepare/use globally and
which are thread-local?

With that information, I might be able to find at least a work-around for
now.

Stefan



More information about the lxml-dev mailing list