Summary: | [steps] Session restore: Konsole crashed when closing a broken restored root session (ViewContainer::views, ViewManager::viewProperties, MainWindow::queryClose) | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Per (phobie) <kdebugs.phobie> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | allanlf.linux, aller, andresbajotierra, andrew.dorrell, cloudlion_ca, cparg, dguzicki, dima, echidnaman, fbouchet, flute-29, gnn, harry_chillboy, hochglanz, joliegrenouille2, joona.halo, joshua.d.hein, kanheuka, krzysztof.dzida, mariovenancio, michael.teubner, morinehtar0, panu.kinnari, pascompnsgnorte, paul.f.fee, pdezac-linux, pfmiller, praveen.inukoti, qu6w9z702, richih-kde, rtavenar, tkinyua, umeboshi3, viniciuscam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Per (phobie)
2009-08-12 22:12:31 UTC
*** Bug 203182 has been marked as a duplicate of this bug. *** This is probably bug 180154 but in KDE4.3. Thanks *** Bug 204279 has been marked as a duplicate of this bug. *** *** Bug 204949 has been marked as a duplicate of this bug. *** *** Bug 205972 has been marked as a duplicate of this bug. *** *** Bug 206175 has been marked as a duplicate of this bug. *** *** Bug 207543 has been marked as a duplicate of this bug. *** *** Bug 208327 has been marked as a duplicate of this bug. *** *** Bug 208908 has been marked as a duplicate of this bug. *** *** Bug 180154 has been marked as a duplicate of this bug. *** *** Bug 212813 has been marked as a duplicate of this bug. *** *** Bug 213519 has been marked as a duplicate of this bug. *** *** Bug 215112 has been marked as a duplicate of this bug. *** Updated backtrace from bug 215527: --- Application: Konsole (kdeinit4), signal: Segmentation fault [KCrash Handler] #6 QList (this=0x0) at /usr/include/QtCore/qlist.h:111 #7 Konsole::ViewContainer::views (this=0x0) at /home/phil/kdemod/core/kdebase/src/kdebase-4.3.3/apps/konsole/src/ViewContainer.cpp:191 #8 0xb40d6005 in Konsole::ViewManager::viewProperties (this=0x8f10e70) at /home/phil/kdemod/core/kdebase/src/kdebase-4.3.3/apps/konsole/src/ViewManager.cpp:886 #9 0xb52dee8d in Konsole::MainWindow::queryClose (this=0x8f09750) at /home/phil/kdemod/core/kdebase/src/kdebase-4.3.3/apps/konsole/src/MainWindow.cpp:341 #10 0xb6e8d081 in KMainWindow::closeEvent (this=0x8f09750, e=0xbfc6f0e8) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.3/kdeui/widgets/kmainwindow.cpp:588 *** Bug 215527 has been marked as a duplicate of this bug. *** *** Bug 215701 has been marked as a duplicate of this bug. *** I have also a problem with crashed konsole - and it's perfectly reproducable. 1. open konsole - the default profile start 2. open a second tab with your default profile 3. open a third tab with root profile - login and execute e.g. "ll" 4. then close konsole with the close icon on the upper right corner. What happens: Before I closed the konsole session "ps -ef" shows me "kdeinit4: konsole [kdeinit] --profile development" After closing the session I'm still detection the process. If I want to restart konsole no window appear - "ps -ef" shows now three processes: kdeinit4: konsole [kdeinit] --profile development kdeinit4: konsole [kdeinit] --profile development [konsole] <defunct> No more konsole at my KDE session - so I logged out and login in KDE again. Now an konsole windows opens with gray background an no input possibility. I click on the close button and the KDE crash dialog appears.... ...tatatata and now the final! I click in the crash dialog on the button "restart the application". The button grayed out and nothing happens. Ok, the bug was present in all of my KDE 4.3 and 4.2 versions - and I got everyone from the openSUSE repos. I'm not sure if it was present in 4.1 *** This bug has been confirmed by popular vote. *** *** Bug 216236 has been marked as a duplicate of this bug. *** *** Bug 217499 has been marked as a duplicate of this bug. *** *** Bug 218257 has been marked as a duplicate of this bug. *** *** Bug 220253 has been marked as a duplicate of this bug. *** *** Bug 220816 has been marked as a duplicate of this bug. *** *** Bug 222302 has been marked as a duplicate of this bug. *** Is this bug 175758? (In reply to comment #25) > Is this bug 175758? It could be, that's why it says: "This bug may be a duplicate of or related to bug 175758" *** Bug 225342 has been marked as a duplicate of this bug. *** *** Bug 226072 has been marked as a duplicate of this bug. *** *** Bug 228842 has been marked as a duplicate of this bug. *** All these are from KDE 4.3.x. If anyone can reproduce using a 4.4.x please mention it. I can't reproduce here on 4.4.x or trunk. It's still there and so simple to reproduce. 1. open a konsole session with at least one root profile 2. do what you want with it or do nothing 3. close the konsole window (e.g., with the "close-X-button") Voila, - defunct konsole program (not terminated) - no chance to restart a konsole session (you have to do killall konsole in xterm first) - if you do no restart konsole but logout from KDE, the next KDE login will startup a broken konsole session with immediately crashes I wonder why only 40 votes are given... *** Bug 232886 has been marked as a duplicate of this bug. *** From bug 233793: -- Information about the crash: When I logged in and KDE restored the session, I got a Konsole window that had no tabs - just a grey background. Most of the menus were empty - "Edit", "Scrollback", etc. Then I tried the "split view" feature, just to see what happens, and konsole crashed. In case this is related: the last time I logged out, Konsole had a tab open with "bash" that was stuck in uninterruptable sleep, and Konsole would freeze for a while when I tried to close the tab. *** Bug 233793 has been marked as a duplicate of this bug. *** *** Bug 230430 has been marked as a duplicate of this bug. *** Bug 203621 is a duplicate from KDE 4.4. This happens whenever the session data is corrupted or missing. This same crash happened on upgrades from 4.2 -> 4.3, when Konsole gained session support in the first place. What Konsole needs to do is check to see if there is valid session data, then if not just load a default session. Currently it's just loading nothing since the data is either not there or invalid, and the crash on exit is a result of it trying to access an empty list of views. To reproduce this bug at will, edit the konsole file in ~/.kde/share/config/sessions/ (The file name is dynamic, so it will be different for everyone.) Inside the file, delete all config sections dedicated to sessions. Also, delete the "Sessions=" key in the [1] group, as well as the "NumberOfSessions=" key in the [Numbers] group. Once this is done, and this is important, you must kill your KDE session in way that KDE will not be able to save the session. I'd suggest either init 0-ing or doing this as a separate user, then killing that user's Xorg. While it is true that my method of reproducing this crash is quite involved, it is replicating the situation that appeared on upgrades to KDE 4.3, as well as situations that are still arising in KDE 4.4 when the session data becomes corrupt. ...and of course to conclude the crash, you must log back in. You'll then observe that the konsole window has no console views, and that closing the window will trigger this crash. Thanks for the info #37. You can also just log out and then edit the konsole session file. I'll see what I can do about it. SVN commit 1115480 by hindenburg: Use the default profile if the session management's Konsole file is unusable (corrupt/missing/etc). CCBUG: 203621 M +9 -0 ViewManager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1115480 Thanks! Can you add a (non-modal) notification that the session was broken & thus reset? I can confirm that the fix works, thanks. Did you mean to close that bug with the commit, or was the CCBUG intentional? Thanks for testing . I'll close it when I backport to 4.4 branch. SVN commit 1115610 by hindenburg: Use the default profile if the session management's Konsole file is unusable (corrupt/missing/etc). BUG: 203621 M +9 -0 ViewManager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1115610 #41 - Creating a modal or non-modal dialog would be non-trival for this message. *** Bug 241694 has been marked as a duplicate of this bug. *** *** Bug 237600 has been marked as a duplicate of this bug. *** *** Bug 234480 has been marked as a duplicate of this bug. *** *** Bug 232565 has been marked as a duplicate of this bug. *** *** Bug 211668 has been marked as a duplicate of this bug. *** |