Bug 175758

Summary: Crash after session restore
Product: [Applications] konsole Reporter: Torrie Fischer <tdfischer>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, davide.bettio, dmitry.risenberg, franke.daniel, lars.g.kjellberg, potatoes666, usenbinz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Torrie Fischer 2008-11-21 14:12:11 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

If I logout with a konsole window open and then log back in, the session is restored with a blank konsole window with no tabs or console session or anything. Just a blank window.
Application: Konsole (konsole), signal SIGABRT
[Current thread is 1 (Thread 0xb8089920 (LWP 2702))]

Thread 1 (Thread 0xb8089920 (LWP 2702)):
[KCrash Handler]
#6  0x00110416 in __kernel_vsyscall ()
#7  0x0158e660 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x01590028 in abort () at abort.c:88
#9  0x00c1a325 in qt_message_output (msgType=QtFatalMsg, buf=0xbf9bd250 "ASSERT: \"container\" in file /home/trever/Projects/kde/kdebase/apps/konsole/src/ViewManager.cpp, line 856")
    at /home/trever/Projects/kde/qt-copy/src/corelib/global/qglobal.cpp:2102
#10 0x00c1a3d6 in qFatal (msg=0xd44bf8 "ASSERT: \"%s\" in file %s, line %d") at /home/trever/Projects/kde/qt-copy/src/corelib/global/qglobal.cpp:2303
#11 0x00c1a465 in qt_assert (assertion=0x1df4e5 "container", file=0x1df08c "/home/trever/Projects/kde/kdebase/apps/konsole/src/ViewManager.cpp", line=856)
    at /home/trever/Projects/kde/qt-copy/src/corelib/global/qglobal.cpp:1872
#12 0x001bb495 in Konsole::ViewManager::viewProperties (this=0xa01bae8) at /home/trever/Projects/kde/kdebase/apps/konsole/src/ViewManager.cpp:856
#13 0x001d01ad in Konsole::MainWindow::queryClose (this=0x9f9dda8) at /home/trever/Projects/kde/kdebase/apps/konsole/src/MainWindow.cpp:352
#14 0x0082a6b0 in KMainWindow::closeEvent (this=0x9f9dda8, e=0xbf9bf884) at /home/trever/Projects/kde/kdelibs/kdeui/widgets/kmainwindow.cpp:583
#15 0x00f4dfb8 in QWidget::event (this=0x9f9dda8, event=0xbf9bf884) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qwidget.cpp:7313
#16 0x012542a7 in QMainWindow::event (this=0x9f9dda8, event=0xbf9bf884) at /home/trever/Projects/kde/qt-copy/src/gui/widgets/qmainwindow.cpp:1268
#17 0x008293f7 in KMainWindow::event (this=0x9f9dda8, ev=0xbf9bf884) at /home/trever/Projects/kde/kdelibs/kdeui/widgets/kmainwindow.cpp:1081
#18 0x0086e22c in KXmlGuiWindow::event (this=0x9f9dda8, ev=0xbf9bf884) at /home/trever/Projects/kde/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#19 0x00efbbec in QApplicationPrivate::notify_helper (this=0x9f1b6f0, receiver=0x9f9dda8, e=0xbf9bf884) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qapplication.cpp:3803
#20 0x00f02d9a in QApplication::notify (this=0xbf9bffd4, receiver=0x9f9dda8, e=0xbf9bf884) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qapplication.cpp:3768
#21 0x0074044d in KApplication::notify (this=0xbf9bffd4, receiver=0x9f9dda8, event=0xbf9bf884) at /home/trever/Projects/kde/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0x00cfbf41 in QCoreApplication::notifyInternal (this=0xbf9bffd4, receiver=0x9f9dda8, event=0xbf9bf884) at /home/trever/Projects/kde/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#23 0x00f4ed32 in QWidgetPrivate::close_helper (this=0x9f8e9b0, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#24 0x00f5385b in QApplication::x11ClientMessage (this=0xbf9bffd4, w=0x9f9dda8, event=0xbf9bfcfc, passive_only=6) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qapplication_x11.cpp:4808
#25 0x00f5f8fc in QApplication::x11ProcessEvent (this=0xbf9bffd4, event=0xbf9bfcfc) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qapplication_x11.cpp:3291
#26 0x00f85ef2 in x11EventSourceDispatch (s=0x9f24cb0, callback=0, user_data=0x0) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#27 0x072eae38 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x072ee4e3 in ?? () from /lib/libglib-2.0.so.0
#29 0x072ee6a1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00d226b8 in QEventDispatcherGlib::processEvents (this=0x9f1b688, flags={i = 4}) at /home/trever/Projects/kde/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#31 0x00f856e5 in QGuiEventDispatcherGlib::processEvents (this=0x9f1b688, flags={i = 4}) at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#32 0x00cfa6aa in QEventLoop::processEvents (this=0xbf9bff50, flags={i = 4}) at /home/trever/Projects/kde/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#33 0x00cfa86a in QEventLoop::exec (this=0xbf9bff50, flags={i = 0}) at /home/trever/Projects/kde/qt-copy/src/corelib/kernel/qeventloop.cpp:190
#34 0x00cfcaed in QCoreApplication::exec () at /home/trever/Projects/kde/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#35 0x00efba67 in QApplication::exec () at /home/trever/Projects/kde/qt-copy/src/gui/kernel/qapplication.cpp:3331
#36 0x001d26d2 in kdemain (argc=5, argv=0xbf9c0104) at /home/trever/Projects/kde/kdebase/apps/konsole/src/main.cpp:104
#37 0x080486f2 in main (argc=) at /home/trever/Projects/kde/build/kdebase/apps/konsole/src/konsole_dummy.cpp:3
Comment 1 Stefan Usenbinz 2008-12-24 12:45:19 UTC
Same here with 4.1.85 packages for Kubuntu 8.10:
Application: Konsole (konsole), signal SIGABRT

Thread 1 (Thread 0xb60a16c0 (LWP 6351)):
[KCrash Handler]
#6  0xb8088430 in __kernel_vsyscall ()
#7  0xb665b880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb665d248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb739c795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb739c872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb739c915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb802ad05 in Konsole::ViewManager::viewProperties (this=0x958bc60) at /build/buildd/kdebase-4.1.85/apps/konsole/src/ViewManager.cpp:856
#13 0xb803fa7d in Konsole::MainWindow::queryClose (this=0x9532888) at /build/buildd/kdebase-4.1.85/apps/konsole/src/MainWindow.cpp:344
#14 0xb7ad0540 in KMainWindow::closeEvent (this=0x9532888, e=0xbf987304) at /build/buildd/kde4libs-4.1.85/kdeui/widgets/kmainwindow.cpp:583
#15 0xb6b90383 in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0xb6ee4517 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#17 0xb7acf287 in KMainWindow::event (this=0x9532888, ev=0xbf987304) at /build/buildd/kde4libs-4.1.85/kdeui/widgets/kmainwindow.cpp:1081
#18 0xb7b1424c in KXmlGuiWindow::event (this=0x9532888, ev=0xbf987304) at /build/buildd/kde4libs-4.1.85/kdeui/xmlgui/kxmlguiwindow.cpp:131
#19 0xb6b388ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb6b407fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb79e5d3d in KApplication::notify (this=0xbf987aa4, receiver=0x9532888, event=0xbf987304) at /build/buildd/kde4libs-4.1.85/kdeui/kernel/kapplication.cpp:307
#22 0xb7494e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb6b934b3 in QWidgetPrivate::close_helper () from /usr/lib/libQtGui.so.4
#24 0xb6b9860b in QApplication::x11ClientMessage () from /usr/lib/libQtGui.so.4
#25 0xb6ba96ec in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#26 0xb6bd37aa in ?? () from /usr/lib/libQtGui.so.4
#27 0xb63d86f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb63dbda3 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb63dbf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb74bf478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb6bd2ea5 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb749352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb74936ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0xb7495da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0xb6b38767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#36 0xb8041fa2 in kdemain (argc=5, argv=0xbf987bd4) at /build/buildd/kdebase-4.1.85/apps/konsole/src/main.cpp:104
#37 0x080486f2 in main (argc=) at /build/buildd/kdebase-4.1.85/obj-i486-linux-gnu/apps/konsole/src/konsole_dummy.cpp:3
Comment 2 Dario Andres 2009-01-16 17:55:13 UTC
*** Bug 180991 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-01-31 13:13:07 UTC
*** Bug 182553 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-02-04 20:07:53 UTC
*** Bug 183210 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-02-04 20:08:17 UTC
Isn't bug 180154 related to this too ?
Comment 6 Daniel Franke 2009-02-14 23:13:37 UTC
Same backtrace here after first login to newly updated kde-4.2 from kde-4.1.4 (gentoo ebuilds).
Comment 7 Dario Andres 2009-02-16 00:30:07 UTC
*** Bug 184374 has been marked as a duplicate of this bug. ***
Comment 8 Dmitry 2009-04-22 14:09:54 UTC
Same bug in Konsole 2.2.2, here is the backtrace:

Application: Konsole (konsole), signal SIGSEGV
0x00007f57f8ac48a0 in __nanosleep_nocancel () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7f57f9167750 (LWP 3816)):
[KCrash Handler]
#5  Konsole::ViewContainer::views (this=0x0) at /usr/include/qt4/QtCore/qlist.h:107
#6  0x00007f57f8e26569 in Konsole::ViewManager::viewProperties (this=<value optimized out>) at ../../../../apps/konsole/src/ViewManager.cpp:863
#7  0x00007f57f8e38d81 in Konsole::MainWindow::queryClose (this=0xe8bdb0) at ../../../../apps/konsole/src/MainWindow.cpp:344
#8  0x00007f57f78d95a1 in KMainWindow::closeEvent (this=0xe8bdb0, e=0x7fff01284d80) at ../../kdeui/widgets/kmainwindow.cpp:588
#9  0x00007f57f619ab87 in QWidget::event (this=0xe8bdb0, event=0x7fff01284d80) at kernel/qwidget.cpp:7313
#10 0x00007f57f64b244b in QMainWindow::event (this=0xe8bdb0, event=0x7fff01284d80) at widgets/qmainwindow.cpp:1268
#11 0x00007f57f7915b08 in KXmlGuiWindow::event (this=0x7fff01284480, ev=0x0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#12 0x00007f57f6148a5d in QApplicationPrivate::notify_helper (this=0xe261a0, receiver=0xe8bdb0, e=0x7fff01284d80) at kernel/qapplication.cpp:3803
#13 0x00007f57f61507da in QApplication::notify (this=0x7fff01285950, receiver=0xe8bdb0, e=0x7fff01284d80) at kernel/qapplication.cpp:3768
#14 0x00007f57f780b55b in KApplication::notify (this=0x7fff01285950, receiver=0xe8bdb0, event=0x7fff01284d80) at ../../kdeui/kernel/kapplication.cpp:307
#15 0x00007f57f6c24391 in QCoreApplication::notifyInternal (this=0x7fff01285950, receiver=0xe8bdb0, event=0x7fff01284d80) at kernel/qcoreapplication.cpp:587
#16 0x00007f57f619d9ca in QWidgetPrivate::close_helper (this=0xe8c000, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#17 0x00007f57f61a2185 in QApplication::x11ClientMessage (this=<value optimized out>, w=0xe8bdb0, event=0x7fff01285570, passive_only=32) at kernel/qapplication_x11.cpp:4810
#18 0x00007f57f61b326e in QApplication::x11ProcessEvent (this=0x7fff01285950, event=0x7fff01285570) at kernel/qapplication_x11.cpp:3293
#19 0x00007f57f61dacb4 in x11EventSourceDispatch (s=0xe22cc0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#20 0x00007f57f29c7e4a in IA__g_main_context_dispatch (context=0xe21d20) at /tmp/buildd/glib2.0-2.20.0/glib/gmain.c:1814
#21 0x00007f57f29cb510 in g_main_context_iterate (context=0xe21d20, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.20.0/glib/gmain.c:2448
#22 0x00007f57f29cb6ac in IA__g_main_context_iteration (context=0xe21d20, may_block=1) at /tmp/buildd/glib2.0-2.20.0/glib/gmain.c:2511
#23 0x00007f57f6c4c71f in QEventDispatcherGlib::processEvents (this=0xe268f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#24 0x00007f57f61da47f in QGuiEventDispatcherGlib::processEvents (this=0x7fff01284480, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#25 0x00007f57f6c22cb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 19421280}) at kernel/qeventloop.cpp:143
#26 0x00007f57f6c22e3d in QEventLoop::exec (this=0x7fff012858a0, flags={i = 19421360}) at kernel/qeventloop.cpp:194
#27 0x00007f57f6c252ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#28 0x00007f57f8e3afd4 in kdemain (argc=3, argv=0x7fff01285ba8) at ../../../../apps/konsole/src/main.cpp:104
#29 0x00007f57f8a445a6 in __libc_start_main (main=0x4006f0 <main>, argc=3, ubp_av=0x7fff01285ba8, init=0x400720 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff01285b98) at libc-start.c:222
#30 0x0000000000400629 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 9 Dario Andres 2009-06-07 15:23:38 UTC
@Dmitry: the last backtrace looks like bug 180154 (which could be related to this). Thanks
Comment 10 Kurt Hindenburg 2010-06-02 15:31:44 UTC
I believe this issue has been fixed.