FAQ

Elusive smoke failure: help sought [Was Smoke [5.9.5] 30775 FAIL(X) darwin 8.9.0 (ppcG5/1 cpu) in daily-build-reports]

Dominic Dunlop
Apr 3, 2007 at 9:59 am
[Resent to daily-build, as nobody's responded on p5p]

I'm trying to nail this smoke failure:
[stdio/perlio] -Duseithreads
[perlio] -DDEBUGGING -Duseithreads
Inconsistent test results (between TEST and harness):
../ext/Hash/Util/FieldHash/t/02_function.tFAILED--expected 64
tests, saw 55
Whatever it is, it's a crashing bug -- see the log entry at the end
of the mail. My problem is that I can't reproduce it outside smoke.
I've tried running the offending test from at to kind of simulate
being run from cron and with various combinations of minimal
environment, closed or /dev/null-attached stdin, but the thing passes
every time both with TEST and harness:

./perl ./harness </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t
../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
Files=1, Tests=64, 1 wallclock secs ( 0.66 cusr + 0.10 csys = 0.76
CPU)
./perl ./TEST </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t
t/../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
u=0.03 s=0.02 cu=0.66 cs=0.08 scripts=1 tests=64
./perl ./harness </dev/null ../ext/Hash/Util/FieldHash/t/
02_function.t <&-
../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
Files=1, Tests=64, 2 wallclock secs ( 0.66 cusr + 0.10 csys = 0.76
CPU)
./perl ./TEST </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t <&-
t/../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
u=0.03 s=0.02 cu=0.66 cs=0.08 scripts=1 tests=64
./perl ./harness </dev/null ../ext/Hash/Util/FieldHash/t/
02_function.t </dev/null
../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
Files=1, Tests=64, 2 wallclock secs ( 0.66 cusr + 0.10 csys = 0.76
CPU)
./perl ./TEST </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t </
dev/null
t/../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
u=0.03 s=0.02 cu=0.66 cs=0.08 scripts=1 tests=64
./perl ./harness </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t
../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
Files=1, Tests=64, 1 wallclock secs ( 0.66 cusr + 0.09 csys = 0.75
CPU)
./perl ./TEST </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t
t/../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
u=0.03 s=0.02 cu=0.66 cs=0.08 scripts=1 tests=64
./perl ./harness </dev/null ../ext/Hash/Util/FieldHash/t/
02_function.t <&-
../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
Files=1, Tests=64, 2 wallclock secs ( 0.66 cusr + 0.10 csys = 0.76
CPU)
./perl ./TEST </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t <&-
t/../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
u=0.03 s=0.02 cu=0.66 cs=0.08 scripts=1 tests=64
./perl ./harness </dev/null ../ext/Hash/Util/FieldHash/t/
02_function.t </dev/null
../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
Files=1, Tests=64, 2 wallclock secs ( 0.66 cusr + 0.09 csys = 0.75
CPU)
./perl ./TEST </dev/null ../ext/Hash/Util/FieldHash/t/02_function.t </
dev/null
t/../ext/Hash/Util/FieldHash/t/02_function....ok
All tests successful.
u=0.03 s=0.02 cu=0.66 cs=0.07 scripts=1 tests=64

Does anybody know what else I can try to make the damned thing fall
over?

Here's that crash log:
Host Name: Tullamore
Date/Time: 2007-03-29 05:27:40.582 +0200
OS Version: 10.4.9 (Build 8P135)
Report Version: 4

Command: perl
Path: ./perl
Parent: perl [25155]

Version: ??? (???)

PID: 28464
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x004b6004

Thread 0 Crashed:
0 perl 0x000451cc S_restore_magic + 116 (mg.c:2880)
1 perl 0x000397c8 Perl_mg_set + 304 (mg.c:282)
2 perl 0x000d7264 Perl_sv_kill_backrefs + 340 (sv.c:4826)
3 perl 0x00041328 Perl_magic_killbackrefs + 20 (mg.c:2122)
4 perl 0x0003a178 Perl_mg_free + 184 (mg.c:491)
5 perl 0x000d8738 Perl_sv_clear + 1528 (sv.c:5098)
6 perl 0x000d8f38 Perl_sv_free2 + 180 (sv.c:5292)
7 perl 0x000d8e70 Perl_sv_free + 224 (sv.c:5271)
8 perl 0x000d8cbc Perl_sv_clear + 2940 (sv.c:5163)
9 perl 0x000d8f38 Perl_sv_free2 + 180 (sv.c:5292)
10 perl 0x000d8e70 Perl_sv_free + 224 (sv.c:5271)
11 perl 0x000c263c Perl_av_clear + 232 (av.c:445)
12 perl 0x000f1fec Perl_leave_scope + 3024 (scope.c:785)
13 perl 0x000ef308 Perl_pop_scope + 52 (scope.c:100)
14 perl 0x000a4e9c Perl_pp_leaveloop + 832 (pp_ctl.c:1963)
15 perl 0x00154774 Perl_runops_debug + 332 (dump.c:1915)
16 perl 0x00031420 S_run_body + 432 (perl.c:2420)
17 perl 0x00030f4c perl_run + 192 (perl.c:2349)
18 perl 0x000028a4 main + 280 (perlmain.c:115)
19 perl 0x000023ac _start + 760
20 perl 0x000020b0 start + 48

Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000000451cc srr1:
0x100000000000d030 vrsave: 0x0000000000000000
cr: 0x22000434 xer: 0x0000000000000000 lr:
0x000000000004516c ctr: 0x0000000000000002
r0: 0x00000000000000ff r1: 0x00000000bffff000 r2:
0x00000000004b5ff0 r3: 0x0000000002800400
r4: 0x000000000000004c r5: 0x0000000000000060 r6:
0x0000000000000000 r7: 0x0000000000000000
r8: 0x0000000000000001 r9: 0x00000000000000ff r10:
0x0000000000000006 r11: 0x0000000022000434
r12: 0x0000000090006a0c r13: 0x0000000000000000 r14:
0x0000000000000000 r15: 0x0000000000000000
r16: 0x0000000000000000 r17: 0x0000000000000000 r18:
0x0000000000000000 r19: 0x0000000000000000
r20: 0x0000000000000000 r21: 0x00000000001a7124 r22:
0x00000000001a7124 r23: 0x00000000028fc770
r24: 0x0000000000000000 r25: 0x00000000004b5fd0 r26:
0x000000000000004c r27: 0x0000000002800400
r28: 0x0000000002800400 r29: 0x000000000282385c r30:
0x00000000004b5fd0 r31: 0x000000000004516c

Binary Images Description:
0x1000 - 0x1c4fff perl /Volumes/Paul/src/Perlsmoke/32-
bit_perl-current/t/perl
0x472000 - 0x47afff Util.bundle ../lib/auto/List/Util/Util.bundle
0x48a000 - 0x48dfff FieldHash.bundle ../lib/auto/Hash/Util/
FieldHash/FieldHash.bundle
0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x94c90000 - 0x94cb0fff libmx.A.dylib /usr/lib/libmx.A.dylib

**********
--
Dominic Dunlop
reply

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post

1 user in discussion

Dominic Dunlop: 1 post