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

pattern matching causes segfault.

Thread Next
From:
Stéphane Payrard
Date:
February 15, 2003 16:55
Subject:
pattern matching causes segfault.
Message ID:
20030216005544.GA4407@stefp.dyndns.org
It segfaults on a linux on an athlon with both the latest CVS and perl
5.8. The compiler is gcc 3.2.1. I don't have acess to other hardware.

One needs PerlQt 3.006 installed to run pqtapi which generates 13K
lines.  I have been able to recuce the program quite a lot but have
not been yet successful to find a small string to match that causes the
segfault.

open I, "pqtapi|" or die $!;
undef $/; 
$_  = <I>;
m/(?:.*\n)*?.*Q\(.*/;

--
 stef

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