Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters
[perl #23907] Crash during global destruction with Storable and threads
 

Index | Next | Previous | View Flat


perlbug-followup at perl

Apr 30, 2012, 10:55 AM


Views: 84
Permalink
[perl #23907] Crash during global destruction with Storable and threads [In reply to]

On Mon Apr 30 00:33:22 2012, Hugmeir wrote:
>
> I just ran this on WinXP, with and without PERL_DESTRUCT_LEVEL=2, and it
> worked correctly both times. But I'm hardly a windows expert, so if
> someone else could confirm, we can mark this as resolved.
>
Rewrote it as
______________________________________________
use Perl::Destruct::Level level => 2;

use threads;
use Storable ();
sub freeze {
return Storable::freeze( \@_ );
}
#{ my $u=freeze(undef);}
my $thr = threads->new( sub {my $undef=freeze(undef)} );
sleep 5;
exit;
____________________________________________________

used on a DEBUGGING Perl 5.12 and ActivePerl 5.10. No OS level
exceptions in VS debugger in both.

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

Subject User Time
[perl #23907] Crash during global destruction with Storable and threads perlbug-followup at perl Apr 30, 2012, 12:33 AM
    [perl #23907] Crash during global destruction with Storable and threads perlbug-followup at perl Apr 30, 2012, 10:55 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.