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

Stefan Behnel stefan_ml at behnel.de
Thu Jul 31 20:13:17 CEST 2008


Hi,

John Krukoff wrote:
> Okay, can only get it to crash when first signing a document using
> libxmlsec, so I suppose I'll simply assume that the two libraries use
> the error log in incompatible ways.
> 
> I'll work around it by signing the document in a separate process, I
> think.

That should work, yes. However, I think in the specific case of libxslt, I
might be able to make the error logging setup local to an XSLT call. It should
not be needed anywhere else, so this would reduce the chance for collisions.

Thanks for the report anyway, at least it made me aware of such problems.

BTW, since you are using libxmlsec (which I never needed), how do you use it
together with lxml? (Assuming that it doesn't crash, that is...) Do you think
there is space left for a tighter integration, or does your current usage
match your use case (well enough)?

Stefan



More information about the lxml-dev mailing list