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

[perl #74542] 5.12.0 crash on diverse platforms

Thread Previous | Thread Next
From:
Daniel Pfeiffer
Date:
April 21, 2010 05:36
Subject:
[perl #74542] 5.12.0 crash on diverse platforms
Message ID:
rt-3.6.HEAD-6227-1271808218-1880.74542-75-0@perl.org
# New Ticket Created by  Daniel Pfeiffer 
# Please include the string:  [perl #74542]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74542 >


One of the utilities of makepp SEGVs in the regression test on each of Linux 
x86 and Win (both ActiveState) and Solaris 10 Sparc self compiled as 32bit. 
This last worked with CPAN testers on i86pc-solaris-V5.11.5.

I have narrowed it down to the following little test:

#!/usr/bin/perl -w

sub f {
   lstat '/';
   -d _;
}

$_ = split /x/, f;

The context split (with any regexp) is needed, though it crashes in -d _.

#0  0x0810f3fb in Perl_pp_ftrowned ()
#1  0x080cb352 in Perl_runops_standard ()
#2  0x08074af2 in S_run_body ()
#3  0x0807498a in perl_run ()
#4  0x08060ded in main ()

Besides a fix for future versions, I am desperate for a workaround ;-)

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                     http://lernu.net  /  http://ikurso.net


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