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


I'm getting a crash on Mac OS X on test 17 of 
languages/imcc/t/syn/macro.t, which is trying to detect an unterminated 
macro. I don't see the problem right off, but here's the backtrace, in 
case the problem is obvious to someone more familiar with this section 
of the code:


Program received signal EXC_BAD_ACCESS, Could not access memory.
0x90000e60 in strlen ()
(gdb) bt
#0  0x90000e60 in strlen ()
#1  0x0000ef6c in str_dup (old=0x7b3000 <Address 0x7b3000 out of 
bounds>) at imc.c:1025
#2  0x0000b214 in yylex_skip (valp=0xbffff2f4, interp=0x73e400, 
skip=0x1a65d8 " \n") at languages/imcc/imcc.l:513
#3  0x0000b2a4 in read_params (valp=0x0, interp=0x73e400, 
params=0x1ea8b4, macro_name=0x75cb90 "M", need_id=1) at 
languages/imcc/imcc.l:526
#4  0x0000b650 in read_macro (valp=0xbffff434, interp=0x73e400) at 
languages/imcc/imcc.l:592
#5  0x00007ce8 in yylex (valp=0xbffff434, interp=0x73e400) at 
languages/imcc/imcc.l:240
#6  0x00002eb4 in yyparse (interp=0x73e400) at imcparser.c:1495
#7  0x0001ea20 in main (argc=1, argv=0xbffffc14) at main.c:470
#8  0x00002098 in _start (argc=2, argv=0xbffffc10, envp=0xbffffc1c) at 
/SourceCache/Csu/Csu-45/crt.c:267
#9  0x00001f18 in start ()


JEff



Reply via email to