Summary: | Konqueror crashed closing tab [KonqMainWindow::slotPartActivated, KonqViewManager::doSetActivePart, KParts::PartManager::eventFilter] | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Andrey Borzenkov <arvidjaar> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ab.kde, andresbajotierra, faure, frank78ac, johann-nikolaus, mail, marc, martin.nowack, okular-devel, paetow |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | similar crash backtrace |
Description
Andrey Borzenkov
2009-11-09 18:40:20 UTC
Thanks for the bug report! This looks indeed similar to bug 207173, but it looks like you had an Okular part open in the closed tab. Maybe the root cause is similar to the issue fixed by David in the KHTML part. I'll CC the okular-devel mailing list. *** Bug 214380 has been marked as a duplicate of this bug. *** *** Bug 211239 has been marked as a duplicate of this bug. *** Hmm, I should fix this at the konqueror level then, so that focus changes inside a part that is being deleted, are not taken into account. *** Bug 215863 has been marked as a duplicate of this bug. *** *** Bug 219983 has been marked as a duplicate of this bug. *** Created attachment 39522 [details]
similar crash backtrace
another similar backtrace, would be nice to have this bug fixed
(backtrace with kde-4.3.3, I accidentally deleted the backtarce with 4.3.4 but it looks the same)
Hope this backtrace helps a bit :)
From bug 221625: -- Information about the crash: I closed one instance of konqueror with 2 tabs opened. In one of them I was viewing a pdf using okular, in the other one I viewed a website. *** Bug 221625 has been marked as a duplicate of this bug. *** *** Bug 228437 has been marked as a duplicate of this bug. *** First step: reproducing the bug. Using the pdf from bug 214380 I found the following steps: * konqueror http://www.oedp.de/files/pdf/programme/BundespolitischesProgramm.pdf * Ctrl+T (to get a second tab) * Back to first tab, click on an entry in the table of contents (important so that it has focus). * Ctrl+W (close tab) -> crash. Okular::Document::closeDocument calls TOC::hasTOC(false), which hides the TOC widget, which triggers a focus change (the Sidebar gets focus), which PartManager notices, and it tries to set the okular part as active again. OK, removing part from PartManager before deleting it, seems to work. Commit coming up. SVN commit 1104129 by dfaure: Move up the fix for 207173 (crash when closing khtml tab with focus in findbar) from khtml to konqueror, so that it also fixes 213876 (crash when closing okularpart tab with focus in sidebar) : unregister part from partmanager before deleting it. CCBUG: 207173 BUG: 213876 Fixed for: 4.4.2 M +3 -0 kdebase/apps/konqueror/src/konqview.cpp M +1 -8 kdelibs/khtml/khtml_part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1104129 *** Bug 235617 has been marked as a duplicate of this bug. *** |