On Wed, Nov 13, 2002 at 02:31:03PM +0800, Peter N Lewis wrote:
> >The following code ends up with an error (segmentation fault):
> >
> >     $_ = 'x' x 1000;
> >     /(a.|.){2,}/o;
> >
> >The segmentation fault seems to happen only when the searched text 
> >($_ in this example) is longer than 855 characters.

> Yep, the same thing happens in perl 5.8.0 under Mac OS X 10.2.1, 
> except it happens when it is longer than 927 characters.
> 
> Looks like quite a robust bug.  I wonder if it is even Mac OS X specific.

Nope. Happens at different lengths on 2 debian linux boxes:
     
     unstable w/perl 5.8.0, @ 4502
     stable w/perl   5.6.1 @ 30830

Quite a difference there! 

rick

Reply via email to