Re: [xml] Memory Leaks in parse3.c example



Chris Johnson wrote:

xmlNewGlobalState() is not available to break in

It has probably been inlined by the compiler.

xmlOnceInit() is never called therefore pthread_key_create is never called from xmlOnceInit().

I believe that we have found the problem. According to the following
URL you should link with -lpthread.

http://groups.google.dk/group/comp.programming.threads/msg/ac097ead118c41a6

Does 'xml2-config --libs' include -lpthread or not?



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