pre-merge testing on I/O branch
James E Keenan
jkeen at verizon.net
Tue Dec 9 00:55:58 UTC 2008
Allison Randal wrote:
> James E Keenan wrote:
>> The following Smolder report is on the pdd22io_part2 branch; platform is
>> Darwin/PPC.
>>
>> http://smolder.plusthree.com/app/public_projects/report_details/8470
>>
>> This branch was forked from trunk at r32922 on Nov 20. IIRC, at that
>> time we were getting failures in t/pmc/packfile.t on Darwin/PPC. That
>> might explain the failure in that file in this Smolder report. In
>> trunk, that failure was subsequently fixed (though I never figured out
>> exactly how or by whom). See
>> http://rt.perl.org/rt3/Ticket/Display.html?id=60068
>
> Ok, I just updated the branch from the head revision of trunk (r33643).
> Let me know if that makes this failure disappear.
As expected, updating the branch from trunk cured the packfile.t failure
but brought in the macro.t failure.
>
>> However, since the branch was created a *new* test failure has been
>> appearing steadily on Darwin (both PPC and i386) in trunk:
>> t/compilers/imcc/syn/macro.t. See
>> http://rt.perl.org/rt3/Ticket/Display.html?id=60926. That failure came
>> in at r33324, IIRC.
>
[pdd22io_part2] 504 $ prove t/pmc/packfile.t t/compilers/imcc/syn/macro.t
t/pmc/packfile................ok
t/compilers/imcc/syn/macro....25/38
# Failed test 'unterminated macro 2'
# at t/compilers/imcc/syn/macro.t line 329.
# ''
# doesn't match '/End of file reached/
# '
# './parrot "work/pdd22io_part2/t/compilers/imcc/syn/macro_25.pir"'
failed with exit code [SIGNAL 11]
t/compilers/imcc/syn/macro....38/38 # Looks like you failed 1 test of 38.
t/compilers/imcc/syn/macro.... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/38 subtests
Test Summary Report
-------------------
t/compilers/imcc/syn/macro (Wstat: 256 Tests: 38 Failed: 1)
Failed test: 25
Non-zero exit status: 1
Files=2, Tests=49, 36 wallclock secs ( 0.10 usr 0.05 sys + 6.31 cusr
3.56 csys = 10.02 CPU)
Result: FAIL
[pdd22io_part2] 505 $ gdb ./parrot
[snip]
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: work/pdd22io_part2/parrot
t/compilers/imcc/syn/macro_25.pir
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00647030
0x900031c8 in strlen ()
(gdb) bt
#0 0x900031c8 in strlen ()
#1 0x011195f0 in getstring_va (interp=0x2606790, size=0,
obj=0xbfffebf8) at src/spf_vtable.c:322
#2 0x01118c98 in Parrot_sprintf_format (interp=0x2606790, pat=0x4eb688,
obj=0xbfffebf8) at src/spf_render.c:816
#3 0x010d1c48 in Parrot_vsprintf_s (interp=0x2606790, pat=0x4eb688,
args=0xbfffed18 "") at src/misc.c:68
#4 0x010d1ccc in Parrot_vsprintf_c (interp=0x2606790, pat=0x14e5c84
"End of file reached while reading arguments in '%s'", args=0xbfffed14
"") at src/misc.c:89
#5 0x0142cea8 in IMCC_fataly (interp=0x2606790, code_unused=56,
fmt=0x14e5c84 "End of file reached while reading arguments in '%s'") at
compilers/imcc/debug.c:72
#6 0x0141e4fc in read_params (valp=0x0, interp=0x2606790,
params=0x2625bc4, macro_name=0x647033 <Address 0x647033 out of bounds>,
need_id=0, yyscanner=0x261ed70) at compilers/imcc/imcc.l:908
#7 0x0141eff4 in expand_macro (interp=0x2606790, name=0x647033 <Address
0x647033 out of bounds>, yyscanner=0x261ed70) at compilers/imcc/imcc.l:1156
#8 0x014197b8 in yylex (valp=0xbfffefb4, yyscanner=0x261ed70,
interp=0x2606790) at compilers/imcc/imcc.l:504
#9 0x01411184 in yyparse (yyscanner=0x261ed70, interp=0x2606790) at
compilers/imcc/imcparser.c:2792
#10 0x01422114 in compile_to_bytecode (interp=0x2606790,
sourcefile=0xbffff84a "t/compilers/imcc/syn/macro_25.pir",
output_file=0x0) at compilers/imcc/main.c:950
#11 0x014224a4 in imcc_run (interp=0x2606790, sourcefile=0xbffff84a
"t/compilers/imcc/syn/macro_25.pir", argc=1, argv=0xbffff78c) at
compilers/imcc/main.c:1053
#12 0x00002a20 in main (argc=1, argv=0xbffff78c) at src/main.c:61
HTH
kid51
More information about the parrot-dev
mailing list