Re: [xml] xmlParseDoc in thread => Segfault



On Fri, Oct 29, 2004 at 08:30:58AM +0200, Morten W. J. wrote:
It seems that :
xmlParseFile, in our case, cannot be called in a thread, although only that 
thread uses libXml(!!!, so it is probably not a thread problem in the common 
sense)

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.

hth,

Graham.

-- 
Graham Bennett



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