Bug 341866

Summary: Konsole crashes when logging out of desktop
Product: [Applications] konsole Reporter: Scott <gsx455stg2>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 2.99.900   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Scott 2014-12-14 04:21:53 UTC
Application: konsole (2.99.900)

Qt Version: 5.4.0
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
Logging out of the desktop with konsole running  is normal but after logging back in a crash message is displayed about konsole. Konsole does start normally after closing the window about the crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f060d890800 (LWP 1554))]

Thread 2 (Thread 0x7f05f8e43700 (LWP 1555)):
#0  0x00007f060d21b3cd in poll () at /lib64/libc.so.6
#1  0x00007f0606741322 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f0606742def in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f05fad9bbf9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f0609b3a6ff in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f06044b90a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f060d2237fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f060d890800 (LWP 1554)):
[KCrash Handler]
#5  0x00007f060cee3c91 in Konsole::ViewManager::saveSessions(KConfigGroup&) () at /usr/lib64/libkonsoleprivate.so.2
#6  0x00007f060cb94f67 in KMainWindow::savePropertiesInternal(KConfig*, int) () at /usr/lib64/libKF5XmlGui.so.5
#7  0x00007f060cb951b6 in  () at /usr/lib64/libKF5XmlGui.so.5
#8  0x00007f060cbd0a82 in  () at /usr/lib64/libKF5XmlGui.so.5
#9  0x00007f0609d44441 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f060a241c45 in QGuiApplication::saveStateRequest(QSessionManager&) () at /usr/lib64/libQt5Gui.so.5
#11 0x00007f060a24374b in QGuiApplicationPrivate::saveState() () at /usr/lib64/libQt5Gui.so.5
#12 0x00007f05fadbff0d in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#13 0x00007f05fadc0185 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#14 0x00007f060500fe18 in _SmcProcessMessage () at /usr/lib64/libSM.so.6
#15 0x00007f0604dff167 in IceProcessMessages () at /usr/lib64/libICE.so.6
#16 0x00007f0609d44441 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f0609dc15fe in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f0609d512d9 in QSocketNotifier::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f060a9d21dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f060a9d71f0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f0609d14be5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f0609d6ce45 in  () at /usr/lib64/libQt5Core.so.5
#23 0x00007f0603f9da04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f0603f9dc48 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f0603f9dcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f0609d6bf0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f060b686c7c in KWindowConfig::restoreWindowSize(QWindow*, KConfigGroup const&) () at /usr/lib64/libKF5ConfigGui.so.5
#28 0x00007f060cb959f0 in KMainWindow::applyMainWindowSettings(KConfigGroup const&) () at /usr/lib64/libKF5XmlGui.so.5
#29 0x00007f060cbcd1f2 in KXmlGuiWindow::applyMainWindowSettings(KConfigGroup const&) () at /usr/lib64/libKF5XmlGui.so.5
#30 0x00007f060cb95d3c in KMainWindow::setAutoSaveSettings(QString const&, bool) () at /usr/lib64/libKF5XmlGui.so.5
#31 0x00007f060d4ff9da in Konsole::MainWindow::applyKonsoleSettings() (this=this@entry=0x1a6f660) at /usr/src/debug/konsole-5.0.0git/src/MainWindow.cpp:720
#32 0x00007f060d500ca9 in Konsole::MainWindow::MainWindow() (this=0x1a6f660, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/MainWindow.cpp:136
#33 0x00007f060d4f7af9 in Konsole::Application::newMainWindow() (this=this@entry=0x7fffa1184f10) at /usr/src/debug/konsole-5.0.0git/src/Application.cpp:73
#34 0x00007f060d50787b in restoreSession(Konsole::Application&) (app=...) at /usr/src/debug/konsole-5.0.0git/src/main.cpp:288
#35 0x00007f060d508502 in kdemain(int, char**) (argc=3, argv=0x7fffa1185058) at /usr/src/debug/konsole-5.0.0git/src/main.cpp:83
#36 0x00007f060d15fb05 in __libc_start_main () at /lib64/libc.so.6
#37 0x00000000004007f1 in _start () at ../sysdeps/x86_64/start.S:122

Reported using DrKonqi