develooper Front page | perl.perl5.porters | Postings from January 2003

Re: [perl #19582] [PATCH bleedperl] bad overload copy constructor segfaults

Thread Previous | Thread Next
John Peacock
January 1, 2003 12:13
Re: [perl #19582] [PATCH bleedperl] bad overload copy constructor segfaults
Message ID:
Rick Delaney wrote:
> Please note "Attempt to free unreferenced scalar" warnings from new tests.
> I don't know how to fix those.

Oddly enough, I just ran up against the same warning message (only occurs if 
PERL_DESTRUCTION_LEVEL==2) while trying to get the next phase of version objects 
going.  I'm getting it from op/stash.t once I create a version object for 
PL_patchlevel; it's not in my code, so it has to be in the overload code itself, 
which is going to make it a bear to find.

Is there any way to dump out the scalar just prior to destructions, since I 
cannot use sv_dump() during the global destruction phase?


John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About