core 1:
LD_LIBRARY_PATH=/home/hops/src/skw/perl/perl5.005_03gcc:/home/hops/src/skw/perl/perl5.005_03gcc:/usr/local/lib
 debug -ic configpm tmp
Warning: No debugging information in miniperl
New program miniperl (process p1) created
HALTED p1 [main in miniperlmain.c]
        0x8048e6b (main+3:)             subl    $0x10, %esp
dbg> run
Warning: No debugging information in miniperl
New program miniperl (process p1) created
HALTED p1 [main in miniperlmain.c]
        0x8048e6b (main+3:)             subl    $0x10, %esp
dbg> run
Error: Top stack frame invalid, program counter out of range
Warning: Stack adjusted to start with previous frame
SIGNALED 11 (segv) in p1 [Perl_sv_setpvn in sv.c]
        0xbff38393 (Perl_sv_setp+171:)  movl    16(%ebp), %eax
dbg> regs          
Register Contents for p1, program miniperl
%eax    0x00000004      %ecx    0x08063398      %edx    0x937fa43e
%ebx    0xbff7a442      %esp    0x08047504      %ebp    0x0804752c
%esi    0x08063374      %edi    0x00000004      %eip    0xbff38393
%eflags 0x00110292      %cs     0x00000017      %ss     0x0000001f
%ds     0x0000001f      %es     0x0000001f      %fs     0x00000000
%gs     0x00000000      %fpsw   0xffff0020      %fpcw   0xffff137f
%fpip   0xbff359f6      %fpdp   0x08063b50
%st0 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st1 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st2 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st3 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st4 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st5 [ EMPTY ] 0x3ffe 8000 0000 0000 0000 ==    0.5
%st6 [ EMPTY ] 0x4001 a029 34ac aff6 d000 ==    5.00502999999999965
%st7 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
dbg> dis -c 20 %loc          
Disassembly for p1, Program miniperl
        0xbff38393 (Perl_sv_setp+171:)  movl    16(%ebp), %eax
        0xbff38396 (Perl_sv_setp+174:)  movb    $0x0, (%eax,%esi,1)
        0xbff3839a (Perl_sv_setp+178:)  addl    $0x10, %esp
        0xbff3839d (Perl_sv_setp+181:)  movl    (%edi), %eax
        0xbff3839f (Perl_sv_setp+183:)  movl    16(%ebp), %edx
        0xbff383a2 (Perl_sv_setp+186:)  movl    %edx, 4(%eax)
        0xbff383a5 (Perl_sv_setp+189:)  andl    $0xe8f0ffff, 8(%edi)
        0xbff383ac (Perl_sv_setp+196:)  orl     $0x4040000, 8(%edi)
        0xbff383b3 (Perl_sv_setp+203:)  movl    580(%ebx), %edx
        0xbff383b9 (Perl_sv_setp+209:)  cmpb    $0x0, (%edx)
        0xbff383bc (Perl_sv_setp+212:)  je      +0x19 <bff383d7> [ Perl_sv_setpvn ]
        0xbff383be (Perl_sv_setp+214:)  movl    1208(%ebx), %eax
        0xbff383c4 (Perl_sv_setp+220:)  cmpb    $0x0, (%eax)
        0xbff383c7 (Perl_sv_setp+223:)  je      +0xe <bff383d7> [ Perl_sv_setpvn ]
        0xbff383c9 (Perl_sv_setp+225:)  cmpb    $0x0, (%edx)
        0xbff383cc (Perl_sv_setp+228:)  je      +0x9 <bff383d7> [ Perl_sv_setpvn ]
        0xbff383ce (Perl_sv_setp+230:)  addl    $0xfffffff4, %esp
        0xbff383d1 (Perl_sv_setp+233:)  pushl   %edi
        0xbff383d2 (Perl_sv_setp+234:)  call    +0xfffbaadd <bfef2eb4>
        0xbff383d7 (Perl_sv_setp+239:)  leal    -24(%ebp), %esp
dbg> dis -c40 0xbff3837b
Disassembly for p1, Program miniperl
        0xbff3837b (Perl_sv_setp+147:)  addl    $0x10, %esp
        0xbff3837e (Perl_sv_setp+150:)  movl    (%edi), %eax
        0xbff38380 (Perl_sv_setp+152:)  movl    (%eax), %esi
        0xbff38382 (Perl_sv_setp+154:)  addl    $0xfffffffc, %esp
        0xbff38385 (Perl_sv_setp+157:)  movl    16(%ebp), %eax
        0xbff38388 (Perl_sv_setp+160:)  pushl   %eax
        0xbff38389 (Perl_sv_setp+161:)  movl    12(%ebp), %edx
        0xbff3838c (Perl_sv_setp+164:)  pushl   %edx
        0xbff3838d (Perl_sv_setp+165:)  pushl   %esi
        0xbff3838e (Perl_sv_setp+166:)  call    +0xfffba4e1 <bfef2874>
->      0xbff38393 (Perl_sv_setp+171:)  movl    16(%ebp), %eax
        0xbff38396 (Perl_sv_setp+174:)  movb    $0x0, (%eax,%esi,1)
        0xbff3839a (Perl_sv_setp+178:)  addl    $0x10, %esp
        0xbff3839d (Perl_sv_setp+181:)  movl    (%edi), %eax
        0xbff3839f (Perl_sv_setp+183:)  movl    16(%ebp), %edx
        0xbff383a2 (Perl_sv_setp+186:)  movl    %edx, 4(%eax)
        0xbff383a5 (Perl_sv_setp+189:)  andl    $0xe8f0ffff, 8(%edi)
        0xbff383ac (Perl_sv_setp+196:)  orl     $0x4040000, 8(%edi)
        0xbff383b3 (Perl_sv_setp+203:)  movl    580(%ebx), %edx
        0xbff383b9 (Perl_sv_setp+209:)  cmpb    $0x0, (%edx)
        0xbff383bc (Perl_sv_setp+212:)  je      +0x19 <bff383d7> [ Perl_sv_setpvn ]
        0xbff383be (Perl_sv_setp+214:)  movl    1208(%ebx), %eax
        0xbff383c4 (Perl_sv_setp+220:)  cmpb    $0x0, (%eax)
        0xbff383c7 (Perl_sv_setp+223:)  je      +0xe <bff383d7> [ Perl_sv_setpv]

core 2 ----------------------------------------------------------------

Iteration 2:

 LD_LIBRARY_PATH=/home/hops/src/skw/perl/perl5.005_03gcc:/home/hops/src/skw/perl/perl5.005_03gcc:/usr/local/lib
     debug -ic ./miniperl -w -Ilib -MExporter -e 0
Error: No process
Warning: No debugging information in ./miniperl
New program miniperl (process p1) created
HALTED p1 [main in miniperlmain.c]
        0x8048e6b (main+3:)             subl    $0x10, %esp
dbg> run
Error: Top stack frame invalid, program counter out of range
Warning: Stack adjusted to start with previous frame
SIGNALED 11 (segv) in p1 [Perl_sv_setpv in sv.c]
        0xbff384ee (Perl_sv_setp+190:)  addl    $0x10, %esp
dbg> regs
Register Contents for p1, program miniperl
%eax    0x00000004      %ecx    0x0804e1dc      %edx    0x937fa43e
%ebx    0xbff7a442      %esp    0x0804754c      %ebp    0x08047574
%esi    0x0804e1d0      %edi    0x00000000      %eip    0xbff384ee
%eflags 0x00110292      %cs     0x00000017      %ss     0x0000001f
%ds     0x0000001f      %es     0x0000001f      %fs     0x00000000
%gs     0x00000000      %fpsw   0xffff0100      %fpcw   0xffff137f
%fpip   0xbff35ad4      %fpdp   0x080508b0
%st0 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st1 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st2 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st3 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st4 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st5 [ EMPTY ] 0x3ffe 8000 0000 0000 0000 ==    0.5
%st6 [ EMPTY ] 0x3fff 8000 0000 0000 0000 ==    1
%st7 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
dbg> dis -c 20 %loc
Disassembly for p1, Program miniperl
        0xbff384ee (Perl_sv_setp+190:)  addl    $0x10, %esp
        0xbff384f1 (Perl_sv_setp+193:)  movl    (%esi), %eax
        0xbff384f3 (Perl_sv_setp+195:)  movl    %edi, 4(%eax)
        0xbff384f6 (Perl_sv_setp+198:)  andl    $0xe8f0ffff, 8(%esi)
        0xbff384fd (Perl_sv_setp+205:)  orl     $0x4040000, 8(%esi)
        0xbff38504 (Perl_sv_setp+212:)  movl    580(%ebx), %edx
        0xbff3850a (Perl_sv_setp+218:)  cmpb    $0x0, (%edx)
        0xbff3850d (Perl_sv_setp+221:)  je      +0x19 <bff38528> [ Perl_sv_setpv ]
        0xbff3850f (Perl_sv_setp+223:)  movl    1208(%ebx), %eax
        0xbff38515 (Perl_sv_setp+229:)  cmpb    $0x0, (%eax)
        0xbff38518 (Perl_sv_setp+232:)  je      +0xe <bff38528> [ Perl_sv_setpv ]
        0xbff3851a (Perl_sv_setp+234:)  cmpb    $0x0, (%edx)
        0xbff3851d (Perl_sv_setp+237:)  je      +0x9 <bff38528> [ Perl_sv_setpv ]
        0xbff3851f (Perl_sv_setp+239:)  addl    $0xfffffff4, %esp
        0xbff38522 (Perl_sv_setp+242:)  pushl   %esi
        0xbff38523 (Perl_sv_setp+243:)  call    +0xfffba98c <bfef2eb4>
        0xbff38528 (Perl_sv_setp+248:)  leal    -24(%ebp), %esp
        0xbff3852b (Perl_sv_setp+251:)  popl    %ebx
        0xbff3852c (Perl_sv_setp+252:)  popl    %esi
        0xbff3852d (Perl_sv_setp+253:)  popl    %edi
dbg> dis -c30 0xbff384d1
Disassembly for p1, Program miniperl
        0xbff384d1 (Perl_sv_setp+161:)  call    +0xfffb97ce <bfef1ca4>
        0xbff384d6 (Perl_sv_setp+166:)  addl    $0x10, %esp
        0xbff384d9 (Perl_sv_setp+169:)  addl    $0xfffffffc, %esp
        0xbff384dc (Perl_sv_setp+172:)  leal    1(%edi), %eax
        0xbff384df (Perl_sv_setp+175:)  pushl   %eax
        0xbff384e0 (Perl_sv_setp+176:)  movl    12(%ebp), %eax
        0xbff384e3 (Perl_sv_setp+179:)  pushl   %eax
        0xbff384e4 (Perl_sv_setp+180:)  movl    (%esi), %eax
        0xbff384e6 (Perl_sv_setp+182:)  movl    (%eax), %eax
        0xbff384e8 (Perl_sv_setp+184:)  pushl   %eax
        0xbff384e9 (Perl_sv_setp+185:)  call    +0xfffba386 <bfef2874>
->      0xbff384ee (Perl_sv_setp+190:)  addl    $0x10, %esp
        0xbff384f1 (Perl_sv_setp+193:)  movl    (%esi), %eax
        0xbff384f3 (Perl_sv_setp+195:)  movl    %edi, 4(%eax)
        0xbff384f6 (Perl_sv_setp+198:)  andl    $0xe8f0ffff, 8(%esi)
        0xbff384fd (Perl_sv_setp+205:)  orl     $0x4040000, 8(%esi)
        0xbff38504 (Perl_sv_setp+212:)  movl    580(%ebx), %edx
        0xbff3850a (Perl_sv_setp+218:)  cmpb    $0x0, (%edx)
        0xbff3850d (Perl_sv_setp+221:)  je      +0x19 <bff38528> [ Perl_sv_setpv ]
        0xbff3850f (Perl_sv_setp+223:)  movl    1208(%ebx), %eax
        0xbff38515 (Perl_sv_setp+229:)  cmpb    $0x0, (%eax)
        0xbff38518 (Perl_sv_setp+232:)  je      +0xe <bff38528> [ Perl_sv_setpv ]
        0xbff3851a (Perl_sv_setp+234:)  cmpb    $0x0, (%edx)
        0xbff3851d (Perl_sv_setp+237:)  je      +0x9 <bff38528> [ Perl_sv_setpv ]
        0xbff3851f (Perl_sv_setp+239:)  addl    $0xfffffff4, %esp

core 3 ----------------------------------------------------------------


LD_LIBRARY_PATH=/home/hops/src/skw/perl/perl5.005_03gcc:/home/hops/src/skw/perl/perl5.005_03gcc:/usr/local/lib \
 debug -ic ./perl TEST base/*.
dis: No such alias
Error: No process
Warning: No debugging information in ./perl
New program perl (process p1) created
HALTED p1 [main in miniperlmain.c]
        0x8048e6b (main+3:)             subl    $0x10, %esp
dbg> run
Error: Top stack frame invalid, program counter out of range
Warning: Stack adjusted to start with previous frame
SIGNALED 11 (segv) in p1 [Perl_scan_word in toke.c]
        0xbff0dac2 (Perl_scan_wo+14:)   addl    $0x6c982, %ebx
dbg> regs
Register Contents for p1, program perl
%eax    0x00000004      %ecx    0x0804e080      %edx    0x937fa43e
%ebx    0xbff7a442      %esp    0x08047094      %ebp    0x080470bc
%esi    0x08058380      %edi    0x00000004      %eip    0xbff0dac2
%eflags 0x00110292      %cs     0x00000017      %ss     0x0000001f
%ds     0x0000001f      %es     0x0000001f      %fs     0x00000000
%gs     0x00000000      %fpsw   0xffff4000      %fpcw   0xffff137f
%fpip   0xbff359f6      %fpdp   0x08061190
%st0 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st1 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st2 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st3 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st4 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
%st5 [ EMPTY ] 0x3ffe 8000 0000 0000 0000 ==    0.5
%st6 [ EMPTY ] 0x3fff 8000 0000 0000 0000 ==    1
%st7 [ EMPTY ] 0x0000 0000 0000 0000 0000 ==    0
Disassembly for p1, Program perl
        0xbff0dac2 (Perl_scan_wo+14:)   addl    $0x6c982, %ebx
        0xbff0dac8 (Perl_scan_wo+20:)   movl    8(%ebp), %esi
        0xbff0dacb (Perl_scan_wo+23:)   movl    12(%ebp), %ecx
        0xbff0dace (Perl_scan_wo+26:)   movl    %ecx, %edi
        0xbff0dad0 (Perl_scan_wo+28:)   addl    16(%ebp), %edi
        0xbff0dad3 (Perl_scan_wo+31:)   addl    $0xfffffffd, %edi
        0xbff0dad6 (Perl_scan_wo+34:)   movl    %edi, %edi
        0xbff0dad8 (Perl_scan_wo+36:)   cmpl    %edi, %ecx
        0xbff0dada (Perl_scan_wo+38:)   jb      +0x10 <bff0daec> [ Perl_scan_word ]
        0xbff0dadc (Perl_scan_wo+40:)   addl    $0xfffffff4, %esp
        0xbff0dadf (Perl_scan_wo+43:)   leal    -29252(%ebx), %eax
        0xbff0dae5 (Perl_scan_wo+49:)   pushl   %eax
        0xbff0dae6 (Perl_scan_wo+50:)   call    +0xfffe3e39 <bfef1924>
        0xbff0daeb (Perl_scan_wo+55:)   nop    
        0xbff0daec (Perl_scan_wo+56:)   movb    (%esi), %dl
        0xbff0daee (Perl_scan_wo+58:)   leal    -65(%edx), %eax
        0xbff0daf1 (Perl_scan_wo+61:)   cmpb    $0x19, %al
        0xbff0daf3 (Perl_scan_wo+63:)   jbe     +0x5b <bff0db50> [ Perl_scan_word ]
        0xbff0daf5 (Perl_scan_wo+65:)   leal    -97(%edx), %eax
        0xbff0daf8 (Perl_scan_wo+68:)   cmpb    $0x19, %al
dbg> dis -c 20 0xbff0dab4                    
Disassembly for p1, Program perl
        0xbff0dab4 (Perl_scan_wo+0:)    pushl   %ebp
        0xbff0dab5 (Perl_scan_wo+1:)    movl    %esp, %ebp
        0xbff0dab7 (Perl_scan_wo+3:)    subl    $0xc, %esp
        0xbff0daba (Perl_scan_wo+6:)    pushl   %edi
        0xbff0dabb (Perl_scan_wo+7:)    pushl   %esi
        0xbff0dabc (Perl_scan_wo+8:)    pushl   %ebx
        0xbff0dabd (Perl_scan_wo+9:)    call    +0xffffffee <bff0dab0>
->      0xbff0dac2 (Perl_scan_wo+14:)   addl    $0x6c982, %ebx
        0xbff0dac8 (Perl_scan_wo+20:)   movl    8(%ebp), %esi
        0xbff0dacb (Perl_scan_wo+23:)   movl    12(%ebp), %ecx
        0xbff0dace (Perl_scan_wo+26:)   movl    %ecx, %edi
        0xbff0dad0 (Perl_scan_wo+28:)   addl    16(%ebp), %edi
        0xbff0dad3 (Perl_scan_wo+31:)   addl    $0xfffffffd, %edi
        0xbff0dad6 (Perl_scan_wo+34:)   movl    %edi, %edi
        0xbff0dad8 (Perl_scan_wo+36:)   cmpl    %edi, %ecx
        0xbff0dada (Perl_scan_wo+38:)   jb      +0x10 <bff0daec> [ Perl_scan_word ]
        0xbff0dadc (Perl_scan_wo+40:)   addl    $0xfffffff4, %esp
        0xbff0dadf (Perl_scan_wo+43:)   leal    -29252(%ebx), %eax
        0xbff0dae5 (Perl_scan_wo+49:)   pushl   %eax
        0xbff0dae6 (Perl_scan_wo+50:)   call    +0xfffe3e39 <bfef1924

GDB:
Starting program: /home/hops/src/skw/perl/perl5.005_03gcc/miniperl configpm tmp

Program received signal SIGFPE, Arithmetic exception.
0xbff3580e in Perl_sv_upgrade ()
(gdb) info registers
eax            0x804f808        134543368
ecx            0x0      0
edx            0x1      1
ebx            0xbff7a444       -1074289596
esp            0x8047854        0x8047854
ebp            0x80478ac        0x80478ac
esi            0xbff7bdb0       -1074283088
edi            0x804797c        134510972
eip            0xbff3580e       0xbff3580e
eflags         0x110293 1114771
cs             0x17     23
ss             0x1f     31
ds             0x1f     31
es             0x1f     31
fs             0x0      0
gs             0x0      0
(gdb) x /20i $eip
0xbff3580e <Perl_sv_upgrade+1038>:      fstpl  0x10(%eax)
0xbff35811 <Perl_sv_upgrade+1041>:      
    jmp    0xbff35b44 <Perl_sv_upgrade+1860>
0xbff35816 <Perl_sv_upgrade+1046>:      movl   %edi,%edi
0xbff35818 <Perl_sv_upgrade+1048>:      addl   $0xfffffff4,%esp
0xbff3581b <Perl_sv_upgrade+1051>:      pushl  $0x20
0xbff3581d <Perl_sv_upgrade+1053>:      call   0xbff353d4 <my_safemalloc>
0xbff35822 <Perl_sv_upgrade+1058>:      movl   %eax,(%esi)
0xbff35824 <Perl_sv_upgrade+1060>:      
    jmp    0xbff35ab2 <Perl_sv_upgrade+1714>
0xbff35829 <Perl_sv_upgrade+1065>:      leal   0x0(%esi),%esi
0xbff3582c <Perl_sv_upgrade+1068>:      addl   $0xfffffff4,%esp
0xbff3582f <Perl_sv_upgrade+1071>:      pushl  $0x30
0xbff35831 <Perl_sv_upgrade+1073>:      call   0xbff353d4 <my_safemalloc>
0xbff35836 <Perl_sv_upgrade+1078>:      movl   %eax,(%esi)
0xbff35838 <Perl_sv_upgrade+1080>:      movl   0xfffffff0(%ebp),%edx
0xbff3583b <Perl_sv_upgrade+1083>:      movl   %edx,(%eax)
0xbff3583d <Perl_sv_upgrade+1085>:      movl   (%esi),%eax
0xbff3583f <Perl_sv_upgrade+1087>:      movl   0xffffffec(%ebp),%ecx
0xbff35842 <Perl_sv_upgrade+1090>:      movl   %ecx,0x4(%eax)
0xbff35845 <Perl_sv_upgrade+1093>:      movl   (%esi),%eax
0xbff35847 <Perl_sv_upgrade+1095>:      movl   0xffffffe8(%ebp),%edx
(gdb) 



