develooper Front page | perl.perl5.porters | Postings from May 2013

[perl #118139] Storable in DESTROY blocks

Thread Previous | Thread Next
From:
Reini Urban via RT
Date:
May 23, 2013 16:42
Subject:
[perl #118139] Storable in DESTROY blocks
Message ID:
rt-3.6.HEAD-2650-1369327348-980.118139-15-0@perl.org
Attached is a revised patch. 
Improved the doc and revise the testcase to produce the SEGV.

The problem is not the DESTROY block per se, but DESTROY being called 
during global destruction.

> But my testcase is too optimized to reproduce the bug.
> It fails with the last line changed to:
> 
> - foo->new();
> + $x = foo->new();


-- 
Reini Urban

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118139

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