Bug 234151 - konsole sometimes crashes on tab/window close
Summary: konsole sometimes crashes on tab/window close
Status: RESOLVED DUPLICATE of bug 239048
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 14:10 UTC by Jason
Modified: 2010-11-17 21:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason 2010-04-12 14:10:17 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    openSUSE RPMs


Application: konsole (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) "release 238"
Qt Version: 4.6.3
Operating System: Linux 2.6.31.5-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
Using konsole like normal, then I hit control+d or type exit, and by chance all my konsoles are gone :(. Never happened when 4.4 was first released.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Konsole (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fe5eb969fa0 in ?? () from /usr/lib64/libkonsoleprivate.so
#6  0x00007fe5eb97b329 in Konsole::SessionController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkonsoleprivate.so
#7  0x00007fe5f8cd4756 in QMetaObject::activate (sender=0x8bc5a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfeffffe0) at kernel/qobject.cpp:3287
#8  0x00007fe5eb98895f in Konsole::TerminalDisplay::keyPressedSignal(QKeyEvent*) () from /usr/lib64/libkonsoleprivate.so
#9  0x00007fe5eb989a48 in Konsole::TerminalDisplay::inputMethodEvent(QInputMethodEvent*) () from /usr/lib64/libkonsoleprivate.so
#10 0x00007fe5f7edf001 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fe5eb98932d in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib64/libkonsoleprivate.so
#12 0x00007fe5f7e8930c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007fe5f7e8f8eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007fe5f9194506 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007fe5f8cc14fc in QCoreApplication::notifyInternal (this=0x7fff0b6b8220, receiver=0x8bc5a0, event=0x7fff0b6b7270) at kernel/qcoreapplication.cpp:704
#16 0x00007fe5f843f5b5 in QInputContext::sendEvent(QInputMethodEvent const&) () from /usr/lib64/libQtGui.so.4
#17 0x00007fe5f843f55d in QInputContext::sendEvent(QInputMethodEvent const&) () from /usr/lib64/libQtGui.so.4
#18 0x00007fe5e3def94c in ScimBridgeClientIMContextImpl::update_preedit() () from /usr/lib64/qt4/plugins/inputmethods/im-scim-bridge.lib64.so
#19 0x00007fe5e3defabb in ScimBridgeClientIMContextImpl::focus_out() () from /usr/lib64/qt4/plugins/inputmethods/im-scim-bridge.lib64.so
#20 0x00007fe5e3defb1f in ScimBridgeClientIMContextImpl::widgetDestroyed(QWidget*) () from /usr/lib64/qt4/plugins/inputmethods/im-scim-bridge.lib64.so
#21 0x00007fe5f7f27720 in QWidget::destroy(bool, bool) () from /usr/lib64/libQtGui.so.4
#22 0x00007fe5f7ee62a7 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#23 0x00007fe5f826d701 in QLabel::~QLabel() () from /usr/lib64/libQtGui.so.4
#24 0x00007fe5eb98c735 in Konsole::TerminalDisplay::~TerminalDisplay() () from /usr/lib64/libkonsoleprivate.so
#25 0x00007fe5f8cd12ed in QObject::event (this=0x8bc5a0, e=0xb74540) at kernel/qobject.cpp:1223
#26 0x00007fe5f7edec5f in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fe5eb98932d in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib64/libkonsoleprivate.so
#28 0x00007fe5f7e8930c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007fe5f7e8f8eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fe5f9194506 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x00007fe5f8cc14fc in QCoreApplication::notifyInternal (this=0x7fff0b6b8220, receiver=0x8bc5a0, event=0xb74540) at kernel/qcoreapplication.cpp:704
#32 0x00007fe5f8cc4b74 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#34 0x00007fe5f8ceafd3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#36 0x00007fe5f3f4cdde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fe5f3f507a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fe5f3f508d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fe5f8ceab13 in QEventDispatcherGlib::processEvents (this=0x684050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#40 0x00007fe5f7f37a3e in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007fe5f8cbfe12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007fe5f8cc01ec in QEventLoop::exec (this=0x7fff0b6b8170, flags=) at kernel/qeventloop.cpp:201
#43 0x00007fe5f8cc4e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0x00007fe5ebc2dd16 in kdemain () from /usr/lib64/libkdeinit4_konsole.so
#45 0x00000000004073b8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x662a16 "archer;1271073602;273588;21140_TIME299711386") at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:717
#46 0x0000000000408070 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1209
#47 0x0000000000408521 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1402
#48 0x0000000000409202 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1845

Report to https://bugs.kde.org
Comment 1 Dario Andres 2010-04-13 15:19:03 UTC
Konsole windows run in the same process, that causes all the instances to go down if one crashes...
- If you can reproduce the crash at will (or you experience this regularly), can you install the "kdebase4-debuginfo" package and post a complete backtrace here? (you can get more information at http://techbase.kde.org/User:DarioAndres/Basic_Guide_about_Crash_Reporting ) Thanks
Comment 2 Jason 2010-05-04 06:41:42 UTC
Posted as soon as it happened again after upgrading & having konsole debug symbols available.

Application: Konsole (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  Konsole::ScreenWindow::setTrackOutput (this=0x0, trackOutput=true) at /usr/src/debug/kdebase-4.4.2/apps/konsole/src/ScreenWindow.cpp:237
#6  0x00007f2195e20329 in Konsole::SessionController::qt_metacall (this=0x7d0bf0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe87ab1f0)
    at /usr/src/debug/kdebase-4.4.2/build/apps/konsole/src/SessionController.moc:191
#7  0x00007f21a3181916 in QMetaObject::activate (sender=0xc8af70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfeffffe0) at kernel/qobject.cpp:3287
#8  0x00007f2195e2d95f in Konsole::TerminalDisplay::keyPressedSignal (this=0x0, _t1=0x7fffe87ab230) at /usr/src/debug/kdebase-4.4.2/build/apps/konsole/src/TerminalDisplay.moc:163
#9  0x00007f2195e2ea48 in Konsole::TerminalDisplay::inputMethodEvent (this=0xc8af70, event=0x7fffe87aba40) at /usr/src/debug/kdebase-4.4.2/apps/konsole/src/TerminalDisplay.cpp:2540
#10 0x00007f21a238b051 in QWidget::event (this=0xc8af70, event=0x7fffe87aba40) at kernel/qwidget.cpp:8122
#11 0x00007f2195e2e32d in Konsole::TerminalDisplay::event (this=0xc8af70, event=0x7fffe87aba40) at /usr/src/debug/kdebase-4.4.2/apps/konsole/src/TerminalDisplay.cpp:2648
#12 0x00007f21a233535c in QApplicationPrivate::notify_helper (this=0x676e10, receiver=0xc8af70, e=0x7fffe87aba40) at kernel/qapplication.cpp:4302
#13 0x00007f21a233b93b in QApplication::notify (this=0x7fffe87aca00, receiver=0xc8af70, e=0x7fffe87aba40) at kernel/qapplication.cpp:4185
#14 0x00007f21a3642506 in KApplication::notify (this=0x7fffe87aca00, receiver=0xc8af70, event=0x7fffe87aba40) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#15 0x00007f21a316e67c in QCoreApplication::notifyInternal (this=0x7fffe87aca00, receiver=0xc8af70, event=0x7fffe87aba40) at kernel/qcoreapplication.cpp:726
#16 0x00007f21a28ebcb5 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#17 QInputContext::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at inputmethod/qinputcontext.cpp:280
#18 0x00007f21a28ebc5d in QInputContext::sendEvent (this=0x10968c0, event=...) at inputmethod/qinputcontext.cpp:271
#19 0x00007f2192b1194c in ScimBridgeClientIMContextImpl::update_preedit() () from /usr/lib64/qt4/plugins/inputmethods/im-scim-bridge.lib64.so
#20 0x00007f2192b11abb in ScimBridgeClientIMContextImpl::focus_out() () from /usr/lib64/qt4/plugins/inputmethods/im-scim-bridge.lib64.so
#21 0x00007f2192b11b1f in ScimBridgeClientIMContextImpl::widgetDestroyed(QWidget*) () from /usr/lib64/qt4/plugins/inputmethods/im-scim-bridge.lib64.so
#22 0x00007f21a23d3810 in QWidget::destroy (this=0xc83980, destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:1088
#23 0x00007f21a2392357 in QWidget::~QWidget (this=0xc83980, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1481
#24 0x00007f21a27199a1 in QLabel::~QLabel (this=0xc83980, __in_chrg=<value optimized out>) at widgets/qlabel.cpp:262
#25 0x00007f2195e31735 in Konsole::TerminalDisplay::~TerminalDisplay (this=0xc8af70, __in_chrg=<value optimized out>) at /usr/src/debug/kdebase-4.4.2/apps/konsole/src/TerminalDisplay.cpp:388
#26 0x00007f21a317e4ad in QObject::event (this=0xc8af70, e=0x11e5200) at kernel/qobject.cpp:1223
#27 0x00007f21a238acaf in QWidget::event (this=0xc8af70, event=0x11e5200) at kernel/qwidget.cpp:8501
#28 0x00007f2195e2e32d in Konsole::TerminalDisplay::event (this=0xc8af70, event=0x11e5200) at /usr/src/debug/kdebase-4.4.2/apps/konsole/src/TerminalDisplay.cpp:2648
#29 0x00007f21a233535c in QApplicationPrivate::notify_helper (this=0x676e10, receiver=0xc8af70, e=0x11e5200) at kernel/qapplication.cpp:4302
#30 0x00007f21a233b93b in QApplication::notify (this=0x7fffe87aca00, receiver=0xc8af70, e=0x11e5200) at kernel/qapplication.cpp:4185
#31 0x00007f21a3642506 in KApplication::notify (this=0x7fffe87aca00, receiver=0xc8af70, event=0x11e5200) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#32 0x00007f21a316e67c in QCoreApplication::notifyInternal (this=0x7fffe87aca00, receiver=0xc8af70, event=0x11e5200) at kernel/qcoreapplication.cpp:726
#33 0x00007f21a3171d34 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1367
#35 0x00007f21a3198193 in sendPostedEvents () at kernel/qcoreapplication.h:220
#36 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#37 0x00007f219e3f2dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f219e3f67b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f219e3f68e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f21a3197cd3 in QEventDispatcherGlib::processEvents (this=0x61a8e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00007f21a23e3b2e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f21a316cf92 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f21a316d36c in QEventLoop::exec (this=0x7fffe87ac950, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f21a317201b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#45 0x00007f21960d2d16 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.4.2/apps/konsole/src/main.cpp:77
#46 0x00000000004073b8 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x409c52 "0") at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:717
#47 0x0000000000408070 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1209
#48 0x0000000000408521 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1402
#49 0x0000000000409202 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1845
Comment 3 Dario Andres 2010-11-17 21:15:36 UTC
[Comment from a bug triager]
This issue is being tracked at bug 239048. Merging. Thanks

*** This bug has been marked as a duplicate of bug 239048 ***