Bug 297796 - crash when exiting tab with Ctrl+D when scim is running
Summary: crash when exiting tab with Ctrl+D when scim is running
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.7.4
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-09 18:38 UTC by miklos
Modified: 2012-08-20 14:05 UTC (History)
0 users

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 miklos 2012-04-09 18:38:16 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Iceweasel/11.0
Build Identifier: 

Reproducible 100%

Reproducible: Always

Steps to Reproduce:
1. open a second tab
2. split view
3. press ^D twice




Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fbb49ae50a0 in ?? () from /usr/lib/libkonsoleprivate.so
#7  0x00007fbb49af5549 in Konsole::SessionController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkonsoleprivate.so
#8  0x00007fbb489a04ba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#9  0x00007fbb49b0716f in Konsole::TerminalDisplay::keyPressedSignal(QKeyEvent*) () from /usr/lib/libkonsoleprivate.so
#10 0x00007fbb49b073e8 in Konsole::TerminalDisplay::inputMethodEvent(QInputMethodEvent*) () from /usr/lib/libkonsoleprivate.so
#11 0x00007fbb47dad2ba in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fbb49b07c48 in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib/libkonsoleprivate.so
#13 0x00007fbb47d5cdf4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fbb47d61c81 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007fbb4940fb26 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007fbb4898d76c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007fbb4830b20a in QInputContext::sendEvent(QInputMethodEvent const&) () from /usr/lib/libQtGui.so.4
#18 0x00007fbb4830b1b8 in QInputContext::sendEvent(QInputMethodEvent const&) () from /usr/lib/libQtGui.so.4
#19 0x00007fbb368370c3 in ScimBridgeClientIMContextImpl::update_preedit() () from /usr/lib/qt4/plugins/inputmethods/im-scim-bridge.so
#20 0x00007fbb36837deb in ScimBridgeClientIMContextImpl::focus_out() () from /usr/lib/qt4/plugins/inputmethods/im-scim-bridge.so
#21 0x00007fbb3683812f in ScimBridgeClientIMContextImpl::widgetDestroyed(QWidget*) () from /usr/lib/qt4/plugins/inputmethods/im-scim-bridge.so
#22 0x00007fbb47df7020 in QWidget::destroy(bool, bool) () from /usr/lib/libQtGui.so.4
#23 0x00007fbb47da894d in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#24 0x00007fbb49b035f9 in Konsole::TerminalDisplay::~TerminalDisplay() () from /usr/lib/libkonsoleprivate.so
#25 0x00007fbb489a4098 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fbb47dacf8b in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007fbb49b07c48 in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib/libkonsoleprivate.so
#28 0x00007fbb47d5cdf4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007fbb47d61c81 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007fbb4940fb26 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#31 0x00007fbb4898d76c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#32 0x00007fbb48990b48 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#33 0x00007fbb489b7fe3 in ?? () from /usr/lib/libQtCore.so.4
#34 0x00007fbb43f1979a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fbb43f19b60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fbb43f19c24 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fbb489b843f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007fbb47e012ee in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007fbb4898c972 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007fbb4898cb6f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x00007fbb48990d37 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#42 0x00007fbb4a0ee25a in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konsole.so
#43 0x00007fbb49d71ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff7e07c48) at libc-start.c:228
#44 0x00000000004006c1 in _start ()
Comment 1 Jekyll Wu 2012-04-09 20:43:16 UTC
Does it happen 100% if you kill (yes, kill. Deacviting SCIM is not enough) your input method SCIM? .
Comment 2 miklos 2012-04-20 18:32:59 UTC
I tried to kill scim, but it kept reloading, so I tested it in a virtual machine. There it didn't happen.
Comment 3 Jekyll Wu 2012-04-23 09:57:19 UTC
Thanks for your feedback. So this is another crash related with input method.  However, I fail to reproduce this crash using Debian Sid.

There is also bug 252602, which tracks similar problem(though the backtrace is different) when using ibus as input method. Could you try the step in bug 252602 comment #7 and see whether it also makes this crash happen? That would help finding whether the split view is a relevant condition in this crash.
Comment 4 Jekyll Wu 2012-08-20 12:07:08 UTC
If you can still reproduce it(I never managed to do in Sid), please install debug symbols( the konsole-dbg packge) and paste a better backtrace here.
Comment 5 miklos 2012-08-20 14:05:34 UTC
When I upgraded to kde 4.8.3 SCIM stopped working with Qt programs, and I finally had the right amount of incentive to switch to iBus (gtk3 also dropped support, but that wasn't enough). With this new setup the crash doesn't happen.