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

Re: [perl #21347] segfault in UNIVERSAL::AUTOLOAD

Thread Previous | Thread Next
From:
Enache Adrian
Date:
April 6, 2003 15:26
Subject:
Re: [perl #21347] segfault in UNIVERSAL::AUTOLOAD
Message ID:
20030406222300.GA9582@ratsnest.hole
On Sun, Apr 06, 2003 at 10:35:41PM +0100, Nicholas Clark wrote:
> Do most of these tests crash correctly (prior to bugfix) if run in a new
> perl using the runperl function in test.pl ?

There are only two in fact, and both crash with my patch reverted.

run/crash..............................# Failed at run/crash.t line 11
run/crash..............................NOK 1Apr  7 01:01:52 ratsnest kernel: Out of Memory: Killed process 9180 (perl).
# Failed at run/crash.t line 14
run/crash..............................FAILED tests 1-2                      
        Failed 2/2 tests, 0.00% okay
(that's on linux)

The first needs the patch from
	http://nntp.perl.org/group/perl.perl5.porters/73807
too when run under t/TEST ( but not when run under t/harness )

and the second sometimes crashes immediately and sometimes eats up
all memory - that's quite typical for recursion cases - see the
message from Andreas Konig:
	http://nntp.perl.org/group/perl.perl5.porters/72342

I admit the patches for the first are rather dodging than fixing -
( so not the patch for qr// & Regexp::DESTROY )
Better ideas ?

Regards
Adi

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