CC: | DANKOGAI [...] cpan.org, HMBRAND [...] cpan.org |
Subject: | SIGABRT in test suite |
On Debian/jessie and Debian/wheezy I see the following failure while running the tests:
$ perl5.24.0d -T -Mblib t/Catalyst-View-CSV.t
ok 1 - use Catalyst::Test;
*** Error in `perl5.24.0d': free(): corrupted unsorted chunks: 0x0000000005df6f20 ***
[5] 9342 abort perl5.24.0d -T -Mblib t/Catalyst-View-CSV.t
A stack trace shows the following:
#0 0x00007f7783cb1067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f7783cb2448 in __GI_abort () at abort.c:89
#2 0x00007f7783cef1b4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f7783de4210 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007f7783cf498e in malloc_printerr (action=1, str=0x7f7783de4380 "free(): corrupted unsorted chunks", ptr=<optimized out>) at malloc.c:4996
#4 0x00007f7783cf5696 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5 0x00000000004a3cb9 in Perl_pregfree2 (rx=0x5d3bd30) at regcomp.c:19081
#6 0x00000000005136f8 in Perl_sv_clear (orig_sv=0x5d3bd30) at sv.c:6500
#7 0x0000000000514277 in Perl_sv_free2 (sv=0x5d3bd30, rc=<optimized out>) at sv.c:6954
#8 0x0000000000570b40 in S_SvREFCNT_dec (sv=<optimized out>) at inline.h:166
#9 Perl_pp_regcomp () at pp_ctl.c:163
#10 0x00000000004d5ce2 in Perl_runops_debug () at dump.c:2239
#11 0x0000000000447b1f in Perl_call_sv (sv=0x5239e90, flags=flags@entry=130) at perl.c:2790
#12 0x00007f777ff729c5 in cx_Print (csv=0x7ffc74fbc0c0, dst=0x518ef70) at CSV_XS.xs:691
#13 0x00007f777ff73caf in cx_Combine (fields=<optimized out>, dst=<optimized out>, csv=<optimized out>) at CSV_XS.xs:902
#14 cx_xsCombine (self=0x2495, hv=0x1, av=0x6, io=0x518ef70, useIO=48) at CSV_XS.xs:1905
#15 0x00007f777ff74039 in XS_Text__CSV_XS_print (cv=<optimized out>) at CSV_XS.xs:2024
#16 0x000000000050bbb5 in Perl_pp_entersub () at pp_hot.c:3987
#17 0x00000000004d5ce2 in Perl_runops_debug () at dump.c:2239
#18 0x0000000000451bf7 in S_run_body (oldscope=1) at perl.c:2483
#19 perl_run (my_perl=<optimized out>) at perl.c:2406
#20 0x0000000000421205 in main (argc=4, argv=0x7ffc74fbc8d8, env=0x7ffc74fbc900) at perlmain.c:116
The SIGABRT does not happen with all perl versions. On my smoker systems I see the aborts with some 5.20.x .. 5.25.x. I never see it on freebsd and macosx systems. And it also seems that a newer Encode.pm version has to be installed.