Bug 456654

Summary: NeoChat crashes / dr konqi notification when closing
Product: [Applications] NeoChat Reporter: Jan Bidler <janbidler00>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED DUPLICATE    
Severity: normal CC: carl, duha.bugs, redstar
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Bidler 2022-07-12 20:49:11 UTC
SUMMARY
Everytime I close NeoChat, I get a Dr Konqi notification, telling me it has crashed unexpectedly.

STEPS TO REPRODUCE
1. Open neochat
2. Close it

OBSERVED RESULT
Dr konqi notification pops up, prompting me to open a bug report

EXPECTED RESULT
It should close normally

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.9-arch1-1 (64-bit)
Graphics Platform: Wayland
NeoChat: 22.06

ADDITIONAL INFORMATION
Backtrace, sorry for missing symbols
```
quotient.jobs: Sent GET https://matrix-client.matrix.org/_matrix/client/r0/capabilities
[Thread 0x7fffb1ffb640 (LWP 171074) exited]
[Thread 0x7fffb27fc640 (LWP 171073) exited]
[Thread 0x7fffb17fa640 (LWP 171075) exited]
[Thread 0x7fffed7ff640 (LWP 171048) exited]
[Thread 0x7fffb0be5640 (LWP 171078) exited]
[Thread 0x7fff7b7fe640 (LWP 171080) exited]
[Thread 0x7fff7bfff640 (LWP 171079) exited]
[Thread 0x7fffb9ffb640 (LWP 171062) exited]
[Thread 0x7fffba7fc640 (LWP 171061) exited]
[Thread 0x7fffbaffd640 (LWP 171060) exited]
[Thread 0x7fffbb7fe640 (LWP 171059) exited]
[Thread 0x7fffdc841640 (LWP 171055) exited]
[Thread 0x7fffdd042640 (LWP 171054) exited]
[Thread 0x7fffb3fff640 (LWP 171058) exited]
[Thread 0x7fffd0dff640 (LWP 171056) exited]
[Thread 0x7fffbbfff640 (LWP 171057) exited]
[Thread 0x7fffb2ffd640 (LWP 171066) exited]
[Thread 0x7fffb37fe640 (LWP 171065) exited]
[Thread 0x7fffb8ff9640 (LWP 171064) exited]
[Thread 0x7fffb97fa640 (LWP 171063) exited]
[Thread 0x7fffdd843640 (LWP 171053) exited]
[Thread 0x7fffde185640 (LWP 171052) exited]
[Thread 0x7ffff057b640 (LWP 171043) exited]
[Thread 0x7fffefd7a640 (LWP 171044) exited]
malloc_consolidate(): unaligned fastbin chunk detected

Thread 1 "neochat" received signal SIGABRT, Aborted.
0x00007ffff508e36c in ?? () from /usr/lib/libc.so.6
(gdb) bt full
#0  0x00007ffff508e36c in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007ffff503e838 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x00007ffff5028535 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x00007ffff508245e in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x00007ffff50980cc in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#5  0x00007ffff5098da4 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#6  0x00007ffff509ae9f in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#7  0x00007ffff509c358 in malloc () from /usr/lib/libc.so.6
No symbol table info available.
#8  0x00007ffff58ea644 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) ()
   from /usr/lib/libQt5Core.so.5
No symbol table info available.
#9  0x00007ffff59327f5 in QByteArray::QByteArray(int, Qt::Initialization) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#10 0x00007ffff592608c in QRingBuffer::reserve(long long) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#11 0x00007ffff5926305 in QRingBuffer::append(char const*, long long) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#12 0x00007ffff59d9a7b in QFileDevice::writeData(char const*, long long) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#13 0x00007ffff59e682f in QIODevice::write(char const*, long long) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#14 0x00007ffff7e43a9f in Quotient::Connection::saveState() const () from /usr/lib/libQuotient.so.0.6
No symbol table info available.
#15 0x00005555555e3b2d in ?? ()
No symbol table info available.
#16 0x00007ffff5040ef5 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#17 0x00007ffff5041070 in exit () from /usr/lib/libc.so.6
No symbol table info available.
#18 0x00007ffff5029297 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#19 0x00007ffff502934a in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#20 0x00005555555cb915 in ?? ()
(gdb) c
Continuing.
21 -- exe=/usr/bin/neochat
16 -- appname=neochat
17 -- apppath=/usr/bin
9 -- signal=6
11 -- pid=171032
17 -- appversion=22.06
20 -- programname=NeoChat
31 -- bugaddress=submit@bugs.kde.org
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = neochat path = /usr/bin pid = 171032
KCrash: Arguments: /usr/bin/neochat 
KCrash: Attempting to start /usr/lib/drkonqi
[Thread 0x7ffff0c5ea80 (LWP 171032) exited]
[Thread 0x7fffef443640 (LWP 171045) exited]
[New process 171032]

Program terminated with signal SIGALRM, Alarm clock.
The program no longer exists.
```
Comment 1 duha.bugs 2022-09-22 20:22:44 UTC

*** This bug has been marked as a duplicate of bug 459343 ***