Summary: | crashes on session logout if the main window is visible | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | Dimitar Zhekov <zhekov> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
backtrace
patch |
Description
Dimitar Zhekov
2007-04-19 16:05:00 UTC
Created attachment 20325 [details]
backtrace
Created attachment 20327 [details]
patch
set m_splitter to 0 after deleting it, check for m_splitter on top of
queryExit()
SVN commit 811443 by mpyne: Fix bug 144427 (JuK crashes if main window open on logout) in KDE 4.0. I was not able to reproduce but the reporter did a very good job of hunting down the cause and came up with a patch which I tweaked to fix the underlying issue. Basically, we do too much in queryExit(). We already had a slot called slotAboutToQuit() (which was similarly mislabeled) so I used the "official" means of hooking up to QCoreApplication::aboutToQuit(), and implemented the reporter's patch of setting the deleted object to 0 in case we try to delete it again somehow. CCBUG:144427 M +21 -13 juk.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=811443 SVN commit 811444 by mpyne: Forwardport fix for bug 144427 to trunk. Also a coding style fix and remove some extraneous debug calls. BUG:144427 M +22 -18 juk.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=811444 SVN commit 811447 by mpyne: Forgot to backport this to KDE 3.5, which is what bug 144427 was reported against. The bug report was so useful that I want to reward the reporter so if you're still using 3.5, it should crash less now. CCBUG:144427 M +1 -0 juk.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=811447 |