On Feb 16, 2008 2:28 PM, chromatic <[EMAIL PROTECTED]> wrote:
> On Saturday 16 February 2008 10:46:14 James Keenan via RT wrote:
>
> > Binary searching.  Fails in r25613, Feb 10, so problem started before then.
>
> Can either of you post a backtrace for the segfault?
>
> -- c
>

See attached.



-- 
Will "Coke" Coleda
(gdb) run t/compilers/imcc/syn/macro_21.pir
Starting program: /Users/coke/research/parrot/parrot 
t/compilers/imcc/syn/macro_21.pir
Reading symbols for shared libraries ..++++ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0050d033
0x010c0276 in getstring_va (interp=0x3003e0, size=0, obj=0xbffff0b0) at 
src/spf_vtable.c:321
321                 return cstr2pstr(cstr);
(gdb) bt
#0  0x010c0276 in getstring_va (interp=0x3003e0, size=0, obj=0xbffff0b0) at 
src/spf_vtable.c:321
#1  0x010bfbef in Parrot_sprintf_format (interp=0x3003e0, pat=0x4eca6c, 
obj=0xbffff0b0) at src/spf_render.c:806
#2  0x0108f8f2 in Parrot_vsprintf_s (interp=0x3003e0, pat=0x4eca6c, 
args=0xbffff170 "P\004\020") at src/misc.c:68
#3  0x0108f966 in Parrot_vsprintf_c (interp=0x3003e0, pat=0x12aaccc "End of 
file reached while reading arguments in '%s'", args=0xbffff16c "3ÐP") at 
src/misc.c:89
#4  0x0123b0dc in IMCC_fataly (interp=0x3003e0, code_unused=18, fmt=0x12aaccc 
"End of file reached while reading arguments in '%s'") at 
compilers/imcc/debug.c:71
#5  0x0122fcfc in read_params (valp=0x0, interp=0x3003e0, params=0x318e14, 
macro_name=0x50d033 <Address 0x50d033 out of bounds>, need_id=0, 
yyscanner=0x312180) at compilers/imcc/imcc.l:897
#6  0x01230621 in expand_macro (valp=0xbffff960, interp=0x3003e0, name=0x50d033 
<Address 0x50d033 out of bounds>, yyscanner=0x312180) at 
compilers/imcc/imcc.l:1139
#7  0x0122c77d in yylex (valp=0xbffff960, yyscanner=0x312180, interp=0x3003e0) 
at compilers/imcc/imcc.l:537
#8  0x01224d80 in yyparse (yyscanner=0x312180, interp=0x3003e0) at 
compilers/imcc/imcparser.c:2601
#9  0x012331ba in compile_to_bytecode (interp=0x3003e0, sourcefile=0xbffffc2f 
"t/compilers/imcc/syn/macro_21.pir", output_file=0x0) at 
compilers/imcc/main.c:951
#10 0x0123353e in imcc_run (interp=0x3003e0, sourcefile=0xbffffc2f 
"t/compilers/imcc/syn/macro_21.pir", argc=1, argv=0xbffffb94) at 
compilers/imcc/main.c:1051
#11 0x00001ebc in main (argc=1, argv=0xbffffb94) at src/main.c:56

Reply via email to