develooper Front page | perl.perl5.porters | Postings from July 2005

[perl #23965] Data::Dumper + threads + recursion = segfault

Thread Next
From:
Michael G Schwern via RT
Date:
July 14, 2005 01:58
Subject:
[perl #23965] Data::Dumper + threads + recursion = segfault
Message ID:
rt-3.0.11-23965-117322.10.2770330102281@perl.org
> [davem - Tue Sep 23 17:09:43 2003]:
> 
> On Mon, Sep 22, 2003 at 05:01:19PM -0000, David Buckley wrote:
> > use threads;
> > use threads::shared;
> > use Data::Dumper;
> > our $a : shared;
> > $a = \$a;
> > print Data::Dumper::Dumper( $a );
> > 
> > This produces a short pause, then a segfault.
> 
> The segfault is due to stack or memory exhaustion caused by infinite
> recursion. The problem is due to the 'proxy' per-thread variables
> failing to detect a loop caused by mg_get().

This is still an issue in bleadperl@25129.


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