Subject: | Segfaults, invalid pointers, abort() |
It seems that segfaults or similar things may happen while running the test suite. On CPAN Testers there are currently the following fail reports:
* http://www.cpantesters.org/cpan/report/fac5d046-6a2b-11e6-9e0c-49c858b9f28c
(perl 5.24.0 on a linux machine, perl is compiled with -DDEBUGGING)
* http://www.cpantesters.org/cpan/report/eff810bc-7380-1014-8411-edba5cf4dae8
(perl on a cygwin machine, signal 6 might be SIGABRT)
* not yet at CPAN Testers: perl 5.14.4 on a freebsd 9.2 machine, also compiled with -DDEBUGGING
A gdb backtrace looks like this:
Program received signal SIGSEGV, Segmentation fault.
0x00000008012f1652 in _malloc_postfork () from /lib/libc.so.7
(gdb) bt
#0 0x00000008012f1652 in _malloc_postfork () from /lib/libc.so.7
#1 0x00000008012f2f1d in _malloc_prefork () from /lib/libc.so.7
#2 0x00000008012f75ab in free () from /lib/libc.so.7
#3 0x0000000801c05453 in fh_extractmin (h=0x933808) at fib.c:375
#4 0x0000000801c024dd in XS_List__MergeSorted__XS__merge_fib_flat_dupeok (cv=0x912690) at XS.xs:104
#5 0x000000080091d239 in Perl_pp_entersub () at pp_hot.c:3046
#6 0x000000080090e810 in Perl_runops_standard () at run.c:41
#7 0x0000000800872d6a in S_run_body (oldscope=1) at perl.c:2361
#8 0x0000000800872830 in perl_run (my_perl=0xff18) at perl.c:2284
#9 0x0000000000400e54 in main (argc=3, argv=0x7fffffffd200, env=0x7fffffffd220) at perlmain.c:120