# New Ticket Created by Bob Rogers
# Please include the string: [perl #58054]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58054 >
Running t/op/exceptions.t:30 segfaults using the switched core
("parrot -S"). The same test fails in the CGP core [see RT#58044], but
in a different place.
-- Bob Rogers
http://rgrjr.dyndns.org/
------------------------------------------------------------------------
(gdb) r -S t/op/exceptions_30.pir
Starting program: /usr/src/parrot/parrot -S t/op/exceptions_30.pir
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1228425520 (LWP 19840)]
warning: Lowest section in /usr/lib/libicudata.so.34 is .hash at 000000b4
Before throwing
In the exception handler
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228425520 (LWP 19840)]
0xb7c0d709 in prederef_args (pc_prederef=0x8230124, interp=0x8050040,
pc=0x8230c9c, opinfo=0xb7ef9480) at src/interpreter.c:154
(gdb) bt
#0 0xb7c0d709 in prederef_args (pc_prederef=0x8230124, interp=0x8050040,
pc=0x8230c9c, opinfo=0xb7ef9480) at src/interpreter.c:154
#1 0xb7c0dbb0 in do_prederef (pc_prederef=0x8230124, interp=0x8050040, type=2)
at src/interpreter.c:278
#2 0xb7bc729e in switch_core (cur_op=0x8230100, interp=0x8050040) at
src/ops/core.ops:142
#3 0xb7c0e511 in runops_switch (interp=0x8050040, pc=0x8230c78) at
src/interpreter.c:821
#4 0xb7c0e749 in runops_int (interp=0x8050040, offset=0) at
src/interpreter.c:933
#5 0xb7c0f023 in runops (interp=0x8050040, offs=0) at src/inter_run.c:101
#6 0xb7c0f2d6 in runops_args (interp=0x8050040, sub=0x8215884, obj=0x809ea18,
meth_unused=0x0, sig=0xb7e6efa7 "vP", ap=0xbf87281c
"hX!\bX(\207\xBF`齣経\002\005\bhX!\b\204X!\b\xF4?鏃X(\207\xBF 箏@") at
src/inter_run.c:223
#7 0xb7c0f40c in Parrot_runops_fromc_args (interp=0x8050040, sub=0x8215884,
sig=0xb7e6efa7 "vP") at src/inter_run.c:295
#8 0xb7bf84c7 in Parrot_runcode (interp=0x8050040, argc=1, argv=0xbf87298c) at
src/embed.c:951
#9 0xb7e4a0c2 in imcc_run_pbc (interp=0x8050040, obj_file=0, output_file=0x0,
argc=1, argv=0xbf87298c) at compilers/imcc/main.c:783
#10 0xb7e4ab72 in imcc_run (interp=0x8050040, sourcefile=0xbf874358
"t/op/exceptions_30.pir", argc=1, argv=0xbf87298c) at compilers/imcc/main.c:1071
#11 0x08048998 in main (argc=1, argv=0xbf87298c) at src/main.c:61
(gdb)