Subject: | Occasional SEGV |
My smoker has sent fail reports like:
http://www.cpantesters.org/cpan/report/07dbd75c-c4ea-11e2-8a80-c106989cd64d
http://www.cpantesters.org/cpan/report/bf1b25a0-7b1d-11e3-a3d1-e8ab0c5d3a7d
Today I let the test run about 200 times and got a core dump. Here's the stack trace:
(gdb) bt
#0 0x00002aba0c8261d5 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00002aba0c829388 in __GI_abort () at abort.c:90
#2 0x00002aba0c8617bb in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x2aba0c95e368 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3 0x00002aba0c86ba16 in malloc_printerr (action=3,
str=0x2aba0c95e450 "munmap_chunk(): invalid pointer", ptr=<optimized out>)
at malloc.c:4923
#4 0x00002aba0d2be790 in destroyDB (db=0x1fe4a60) at BerkeleyDB.xs:1025
#5 0x00002aba0d2be95b in XS_BerkeleyDB__Common__DESTROY (my_perl=0x1b07010,
cv=<optimized out>) at BerkeleyDB.xs:4349
#6 0x00000000004ae7c2 in Perl_pp_entersub (my_perl=0x1b07010) at pp_hot.c:2769
#7 0x00000000004a6fa6 in Perl_runops_standard (my_perl=0x1b07010) at run.c:42
#8 0x0000000000435233 in Perl_call_sv (my_perl=my_perl@entry=0x1b07010,
sv=sv@entry=0x1db7268, flags=<optimized out>, flags@entry=45)
at perl.c:2760
#9 0x00000000004b7bf6 in S_curse (my_perl=my_perl@entry=0x1b07010,
sv=sv@entry=0x2007d50, check_refcnt=check_refcnt@entry=true) at sv.c:6613
#10 0x00000000004b8658 in Perl_sv_clear (my_perl=0x1b07010, orig_sv=0x2007d50)
at sv.c:6237
#11 0x00000000004b8a1a in Perl_sv_free2 (my_perl=0x1b07010, sv=0x2007d50, rc=6)
at sv.c:6714
#12 0x00000000004dc070 in Perl_leave_scope (my_perl=0x1b07010, base=0)
at scope.c:1058
#13 0x00000000004dc515 in Perl_pop_scope (my_perl=my_perl@entry=0x1b07010)
at scope.c:110
#14 0x00000000004e67ba in Perl_pp_leave (my_perl=0x1b07010) at pp_ctl.c:2078
#15 0x00000000004a6fa6 in Perl_runops_standard (my_perl=0x1b07010) at run.c:42
#16 0x000000000043c461 in S_run_body (oldscope=1, my_perl=0x1b07010)
at perl.c:2445
#17 perl_run (my_perl=0x1b07010) at perl.c:2361
#18 0x000000000041bc2b in main (argc=2, argv=0x7ffffc5f43b8,
env=0x7ffffc5f43d0) at perlmain.c:112
HTH && Thanks,