[lxml-dev] Proxy AssertionError in threaded tree traversal

Holger Joukl Holger.Joukl at LBBW.de
Wed Feb 21 17:46:34 CET 2007


Hi,

"Holger Joukl" <Holger.Joukl at LBBW.de> schrieb am 16.02.2007 15:48:21:

> Stefan, thanks for your efforts, I plan to do this next week.
> So far we've identified at least one double-free bug in another extension
> module,
> don't know in what evil ways this might corrupt the memory (aside from
the
> eventual
> segfault/bus errors we have seen).
> I'll try to come up with some threaded program that will consistently
> produce
> the lxml AssertionError first.

I guess I'm too late with this as 1.2 is out with the patch included
(congrats,
by the way :)
But I'm still failing to reproduce the AssertionErrors without the patch,
so I am
not really able to verify it with some sort of unittest or minimal example.
But as it locks the critical section I'd say this does prevent any
threading-related hazards to the element registry.

Thanks,
Holger

Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde,
verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail
sodann. Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht
gestattet. Die Sicherheit von Übermittlungen per E-Mail kann nicht
garantiert werden. Falls Sie eine Bestätigung wünschen, fordern Sie bitte
den Inhalt der E-Mail als Hardcopy an.

The contents of this  e-mail are confidential. If you are not the named
addressee or if this transmission has been addressed to you in error,
please notify the sender immediately and then delete this e-mail.  Any
unauthorized copying and transmission is forbidden. E-Mail transmission
cannot be guaranteed to be secure. If verification is required, please
request a hard copy version.

Landesbank Baden-Württemberg
Anstalt des öffentlichen Rechts
Hauptsitze: Stuttgart, Karlsruhe, Mannheim




More information about the lxml-dev mailing list