Package: perl Version: 5.8.7-7 Followup-For: Bug #180771 Here's a backtrace.
$ gdb debugperl GNU gdb 6.3-debian ... (gdb) run -le 'if((1 x shift)!~/^(11+)\1+$/){print"prime"}else{print"non-prime"}' 57667 Starting program: /usr/bin/debugperl -le 'if((1 x shift)!~/^(11+)\1+$/){print"prime"}else{print"non-prime"}' 57667 [Thread debugging using libthread_db enabled] [New Thread -1210399040 (LWP 3417)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210399040 (LWP 3417)] 0x08164cd0 in S_regmatch (my_perl=0x81b1008, prog=0x81dc67c) at regexec.c:2861 2861 regexec.c: No such file or directory. in regexec.c (gdb) bt #0 0x08164cd0 in S_regmatch (my_perl=0x81b1008, prog=0x81dc67c) at regexec.c:2861 #1 0x08166917 in S_regmatch (my_perl=0x81b1008, prog=0x81dc67c) at regexec.c:3323 #2 0x08166917 in S_regmatch (my_perl=0x81b1008, prog=0x81dc67c) at regexec.c:3323 #3 0x08166917 in S_regmatch (my_perl=0x81b1008, prog=0x81dc67c) at regexec.c:3323 ... last line repeats until ... #7167 0x08166917 in S_regmatch (my_perl=0x81b1008, prog=0x81dc67c) at regexec.c:3323 #7168 0x08165dd7 in S_regmatch (my_perl=0x81b1008, prog=0x81dc684) at regexec.c:3207 #7169 0x08165b9a in S_regmatch (my_perl=0x81b1008, prog=0x81dc66c) at regexec.c:3151 #7170 0x081694cb in S_regmatch (my_perl=0x81b1008, prog=0x81dc64c) at regexec.c:3818 #7171 0x081619fa in S_regtry (my_perl=0x81b1008, prog=0x81dc608, startpos=0x821f008 '1' <repeats 200 times>...) at regexec.c:2196 #7172 0x0815fe6f in Perl_regexec_flags (my_perl=0x81b1008, prog=0x81dc608, stringarg=0x821f008 '1' <repeats 200 times>..., strend=0x822d14b "", strbeg=0x821f008 '1' <repeats 200 times>..., minend=0, sv=0x81d2bf0, data=0x0, flags=3) at regexec.c:1750 #7173 0x080e98c7 in Perl_pp_match (my_perl=0x81b1008) at pp_hot.c:1340 #7174 0x080cbf3f in Perl_runops_debug (my_perl=0x81b1008) at dump.c:1452 #7175 0x08065ab1 in S_run_body (my_perl=0x81b1008, oldscope=1) at perl.c:2000 #7176 0x080654c3 in perl_run (my_perl=0x81b1008) at perl.c:1919 #7177 0x080600ba in main (argc=4, argv=0xbff78214, env=0xbff78228) at perlmain.c:98 HTH, dam -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13+reiser4+dam.1 Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Versions of packages perl depends on: ii libc6 2.3.5-7 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-20 Berkeley v4.2 Database Libraries [ ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime ii perl-base 5.8.7-7 The Pathologically Eclectic Rubbis ii perl-modules 5.8.7-7 Core Perl modules Versions of packages perl recommends: ii perl-doc 5.8.7-7 Perl documentation -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]