develooper Front page | perl.perl5.porters | Postings from March 2006

[perl #28999] Segmentation fault at m// regexp

From:
Steve Peters via RT
Date:
March 29, 2006 09:59
Subject:
[perl #28999] Segmentation fault at m// regexp
Message ID:
rt-3.0.11-28999-131664.6.00599496720946@perl.org
> [dsambor - Tue Apr 20 09:18:54 2004]:
> 
> This is a bug report for perl from dsambor@istra.ru,
> generated with the help of perlbug 1.33 running under perl v5.6.1.
> (The bug is also tested in v5.8.0, RH9.0. -- Dmitry Samborsky)
> 
> #! /usr/bin/perl -w
> my $lindex =  14000; # 14 -- works fine
> my $seq = 'AA-'x(8000);
> $seq =~ m/((-*[^\-]){$lindex})/; # find letter position (take in
>    account
> gaps)
> ##### Segmentation fault #####
> print "match: $1\n";

With change #27598, this problem has been resolved.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About