Bug#1013526: libtickit-widget-scrollbox-perl: FTBFS: dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255
Damyan Ivanov
dmn at debian.org
Sat Jun 25 08:09:46 BST 2022
Control: retitle -1 libtickit-widget-scrollbox-perl: intermittent memory corruption in t/02input-key.t and t/03input-mouse.t
I can reproduce this when running 02input-key.t and 03input-key.t in
a loop. The symptom is the same - "malloc_consolidate(): unaligned
fastbin chunk detected" error message and the tests exits with Wstat
134 after saying "All 14 subtests passed".
Wstat 134 is SIGABRT. Looks like a memory corruption of some sort.
After enabling core dumps, the following backtrace is observed:
(gdb) thread apply all bt
Thread 1 (Thread 0x7fbd5e0622c0 (LWP 401521)):
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1 0x00007fbd5e0c0546 in __GI_abort () at abort.c:79
#2 0x00007fbd5e117eb8 in __libc_message (action=action at entry=do_abort, fmt=fmt at entry=0x7fbd5e235a78 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3 0x00007fbd5e11f91a in malloc_printerr (str=str at entry=0x7fbd5e237de8 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5628
#4 0x00007fbd5e1209c4 in malloc_consolidate (av=av at entry=0x7fbd5e26cba0 <main_arena>) at malloc.c:4709
#5 0x00007fbd5e1211d0 in _int_free (av=0x7fbd5e26cba0 <main_arena>, p=0x5573c9773940, have_lock=<optimized out>) at malloc.c:4633
#6 0x00007fbd5e1249b4 in __GI___libc_free (mem=<optimized out>) at malloc.c:3309
#7 0x00005573c74b3bdf in Perl_hv_undef_flags (my_perl=my_perl at entry=0x5573c8b762a0, hv=hv at entry=0x5573c91ea6a0, flags=flags at entry=2) at ./build-static/hv.c:2115
#8 0x00005573c74c5620 in Perl_sv_clear (my_perl=my_perl at entry=0x5573c8b762a0, orig_sv=orig_sv at entry=0x5573c91ea6a0) at ./build-static/sv.c:6864
#9 0x00005573c74c4411 in Perl_sv_free2 (my_perl=my_perl at entry=0x5573c8b762a0, sv=0x5573c91ea6a0, rc=<optimized out>) at ./build-static/sv.c:7088
#10 0x00005573c74c5248 in Perl_SvREFCNT_dec_NN (sv=<optimized out>, my_perl=0x5573c8b762a0) at ./build-static/inline.h:314
#11 do_clean_objs (ref=0x5573c91fb800, my_perl=0x5573c8b762a0) at ./build-static/sv.c:533
#12 S_visit (mask=2048, flags=2048, f=<optimized out>, my_perl=0x5573c8b762a0) at ./build-static/sv.c:476
#13 Perl_sv_clean_objs (my_perl=my_perl at entry=0x5573c8b762a0) at ./build-static/sv.c:627
#14 0x00005573c741de2b in perl_destruct (my_perl=0x5573c8b762a0) at ./build-static/perl.c:893
#15 0x00005573c73f649c in main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>) at ./build-static/perlmain.c:121
I've filed a wishlist #1013740 for upgrading libtickit to 0.4.2a,
which would allow upgrading libtickit-perl to the latest upstream,
either of which may help.
More information about the pkg-perl-maintainers
mailing list