[drkonqi] [Bug 409471] New: [DrKonqi] crash on exit: message handler race condition
RJVB
bugzilla_noreply at kde.org
Wed Jul 3 18:40:52 BST 2019
https://bugs.kde.org/show_bug.cgi?id=409471
Bug ID: 409471
Summary: [DrKonqi] crash on exit: message handler race
condition
Product: drkonqi
Version: 5.16.2
Platform: Compiled Sources
OS: All
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: rjvbertin at gmail.com
Target Milestone: ---
Created attachment 121310
--> https://bugs.kde.org/attachment.cgi?id=121310&action=edit
backtrace
SUMMARY
After a recent commit, DrKonqi installs a message handler of its own using
qInstallMessageHandler(). It does not uninstall that handler when it is being
deleted. As a result any debug/warning/logging messages generated later on
during the global destruction phase can cause the crash shown in the attached
backtrace.
STEPS TO REPRODUCE
1. install (say) a development Qt version that prints very late debug output
during application exit
2. trigger DrKonqi
3. quit DrKonqi
OBSERVED RESULT
A crash; DrKonqi probably triggers on itself
EXPECTED RESULT
No crash.
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list