[prev in list] [next in list] [prev in thread] [next in thread]
List: konsole-devel
Subject: [konsole] [Bug 375540] Seg fault on startup
From: Orivej Desh <bugzilla_noreply () kde ! org>
Date: 2017-03-08 3:00:11
Message-ID: bug-375540-5030-TypUvDJN56 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=375540
Orivej Desh <orivej@gmx.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |orivej@gmx.fr
--- Comment #7 from Orivej Desh <orivej@gmx.fr> ---
Created attachment 104445
--> https://bugs.kde.org/attachment.cgi?id=104445&action=edit
backtrace with some debuginfo
I encountered the same bug after upgrading Konsole from the version that used
~/.kde/share/apps/konsole/konsoleui.rc to 16.12.2. I collected the traceback
with some debuginfo (attached), noticed container = 0x0, recompiled with the
following patch, and the konsole succesfully launched and allowed me to delete
conflicting keybindings in the settings. After that I was unable to reproduce
the bug, even by deleting ~/.local/share/kxmlgui5/konsole/konsoleui.rc.
diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp
index c187e64..b656ef2 100644
--- a/src/ViewManager.cpp
+++ b/src/ViewManager.cpp
@@ -904,6 +904,8 @@ void ViewManager::saveSessions(KConfigGroup& group)
// first: sessions in the active container, preserving the order
ViewContainer* container = _viewSplitter->activeContainer();
+ if (!container) {
+ return;
+ }
- Q_ASSERT(container);
TerminalDisplay* activeview =
qobject_cast<TerminalDisplay*>(container->activeView());
--
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic