Bug 470207

Summary: Crash when closing
Product: [Applications] Koko Reporter: Jack Hill <jackhill3103>
Component: GeneralAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jack Hill 2023-05-24 10:40:55 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Koko
2. Close Koko using the close button in the title bar

OBSERVED RESULT
jack@localhost:~> koko
("/home/jack")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
QThread: Destroyed while thread is still running
18 -- exe=/usr/bin/koko
13 -- platform=xcb
11 -- display=:0
13 -- appname=koko
17 -- apppath=/usr/bin
9 -- signal=6
9 -- pid=4500
19 -- appversion=23.04.1
17 -- programname=Koko
68 -- bugaddress=https://bugs.kde.org/describecomponents.cgi?product=koko
17 -- productname=koko
KCrash: Application 'koko' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi

[1]+  Stopped                 koko

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230522
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Info from Dr. Konqi:
Application: Koko (koko), signal: Aborted

[KCrash Handler]
#4  0x00007f015ec9490c in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007f015ec43196 in raise () from /lib64/libc.so.6
#6  0x00007f015ec2b897 in abort () from /lib64/libc.so.6
#7  0x00007f015f2bb4e9 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7ffcf24561a0, msg=msg@entry=0x7f015f5d5830 "QThread: Destroyed while thread is still running") at global/qlogging.cpp:893
#9  0x00007f015f2bbe2c in QThread::~QThread (this=this@entry=0x7ffcf2456300, __in_chrg=<optimized out>) at thread/qthread.cpp:456
#10 0x00005628ae2c5974 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/koko-23.04.1/src/main.cpp:212
[Inferior 1 (process 4269) detached]
Comment 1 Nate Graham 2025-06-26 20:49:46 UTC
Seems to be fixed in current git master.