Re: [xml] xmlParseDoc in thread => Segfault




Is anybody having any input on that case?

Did you call xmlInitParser() first?  You should probably do this in your
main() function before spawning any threads.

No. which didn't solve the  problem as it was of anoter nature.
The application was linked statically, which was the bug. Somehow static 
linking broke several things, including libxml2 usage.

So the problem was - of cause - not related to libxml2 as such.

Morten W. Jørgensen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]