Bug 318786 - Krusader crashes on closing file list panel tab due to input method plugin.
Summary: Krusader crashes on closing file list panel tab due to input method plugin.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4.0-beta1 "Migration"
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 00:04 UTC by Alexey A Nikitin
Modified: 2018-05-12 18:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey A Nikitin 2013-04-24 00:04:05 UTC
Application: krusader (2.4.0-beta1 "Migration")
KDE Platform Version: 4.10.2
Qt Version: 4.8.2
Operating System: Linux 3.8-8.towo-siduction-amd64 x86_64
Distribution: Debian GNU/Linux 7.0 (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
Opened new tab, initiated quicksearch, closed tab - that appears to be the minimum set of steps to reproduce crash on my system. The backtrace attached to this case is a result of just these three steps executed immediately after start of Krusader.

- Unusual behavior I noticed:
Just the crash itself, everything else works normally.

- Custom settings of the application:
Quicksearch is set to new style, crash doesn't occur with old style quicksearch. I have ibus-daemon running (stack trace appears to reference it), but I wasn't using any of the iBus input methods during quicksearch. In fact, it appears that neither of installed iBus input methods (anthy and pinyin) work in quicksearch text input control. I have following code in my ~/.profile to make use of iBus:

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

The crash can be reproduced every time.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff3165e2760 (LWP 23189))]

Thread 3 (Thread 0x7ff300aaa700 (LWP 23190)):
#0  0x00007ff310e26e33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff30cf5f624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff30cf5f744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff311ca8296 in QEventDispatcherGlib::processEvents (this=0x23e9390, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff311c788af in QEventLoop::processEvents (this=this@entry=0x7ff300aa9e10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff311c78b38 in QEventLoop::exec (this=0x7ff300aa9e10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff311b7bd70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff311c591bf in QInotifyFileSystemWatcherEngine::run (this=0x23e4060) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff311b7ed0b in QThreadPrivate::start (arg=0x23e4060) at thread/qthread_unix.cpp:307
#9  0x00007ff30ee2eb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007ff310e31a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff2f9ef6700 (LWP 23242)):
#0  0x00007ff310e26e33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff30cf5f624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff30cf5f744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff311ca8296 in QEventDispatcherGlib::processEvents (this=0x234b950, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff311c788af in QEventLoop::processEvents (this=this@entry=0x7ff2f9ef5e10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff311c78b38 in QEventLoop::exec (this=0x7ff2f9ef5e10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff311b7bd70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff311c591bf in QInotifyFileSystemWatcherEngine::run (this=0x24c5740) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff311b7ed0b in QThreadPrivate::start (arg=0x24c5740) at thread/qthread_unix.cpp:307
#9  0x00007ff30ee2eb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007ff310e31a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff3165e2760 (LWP 23189)):
[KCrash Handler]
#6  QCoreApplication::notifyInternal (this=0x7fff2137d9e0, receiver=0x2872d90, event=0x7fff2137c2f0) at kernel/qcoreapplication.cpp:902
#7  0x00007ff312ca09da in sendEvent (event=0x7fff2137c2f0, receiver=0x2872d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#8  QInputContext::sendEvent (this=<optimized out>, event=...) at inputmethod/qinputcontext.cpp:280
#9  0x00007ff312ca0988 in QInputContext::sendEvent (this=0x7ff2fc00c830, event=...) at inputmethod/qinputcontext.cpp:271
#10 0x00007ff2fa172cfc in IBusInputContext::displayPreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#11 0x00007ff2fa172ffb in IBusInputContext::slotUpdatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#12 0x00007ff2fa1770a0 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#13 0x00007ff311c8f54f in QMetaObject::activate (sender=0x7ff2fc00f420, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2137c770) at kernel/qobject.cpp:3547
#14 0x00007ff2f9f47921 in IBus::InputContext::updatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#15 0x00007ff2f9f3b60f in IBus::InputContext::slotUpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#16 0x00007ff2f9f475ca in ?? () from /usr/lib/libibus-qt.so.1
#17 0x00007ff311c8f54f in QMetaObject::activate (sender=0x7ff2fc0390a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2137c970) at kernel/qobject.cpp:3547
#18 0x00007ff2f9f46f5b in IBusInputContextProxy::UpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#19 0x00007ff2f9f46382 in ?? () from /usr/lib/libibus-qt.so.1
#20 0x00007ff2f9f46ae2 in IBusInputContextProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libibus-qt.so.1
#21 0x00007ff3118a4c13 in QDBusConnectionPrivate::deliverCall (this=0x7ff2fc013790, object=0x7ff2fc0390a0, msg=..., metaTypes=..., slotIdx=22) at qdbusintegrator.cpp:947
#22 0x00007ff311c8ea2e in QObject::event (this=0x7ff2fc0390a0, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x00007ff3126f770c in QApplicationPrivate::notify_helper (this=this@entry=0x2093620, receiver=receiver@entry=0x7ff2fc0390a0, e=e@entry=0x2819730) at kernel/qapplication.cpp:4556
#24 0x00007ff3126fbb8a in QApplication::notify (this=0x7fff2137d9e0, receiver=0x7ff2fc0390a0, e=0x2819730) at kernel/qapplication.cpp:4417
#25 0x00007ff315575516 in KApplication::notify (this=0x7fff2137d9e0, receiver=0x7ff2fc0390a0, event=0x2819730) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007ff311c79b5e in QCoreApplication::notifyInternal (this=0x7fff2137d9e0, receiver=receiver@entry=0x7ff2fc0390a0, event=event@entry=0x2819730) at kernel/qcoreapplication.cpp:915
#27 0x00007ff311c7d9e1 in sendEvent (event=0x2819730, receiver=0x7ff2fc0390a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x205d690) at kernel/qcoreapplication.cpp:1539
#29 0x00007ff311ca80e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x2091f50) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007ff30cf5f355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ff30cf5f688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ff30cf5f744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ff311ca8276 in QEventDispatcherGlib::processEvents (this=0x205eff0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007ff31279883e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007ff311c788af in QEventLoop::processEvents (this=this@entry=0x7fff2137d5d0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007ff311c78b38 in QEventLoop::exec (this=0x7fff2137d5d0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007ff311c7dcf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x0000000000450873 in main (argc=5, argv=<optimized out>) at /home/packages/tmp/krusader-2.4.0~beta1+git76+de1ea35/krusader/main.cpp:320

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-05-04 09:20:21 UTC
What if you use a different input method, like fcitx ? The backtrace implies it might be a problem of ibus.
Comment 2 Alexey A Nikitin 2013-05-05 19:05:39 UTC
On Saturday 04 May 2013 04:20:21 you wrote:
> https://bugs.kde.org/show_bug.cgi?id=318786
> 
> --- Comment #1 from Jekyll Wu <adaptee@gmail.com> ---
> What if you use a different input method, like fcitx ? The backtrace
> implies it might be a problem of ibus.

So far I was unable to reproduce the crash with fcitx.
Comment 3 Alex Bikadorov 2018-05-12 18:49:47 UTC
Please try again with Krusader 2.5 or higher.