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


This test has recently begun to fail on Darwin/PPC.  (It continues to  
pass for me on Linux/i386.)

not ok 25 - unterminated macro 2

#   Failed test 'unterminated macro 2'
#   at t/compilers/imcc/syn/macro.t line 329.
#                   ''
#     doesn't match '/End of file reached/
# '
# './parrot   "33328/t/compilers/imcc/syn/macro_25.pir"' failed with  
exit code [SIGNAL 11]

This is failing at r33328 (2008-11-29 03:50:08 -0500 (Sat, 29 Nov  
2008)) and later revisions.  It was passing as recently as here:
Last Changed Rev: 33266
Last Changed Date: 2008-11-27 12:14:11 -0500 (Thu, 27 Nov 2008)

Note:  I reported this test as failing on 16 Feb 2008 in what is now  
http://rt.perl.org/rt3/Ticket/Display.html?id=50920.  However, it  
subsequently began to pass.  chromatic supplied a patch which got the  
test to pass as of 17 Feb 2008.  (That RT remains open because  
*other* tests in that test file continue to fail.)

backtrace:

$ gdb ./parrot
GNU gdb 6.1-20040303 (Apple version gdb-437) (Sun Dec 25 08:31:29 GMT  
2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for  
details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols  
for shared libraries ............ done

(gdb) run t/compilers/imcc/syn/macro_25.pir
Starting program: parrot t/compilers/imcc/syn/macro_25.pir
Reading symbols for shared libraries .+. 
+.................................................................++  
done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x004f3030
0x900031c8 in strlen ()
(gdb) bt
#0  0x900031c8 in strlen ()
#1  0x0111c630 in getstring_va (interp=0x3106780, size=0,  
obj=0xbfffec38) at src/spf_vtable.c:322
#2  0x0111bcd8 in Parrot_sprintf_format (interp=0x3106780,  
pat=0x4eb688, obj=0xbfffec38) at src/spf_render.c:816
#3  0x010d51e8 in Parrot_vsprintf_s (interp=0x3106780, pat=0x4eb688,  
args=0xbfffed58 "") at src/misc.c:68
#4  0x010d526c in Parrot_vsprintf_c (interp=0x3106780, pat=0x14f9a40  
"End of file reached while reading arguments in '%s'",  
args=0xbfffed54 "") at src/misc.c:89
#5  0x0143e838 in IMCC_fataly (interp=0x3106780, code_unused=56,  
fmt=0x14f9a40 "End of file reached while reading arguments in '%s'")  
at compilers/imcc/debug.c:72
#6  0x0142fe8c in read_params (valp=0x0, interp=0x3106780,  
params=0x31261f4, macro_name=0x4f3033 <Address 0x4f3033 out of  
bounds>, need_id=0, yyscanner=0x311f0e0) at compilers/imcc/imcc.l:916
#7  0x01430984 in expand_macro (interp=0x3106780, name=0x4f3033  
<Address 0x4f3033 out of bounds>, yyscanner=0x311f0e0) at compilers/ 
imcc/imcc.l:1161
#8  0x0142b150 in yylex (valp=0xbfffeff4, yyscanner=0x311f0e0,  
interp=0x3106780) at compilers/imcc/imcc.l:512
#9  0x014228a4 in yyparse (yyscanner=0x311f0e0, interp=0x3106780) at  
compilers/imcc/imcparser.c:2810
#10 0x01433ab4 in compile_to_bytecode (interp=0x3106780,  
sourcefile=0xbffff87b "t/compilers/imcc/syn/macro_25.pir",  
output_file=0x0) at compilers/imcc/main.c:950
#11 0x01433e44 in imcc_run (interp=0x3106780, sourcefile=0xbffff87b  
"t/compilers/imcc/syn/macro_25.pir", argc=1, argv=0xbffff7cc) at  
compilers/imcc/main.c:1053
#12 0x00002a40 in main (argc=1, argv=0xbffff7cc) at src/main.c:61


Reply via email to