Bug 239048 - Crashes on window close [Konsole::ScreenWindow::setTrackOutput, Konsole::SessionController::trackOutput, ..., Konsole::TerminalDisplay::keyPressedSignal] (SCIM related)
Summary: Crashes on window close [Konsole::ScreenWindow::setTrackOutput, Konsole::Sess...
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.4.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 234151 245391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-27 21:02 UTC by furue
Modified: 2011-08-15 10:54 UTC (History)
3 users (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 furue 2010-05-27 21:02:03 UTC
Application: konsole (2.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-trunk-686-bigmem i686
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
When I quit konsole by pressing Ctrl-D, this crash report assistant sometimes appears.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
[KCrash Handler]
#6  0x40215059 in Konsole::ScreenWindow::setTrackOutput (this=0x0, trackOutput=true) at ../../../../apps/konsole/src/ScreenWindow.cpp:237
#7  0x4021dcf1 in Konsole::SessionController::trackOutput (this=0x847f8c8, event=0xbf9237c0) at ../../../../apps/konsole/src/SessionController.cpp:197
#8  0x40228db2 in Konsole::SessionController::qt_metacall (this=0x847f8c8, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbf923768) at ./SessionController.moc:191
#9  0x40a05aea in QMetaObject::metacall (object=0x847f8c8, cl=4278190048, idx=50, argv=0xbf923768) at kernel/qmetaobject.cpp:237
#10 0x40a140b5 in QMetaObject::activate (sender=0x852a180, m=0x4026ad9c, local_signal_index=0, argv=0xbf923768) at kernel/qobject.cpp:3293
#11 0x40237133 in Konsole::TerminalDisplay::keyPressedSignal (this=0x852a180, _t1=0xbf9237c0) at ./TerminalDisplay.moc:163
#12 0x40238505 in Konsole::TerminalDisplay::inputMethodEvent (this=0x852a180, event=0xbf923da0) at ../../../../apps/konsole/src/TerminalDisplay.cpp:2540
#13 0x40cce5d7 in QWidget::event (this=0x852a180, event=0xbf923da0) at kernel/qwidget.cpp:8076
#14 0x40237bf5 in Konsole::TerminalDisplay::event (this=0x852a180, event=0xbf923da0) at ../../../../apps/konsole/src/TerminalDisplay.cpp:2648
#15 0x40c6fbec in QApplicationPrivate::notify_helper (this=0x8335398, receiver=0x852a180, e=0xbf923da0) at kernel/qapplication.cpp:4300
#16 0x40c767f9 in QApplication::notify (this=0xbf924b74, receiver=0x852a180, e=0xbf923da0) at kernel/qapplication.cpp:4265
#17 0x404607da in KApplication::notify (this=0xbf924b74, receiver=0x852a180, event=0xbf923da0) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x40a008eb in QCoreApplication::notifyInternal (this=0xbf924b74, receiver=0x852a180, event=0xbf923da0) at kernel/qcoreapplication.cpp:704
#19 0x412c8739 in QCoreApplication::sendEvent (this=0x85e8d28, event=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QInputContext::sendEvent (this=0x85e8d28, event=...) at inputmethod/qinputcontext.cpp:280
#21 0x412c86e8 in QInputContext::sendEvent (this=0x85d7448, event=...) at inputmethod/qinputcontext.cpp:271
#22 0x487cdc97 in ScimBridgeClientIMContextImpl::update_preedit() () from /usr/lib/qt4/plugins/inputmethods/im-scim-bridge.so
#23 0x487cde49 in ScimBridgeClientIMContextImpl::focus_out() () from /usr/lib/qt4/plugins/inputmethods/im-scim-bridge.so
#24 0x487cdee8 in ScimBridgeClientIMContextImpl::widgetDestroyed(QWidget*) () from /usr/lib/qt4/plugins/inputmethods/im-scim-bridge.so
#25 0x487bdec9 in QMultiInputContext::widgetDestroyed (this=0x85e8d28, w=0x8cda580) at qmultiinputcontext.cpp:176
#26 0x40d1cebd in QWidget::destroy (this=0x8cda580, destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:1102
#27 0x40cd5a89 in ~QWidget (this=0x8cda580, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1474
#28 0x43e78900 in ~TransitionWidget (this=0x8cda580, __in_chrg=<value optimized out>) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.h:55
#29 0x40a0fe6f in QObjectPrivate::deleteChildren (this=0x8d5b2b0) at kernel/qobject.cpp:1986
#30 0x40cd5a63 in ~QWidget (this=0x8cf3138, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#31 0x410c67a1 in ~QFrame (this=0x8cf3138, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#32 0x410ce060 in ~QLabel (this=0x8cf3138, __in_chrg=<value optimized out>) at widgets/qlabel.cpp:262
#33 0x4023b741 in ~TerminalDisplay (this=0x852a180, __in_chrg=<value optimized out>) at ../../../../apps/konsole/src/TerminalDisplay.cpp:388
#34 0x40a0fa45 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3998
#35 0x40a11108 in QObject::event (this=0x852a180, e=0x1) at kernel/qobject.cpp:1231
#36 0x40ccd9a6 in QWidget::event (this=0x852a180, event=0x8c6efb0) at kernel/qwidget.cpp:8455
#37 0x40237bf5 in Konsole::TerminalDisplay::event (this=0x852a180, event=0x8c6efb0) at ../../../../apps/konsole/src/TerminalDisplay.cpp:2648
#38 0x40c6fbec in QApplicationPrivate::notify_helper (this=0x8335398, receiver=0x852a180, e=0x8c6efb0) at kernel/qapplication.cpp:4300
#39 0x40c767f9 in QApplication::notify (this=0xbf924b74, receiver=0x852a180, e=0x8c6efb0) at kernel/qapplication.cpp:4265
#40 0x404607da in KApplication::notify (this=0xbf924b74, receiver=0x852a180, event=0x8c6efb0) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x40a008eb in QCoreApplication::notifyInternal (this=0xbf924b74, receiver=0x852a180, event=0x8c6efb0) at kernel/qcoreapplication.cpp:704
#42 0x40a032c3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x831baf8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x831baf8) at kernel/qcoreapplication.cpp:1345
#44 0x40a0342d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#45 0x40a2c7ff in QCoreApplication::sendPostedEvents (s=0x8340ca0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x8340ca0) at kernel/qeventdispatcher_glib.cpp:276
#47 0x41e212f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x41e24fd8 in ?? () from /lib/libglib-2.0.so.0
#49 0x41e251b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x40a2c2f5 in QEventDispatcherGlib::processEvents (this=0x83322c8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#51 0x40d2e255 in QGuiEventDispatcherGlib::processEvents (this=0x83322c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x409fef09 in QEventLoop::processEvents (this=0xbf924ad4, flags=) at kernel/qeventloop.cpp:149
#53 0x409ff35a in QEventLoop::exec (this=0xbf924ad4, flags=...) at kernel/qeventloop.cpp:201
#54 0x40a034ef in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x40c6fc87 in QApplication::exec () at kernel/qapplication.cpp:3579
#56 0x4003022b in kdemain (argc=1, argv=0xbf924c94) at ../../../../apps/konsole/src/main.cpp:77
#57 0x080485fb in main (argc=1, argv=0xbf924c94) at konsole_dummy.cpp:3

Reported using DrKonqi
Comment 1 Christoph Feck 2010-07-22 15:34:16 UTC
*** Bug 245391 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2010-07-22 15:36:13 UTC
Might be a bug in SCIM.
Comment 3 Dario Andres 2010-11-17 21:15:36 UTC
*** Bug 234151 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2011-08-15 10:54:52 UTC
Can't reproduce it in KDE-4.7.0. 

A recent commit [1] should add extra safeguard for such problem. 

AFAIK, scim is not well maintained any more. Switching to ibus may be a good idea.

[1] http://quickgit.kde.org/?p=konsole.git&a=commit&h=caece88d2c5b5b6f0da3dc048878831814aab9f3