On 3 Aug 2003, Luke Palmer wrote:

> This fix has worked fine with JIT until now, so I suspect the problem
> is elsewhere.
>

 Bug confirmed here (although I need a slightly longer string to trigger
 it). Here's a stacktrace:

 -----------------------------------------------------------------------

  Program received signal SIGSEGV, Segmentation fault.
0x0809c215 in Parrot_exec_add_text_rellocation (obj=0x50, nptr=0x820c94c
"",
    type=2, symbol=0x815ab88 "interpre", disp=-4) at exec.c:233
233         new_relloc = mem_sys_realloc(obj->text_rellocation_table,
(gdb) bt
#0  0x0809c215 in Parrot_exec_add_text_rellocation (obj=0x50,
    nptr=0x820c94c "", type=2, symbol=0x815ab88 "interpre", disp=-4)
    at exec.c:233
#1  0x080a9dbc in Parrot_jit_begin (jit_info=0x8209960,
interpreter=0x819ed98)
    at include/parrot/jit_emit.h:2520
#2  0x080a6919 in build_asm (interpreter=0x819ed98, pc=0x82098e8,
    code_start=0x82098e8, code_end=0x8209920, objfile=0x0) at jit.c:1020
#3  0x0806169d in runops_jit (interpreter=0x819ed98, pc=0x82098e8)
    at interpreter.c:438
#4  0x080619b9 in runops_int (interpreter=0x819ed98, offset=0)
    at interpreter.c:591
#5  0x08061a1b in runops_ex (interpreter=0x819ed98, offset=0)
    at interpreter.c:607
#6  0x08061b1d in runops (interpreter=0x819ed98, offset=0) at
interpreter.c:643
#7  0x080d5089 in Parrot_runcode (interpreter=0x819ed98, argc=1,
    argv=0xbffff39c) at embed.c:377

 ------------------------------------------------------------------

 Simon

Reply via email to