> [EMAIL PROTECTED] - Sat Aug 30 14:33:01 2003]: > > perl -wle '("1"x5683)=~ /^(11+)\1+$/' > > works ok > > perl -wle '("1"x 9973)=~ /^(11+)\1+$/' > Segmentation fault (core dumped) > > ulimit -a > core file size (blocks) unlimited > data seg size (kbytes) unlimited > file size (blocks) unlimited > max locked memory (kbytes) unlimited > max memory size (kbytes) unlimited > open files 1024 > pipe size (512 bytes) 8 > stack size (kbytes) 1048576 > cpu time (seconds) unlimited > max user processes 6143 > virtual memory (kbytes) unlimited
I can't reproduce with 5.8.0, 5.8.6 or bleadperl on OS X. I can reproduce on Debian 5.8.4 but I need to crank up the size a bit. $ perl -wle '("1"x 19973)=~ /^(11+)\1+$/' Segmentation fault I don't have a newer Perl on Linux to try out.