FS#79046 - mcabber is broken

Attached to Project: Arch Linux
Opened by ugubok (ugubok) - Monday, 10 July 2023, 19:34 GMT
Last edited by Toolybird (Toolybird) - Monday, 10 July 2023, 21:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

starting mcabber causes error:
malloc(): unsorted double linked list corrupted

Additional info:
* Kernel: 6.4.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 06 Jul 2023 18:35:54 +0000 x86_64 GNU/Linux
* mcabber 1.1.2-2
* glibc 2.37-3
* ncurses 6.4_20230520-1
* This error also appears with manually compiled mcabber

Stack trace:
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff7c022d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007ffff7bb2a08 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff7b9b538 in __GI_abort () at abort.c:79
#4 0x00007ffff7b9c2db in __libc_message (fmt=fmt@entry=0x7ffff7d16515 "%s\n") at ../sysdeps/posix/libc_fatal.c:150
#5 0x00007ffff7c0c1b7 in malloc_printerr (str=str@entry=0x7ffff7d19830 "malloc(): unsorted double linked list corrupted")
at malloc.c:5651
#6 0x00007ffff7c0f72c in _int_malloc (av=av@entry=0x7ffff7d54ba0 <main_arena>, bytes=bytes@entry=1824) at malloc.c:3996
#7 0x00007ffff7c1082a in __GI___libc_malloc (bytes=bytes@entry=1824) at malloc.c:3297
#8 0x00007ffff7d9be49 in _nc_hash_map_sp (sp=0x5555555f3d50) at ../ncurses/./tty/hashmap.c:295
#9 _nc_scroll_optimize_sp (sp=0x5555555f3d50) at ../ncurses/./tty/hardscroll.c:213
#10 doupdate_sp (sp=0x5555555f3d50) at ../ncurses/./tty/tty_update.c:1010
#11 0x00007ffff7d9c714 in doupdate () at ../ncurses/./tty/tty_update.c:1097
#12 0x000055555556180d in main (argc=<optimized out>, argv=<optimized out>) at main.c:567

Steps to reproduce:
* Install mcabber
* Copy example configuration file somewhere: cp /usr/share/mcabber/example/mcabberrc /tmp/mcabberrc
* In copied file, replace default jid on 8 line with any jid
* Start mcabber with copied config file: mcabber -f /tmp/mcabberrc
* Or just use docker:
docker run --rm -it archlinux:latest bash -c 'pacman -Syu --noconfirm; pacman -S mcabber --noconfirm; sed -i "s/yourusername@domain/example@xmpp.jp" /usr/share/mcabber/example/mcabberrc; mcabber -f /usr/share/mcabber/example/mcabberrc'
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 10 July 2023, 21:55 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#78674 
Comment by ugubok (ugubok) - Monday, 10 July 2023, 19:38 GMT
Correction: after starting mcabber you must type password. Type ANY password, mcabber fails no matter if password is valid
Comment by ugubok (ugubok) - Monday, 10 July 2023, 19:52 GMT
Tried to reboot into latest LTS kernel - not work either

Loading...