threads - Re: Strange Error: PmmREFCNT_dec: REFCNT decremented below 0!

Posted on Tue Apr 15 17:15:54 2008 by ssinyagin in response to 7672 (See the whole thread of 5)
Re: Strange Error: PmmREFCNT_dec: REFCNT decremented below 0!
it's actually libxml2 that is not thread-safe. There's no workaround. I had to put semaphores around the LibXML calls, then it worked: See line 509 in http://torrus.cvs.sourceforge.net/torrus/src/bin/devdiscover.in?revision=1.15&view=markup
Direct Responses: 7676 | Write a response