Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 34255
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: nstraz [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PmmREFCNT_dec: REFCNT decremented below 0! during global destruction.
Date: Wed, 19 Mar 2008 14:53:47 -0400
To: bug-XML-LibXML [...] rt.cpan.org
From: nstraz [...] redhat.com (Nathan Straz)
I found this when I started to use threads in a program that used XML::LibXML for something completely separate from the reason I wanted to use threads. It seems that if there is a reference to a DOM in another package, when I try to join my threads I get $subject. I worked out a minimal test case which fails 70% of the time. Nate

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #34255] AutoReply: PmmREFCNT_dec: REFCNT decremented below 0! during global destruction.
Date: Wed, 19 Mar 2008 14:56:47 -0400
To: Bugs in XML-LibXML via RT <bug-XML-LibXML [...] rt.cpan.org>
From: nstraz [...] redhat.com (Nathan Straz)
I probably should note I'm running perl-XML-LibXML-1.58-5 from RHEL5. I did try 1.65 which I recompiled from Fedora 8/9 and hit the same issue. Nate
Subject: Re: [rt.cpan.org #34255] AutoReply: PmmREFCNT_dec: REFCNT decremented below 0! during global destruction.
Date: Mon, 20 Oct 2008 16:20:19 -0400
To: Bugs in XML-LibXML via RT <bug-XML-LibXML [...] rt.cpan.org>
From: nstraz [...] redhat.com (Nathan Straz)
I tried out 1.66 and my test case works there. Nate
Your test seems to work in SVN version too, closing. (See also t/90threads.t for similar regression tests).