GNOME Bugzilla – Bug 121576
segfault when threading
Last modified: 2009-08-15 18:40:50 UTC
In our application we use the libxml++ saxparser in a separate thread and get a segmentation fault that seems to be thread-related. I have tried libxml++-0.25.0 together with libxml2-2.5.4, 2.5.7, 2.5.8 and 2.5.10. The problem is present only when using 2.5.8 and 2.5.10, which leads me to believe (I may be wrong) that the problem is in libxml2 and not in libxml++. Here is a backtrace: Program received signal SIGSEGV, Segmentation fault.
+ Trace 39992
Thread 16386 (LWP 1998)
I intend to try to reproduce this bug in a simple example.
Already fixed in CVS I think. Make sure you call the library initialization routine explicitely before running threaded operation xmlInitParser(); I can't debug libxml++ specific code so if you still need to report a problem, pure C code on top of the library please. Daniel *** This bug has been marked as a duplicate of 120870 ***
This should be closed by the release of libxml2-2.5.11, thanks! Daniel