# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #59886]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59886 >


Hello,

with r31926 the pcre.t tests fails due to a segfault:

(gdb) run pcre.pir
Starting program: /home/moritz/src/parrot/parrot pcre.pir
[Thread debugging using libthread_db enabled]
[New Thread -1232648512 (LWP 21873)]
warning: Lowest section in /usr/lib/libicudata.so.36 is .hash at 000000b4
ok 1
ok 2

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232648512 (LWP 21873)]
0xb7d4881b in compact_pool (interp=0x90fd048, pool=0x90fda48)
    at src/gc/resources.c:475
475                             memcpy(cur_spot, PObj_bufstart(b),
PObj_buflen(b
));
(gdb) bt
#0  0xb7d4881b in compact_pool (interp=0x90fd048, pool=0x90fda48)
    at src/gc/resources.c:475
#1  0xb7d48a7d in Parrot_go_collect (interp=0x90fd048)
    at src/gc/resources.c:566
#2  0xb7beb984 in Parrot_dod_ms_run (interp=0x90fd048, flags=1)
    at src/gc/dod.c:1137
#3  0xb7beba9a in Parrot_do_dod_run (interp=0x90fd048, flags=1)
    at src/gc/dod.c:1190
#4  0xb7bed4f8 in more_traceable_objects (interp=0x90fd048, pool=0x911db68)
    at src/gc/smallobject.c:163
#5  0xb7bed5da in gc_ms_get_free_object (interp=0x90fd048, pool=0x911db68)
    at src/gc/smallobject.c:245
#6  0xb7bf03ac in get_free_buffer (interp=0x90fd048, pool=0x911db68)
    at src/headers.c:101
#7  0xb7bf09ee in new_string_header (interp=0x90fd048, flags=393472)
    at src/headers.c:444
#8  0xb7b6ff87 in Parrot_make_COW_reference (interp=0x90fd048, s=0x91da340)
    at src/string.c:141
#9  0xb7b71484 in string_copy (interp=0x90fd048, s=0x91da340)
    at src/string.c:975
#10 0xb7b92ee1 in Parrot_set_s_sc (cur_opcode=0x91de470, interp=0x90fd048)
    at src/ops/set.ops:156
#11 0xb7c3958c in runops_slow_core (interp=0x90fd048, pc=0x91de470)
---Type <return> to continue, or q <return> to quit---
    at src/runops_cores.c:222
#12 0xb7bf9199 in runops_int (interp=0x90fd048, offset=0)
    at src/interpreter.c:937
#13 0xb7bf9a3f in runops (interp=0x90fd048, offs=0) at src/inter_run.c:101
#14 0xb7bf9ce4 in runops_args (interp=0x90fd048, sub=0x918a884,
obj=0x9165e20,
    meth_unused=0x0, sig=0xb7ed82e7 "vP",
    ap=0xbf9c9aec
"h�\030\t(\233\234�\220\020��017\th�\030\t\204�\030\t̾�\233\234��\035��017\t\001")
at src/inter_run.c:236
#15 0xb7bf9e1c in Parrot_runops_fromc_args (interp=0x90fd048,
sub=0x918a884,
    sig=0xb7ed82e7 "vP") at src/inter_run.c:300
#16 0xb7bdfb57 in Parrot_runcode (interp=0x90fd048, argc=1, argv=0xbf9c9c48)
    at src/embed.c:951
#17 0xb7eb1da4 in imcc_run_pbc (interp=0x90fd048, obj_file=0,
output_file=0x0,
    argc=1, argv=0xbf9c9c48) at compilers/imcc/main.c:791
#18 0xb7eb2852 in imcc_run (interp=0x90fd048,
    sourcefile=0xbf9cbbd2 "pcre.pir", argc=1, argv=0xbf9c9c48)
    at compilers/imcc/main.c:1079
#19 0x08048928 in main (argc=1, argv=0xbf9c9c48) at src/main.c:61

This is on Debian 4.0 Etch, 32 bit.

Moritz

-- 
Moritz Lenz
http://perlgeek.de/ |  http://perl-6.de/ | http://sudokugarden.de/

Reply via email to