develooper Front page | perl.perl5.porters | Postings from March 2001

Re: my purify runs with 5.6.1-to-be

Thread Previous | Thread Next
From:
Radu Greab
Date:
March 16, 2001 15:29
Subject:
Re: my purify runs with 5.6.1-to-be
Message ID:
15026.41432.881763.189899@ix.netsoft.ro
On Fri, 16 Mar 2001 15:03 -0800, Gurusamy Sarathy wrote:
 > However, it does seem to have the problem that HvPMROOT is not
 > invalidated correctly if the head of the chain goes away.

Indeed, a lot of tests started to fail with my patch. But your
original patch with my first suggestion

 clear_pmop:
+	{
+	    HV *pmstash = PmopSTASH(cPMOPo);
+	    if (pmstash && SvREFCNT(pmstash)) {

fixes the core dumps on Alpha and Linux, even the last test case found 
by Vadim.


Thanks,
Radu Greab

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About