Philip M. Gollucci wrote:
Hi,
SVN of DBI(964)
make test TEST_VERBOSE=1 is attached
    snipped for only t/05threadclone.t
Appologies, I just noticed this only happens sometimes
do to a race condition in the threads.  Here iss a test run
with the actual error
The test that fails is random, it just says segfault
or this message

ok 7 - ... DBI::neat_maxlen still holding its value
ok 8 - The object isa DBI::db
assertion botched (free()ed/realloc()ed-away memory was overwritten?): !(MallocCfg[MallocCfg_filldead] && MallocCfg[MallocCfg_fillcheck]) || !cmp_pat_4bytes((unsigned char*)(p + 1), (((1 << ((bucket) >> 0)) + ((bucket >= 15 * 1) ? 4096 : 0)) - (sizeof(union overhead) + sizeof (unsigned int))) + sizeof (unsigned int), fill_deadbeef) (malloc.c:1534)
Abort (core dumped)


Also, perl core dumped so a stacktrace is included as well.
#0 0x2825d267 in pthread_testcancel () from /usr/lib/libpthread.so.1
#1 0x2824d026 in sigaction () from /usr/lib/libpthread.so.1
#2 0x28247115 in pthread_kill () from /usr/lib/libpthread.so.1
#3 0x28246b22 in raise () from /usr/lib/libpthread.so.1
#4 0x28315270 in abort () from /lib/libc.so.6
#5 0x280ac55f in botch (diag=0x281e4a50 "free()ed/realloc()ed-away memory was overwritten",
s=0x281e4948 "!(MallocCfg[MallocCfg_filldead] && MallocCfg[MallocCfg_fillcheck]) || !cmp_pat_4bytes((unsigned char*)(p
1), (((1 << ((bucket) >> 0)) + ((bucket >= 15 * 1) ? 4096 : 0)) - (sizeof(union overhead) + s"...,
file=0x281e4714 "malloc.c", line=1534) at malloc.c:1326
#6 0x280acc9c in Perl_malloc (nbytes=1000) at malloc.c:1533
#7 0x28139438 in S_more_xpvhv (my_perl=0x872b000) at sv.c:1525
#8 0x281393d5 in S_new_xpvhv (my_perl=0x872b000) at sv.c:1500
#9 0x281509c4 in Perl_sv_dup (my_perl=0x872b000, sstr=0x832d164, param=0xbfbfe480) at sv.c:10975
#10 0x28150139 in Perl_sv_dup (my_perl=0x872b000, sstr=0x832d170, param=0xbfbfe480) at sv.c:10890
#11 0x28150908 in Perl_sv_dup (my_perl=0x872b000, sstr=0x832d074, param=0xbfbfe480) at sv.c:10958
#12 0x28150908 in Perl_sv_dup (my_perl=0x872b000, sstr=0x832d05c, param=0xbfbfe480) at sv.c:10958
#13 0x2815111c in Perl_sv_dup (my_perl=0x872b000, sstr=0x832d050, param=0xbfbfe480) at sv.c:11044
#14 0x2814e798 in Perl_gp_dup (my_perl=0x872b000, gp=0x82356c8, param=0xbfbfe480) at sv.c:10396
#15 0x2815017f in Perl_sv_dup (my_perl=0x872b000, sstr=0x832d02c, param=0xbfbfe480) at sv.c:10892
#16 0x28150908 in Perl_sv_dup (my_perl=0x872b000, sstr=0x832c3b0, param=0xbfbfe480) at sv.c:10958
#17 0x28150908 in Perl_sv_dup (my_perl=0x872b000, sstr=0x832c398, param=0xbfbfe480) at sv.c:10958
#18 0x2815111c in Perl_sv_dup (my_perl=0x872b000, sstr=0x832c38c, param=0xbfbfe480) at sv.c:11044
#19 0x2814e798 in Perl_gp_dup (my_perl=0x872b000, gp=0x8205dc8, param=0xbfbfe480) at sv.c:10396
#20 0x2815017f in Perl_sv_dup (my_perl=0x872b000, sstr=0x8203284, param=0xbfbfe480) at sv.c:10892
#21 0x28150908 in Perl_sv_dup (my_perl=0x872b000, sstr=0x8203230, param=0xbfbfe480) at sv.c:10958
#22 0x28150908 in Perl_sv_dup (my_perl=0x872b000, sstr=0x8203218, param=0xbfbfe480) at sv.c:10958
#23 0x2815111c in Perl_sv_dup (my_perl=0x872b000, sstr=0x820320c, param=0xbfbfe480) at sv.c:11044
#24 0x2814e798 in Perl_gp_dup (my_perl=0x872b000, gp=0x82064c8, param=0xbfbfe480) at sv.c:10396
#25 0x2815017f in Perl_sv_dup (my_perl=0x872b000, sstr=0x82032d8, param=0xbfbfe480) at sv.c:10892



END ------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml

Reply via email to