Subject: | Bus error in t/06error.t and t/08create_function.t on Mac OS X |
PERL_DL_NONLAZY=1 /usr/local/ActivePerl-5.10/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/00basic...............ok
t/01logon...............ok
t/02cr_table............ok
t/03insert..............ok
t/04select..............ok
t/05tran................ok
t/06error...............dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
t/08create_function.....dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 6-18
Failed 13/18 tests, 27.78% okay
t/09create_aggregate....ok
t/10dsnlist.............ok
t/11unicode.............ok
t/20createdrop..........ok
t/30insertfetch.........ok
t/40bindparam...........ok
t/40blobs...............ok
t/40blobtext............ok
t/40listfields..........ok
t/40nulls...............ok
t/40numrows.............ok
t/40prepcached..........ok
t/50chopblanks..........ok
t/50commit..............ok
t/60metadata............ok
t/90cppcomments.........ok
t/99cleanup.............ok
t/ak-dbd................ok
t/dbdadmin..............ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/06error.t 0 10 2 2 2
t/08create_function.t 0 10 18 26 6-18
Failed 2/27 test scripts. 14/394 subtests failed.
Files=27, Tests=394, 5 wallclock secs ( 1.97 cusr + 0.61 csys = 2.58 CPU)
Failed 2/27 test programs. 14/394 subtests failed.
make: *** [test_dynamic] Error 255
In gdb I see this:
(gdb) run -Mblib t/06error.t
Starting program: /usr/local/ActivePerl-5.10/bin/perl -Mblib t/06error.t
Reading symbols for shared libraries .+ done
Reading symbols for shared libraries . done
1..2
# Running under perl version 5.010000 for darwin
# Current time local: Fri Jul 25 12:21:06 2008
# Current time GMT: Fri Jul 25 10:21:06 2008
# Using Test.pm version 1.25
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
ok 1
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x90001408 in pthread_mutex_lock ()
(gdb) bt
#0 0x90001408 in pthread_mutex_lock ()
#1 0x01019520 in sqlite3_mutex_enter (p=0x0) at sqlite-amalgamation.c:13414
#2 0x01037cc0 in sqlite3_finalize (pStmt=0x66b7e8) at
sqlite-amalgamation.c:40941
#3 0x01012329 in sqlite_st_destroy ()
#4 0x0100f919 in XS_DBD__SQLite__st_DESTROY ()
#5 0x0005013f in XS_DBI_dispatch ()
#6 0x0029e2d4 in Perl_pp_entersub ()
#7 0x0028e307 in Perl_call_sv ()
#8 0x002a3684 in Perl_sv_clear ()
#9 0x002a415e in Perl_sv_free ()
#10 0x002a3a26 in Perl_sv_clear ()
#11 0x002a415e in Perl_sv_free ()
#12 0x00278588 in Perl_mg_free ()
#13 0x002a38cb in Perl_sv_clear ()
#14 0x002a415e in Perl_sv_free ()
#15 0x002d06d6 in Perl_leave_scope ()
#16 0x002d073c in Perl_pop_scope ()
#17 0x002da551 in Perl_pp_return ()
#18 0x00294619 in Perl_runops_standard ()
#19 0x0028df3b in Perl_call_sv ()
#20 0x0004e360 in XS_DBI_dispatch ()
#21 0x0029e2d4 in Perl_pp_entersub ()
#22 0x00294619 in Perl_runops_standard ()
#23 0x0028ff36 in perl_run ()
#24 0x00001f3e in main ()