Bug 194387 - Lancelot crashed when running app from the search bar
Summary: Lancelot crashed when running app from the search bar
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-lancelot (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 07:55 UTC by Daniel Duncan
Modified: 2009-06-14 14:59 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 Daniel Duncan 2009-05-28 07:55:21 UTC
Application that crashed: lancelot
Version of the application: 1.7
KDE Version: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
Qt Version: 4.5.1
Operating System: Linux 2.6.28.5 x86_64

What I was doing when the application crashed:
After selecting Lancelot with the mouse, I typed ark into the searcg bar and pressed the enter key.  I was then presented with this crash dialog, ark did not start.  I was unable to duplicate after selecting and typing ark a second time in the search bar, ark started without any issues.

 -- Backtrace:
Application: Lancelot (lancelot), signal: Segmentation fault
[Current thread is 0 (LWP 1473)]

Thread 5 (Thread 0x41fe8950 (LWP 1621)):
#0  0x00007f260e77bb99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f260e9efa65 in QWaitCondition::wait (this=<value optimized out>, mutex=0xb5e980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2609bf2cce in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /opt/lib/libthreadweaver.so.4
#3  0x00007f2609bf4f8b in ThreadWeaver::WorkingHardState::applyForWork () from /opt/lib/libthreadweaver.so.4
#4  0x00007f2609bf4fa4 in ThreadWeaver::WorkingHardState::applyForWork () from /opt/lib/libthreadweaver.so.4
#5  0x00007f2609bf3546 in ThreadWeaver::ThreadRunHelper::run () from /opt/lib/libthreadweaver.so.4
#6  0x00007f2609bf3979 in ThreadWeaver::Thread::run () from /opt/lib/libthreadweaver.so.4
#7  0x00007f260e9ef080 in QThreadPrivate::start (arg=0xe6f7c0) at thread/qthread_unix.cpp:189
#8  0x00007f260e7773f7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f260cff81dd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x427e9950 (LWP 1622)):
#0  0x00007f260e77bb99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f260e9efa65 in QWaitCondition::wait (this=<value optimized out>, mutex=0xb5e980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2609bf2cce in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /opt/lib/libthreadweaver.so.4
#3  0x00007f2609bf4f8b in ThreadWeaver::WorkingHardState::applyForWork () from /opt/lib/libthreadweaver.so.4
#4  0x00007f2609bf3546 in ThreadWeaver::ThreadRunHelper::run () from /opt/lib/libthreadweaver.so.4
#5  0x00007f2609bf3979 in ThreadWeaver::Thread::run () from /opt/lib/libthreadweaver.so.4
#6  0x00007f260e9ef080 in QThreadPrivate::start (arg=0xee1d30) at thread/qthread_unix.cpp:189
#7  0x00007f260e7773f7 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f260cff81dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x42fea950 (LWP 1623)):
#0  0x00007f260e77bb99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f260e9efa65 in QWaitCondition::wait (this=<value optimized out>, mutex=0xb5e980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2609bf2cce in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /opt/lib/libthreadweaver.so.4
#3  0x00007f2609bf4f8b in ThreadWeaver::WorkingHardState::applyForWork () from /opt/lib/libthreadweaver.so.4
#4  0x00007f2609bf3546 in ThreadWeaver::ThreadRunHelper::run () from /opt/lib/libthreadweaver.so.4
#5  0x00007f2609bf3979 in ThreadWeaver::Thread::run () from /opt/lib/libthreadweaver.so.4
#6  0x00007f260e9ef080 in QThreadPrivate::start (arg=0xe51a90) at thread/qthread_unix.cpp:189
#7  0x00007f260e7773f7 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f260cff81dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x437eb950 (LWP 1624)):
#0  0x00007f260e77bb99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f260e9efa65 in QWaitCondition::wait (this=<value optimized out>, mutex=0xb5e980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2609bf2cce in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /opt/lib/libthreadweaver.so.4
#3  0x00007f2609bf4f8b in ThreadWeaver::WorkingHardState::applyForWork () from /opt/lib/libthreadweaver.so.4
#4  0x00007f2609bf4fa4 in ThreadWeaver::WorkingHardState::applyForWork () from /opt/lib/libthreadweaver.so.4
#5  0x00007f2609bf3546 in ThreadWeaver::ThreadRunHelper::run () from /opt/lib/libthreadweaver.so.4
#6  0x00007f2609bf3979 in ThreadWeaver::Thread::run () from /opt/lib/libthreadweaver.so.4
#7  0x00007f260e9ef080 in QThreadPrivate::start (arg=0x7d2bf0) at thread/qthread_unix.cpp:189
#8  0x00007f260e7773f7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f260cff81dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2611a44750 (LWP 1473)):
[KCrash Handler]
#5  0x00007f26111a08af in Plasma::QueryMatch::run () from /opt/lib/libplasma.so.3
#6  0x00007f26111a226a in Plasma::RunnerContext::run () from /opt/lib/libplasma.so.3
#7  0x00007f26111a5a56 in Plasma::RunnerManager::run () from /opt/lib/libplasma.so.3
#8  0x00007f26111a5b82 in Plasma::RunnerManager::run () from /opt/lib/libplasma.so.3
#9  0x0000000000427195 in Models::Runner::activate ()
#10 0x00007f2610e5403d in Lancelot::ActionListModel::activated () from /opt/lib/liblancelot.so.0
#11 0x00007f2610e40242 in Lancelot::ActionListViewItemFactory::activate () from /opt/lib/liblancelot.so.0
#12 0x000000000043683d in LancelotWindow::eventFilter ()
#13 0x00007f260eabc8be in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x739e40, event=0x7fff19b832a0) at kernel/qcoreapplication.cpp:726
#14 0x00007f260dbd37c0 in QApplicationPrivate::notify_helper (this=0x6ba2f0, receiver=0x739e40, e=0x7fff19b832a0) at kernel/qapplication.cpp:4053
#15 0x00007f260dbdacb7 in QApplication::notify (this=<value optimized out>, receiver=0x739e40, e=0x7fff19b832a0) at kernel/qapplication.cpp:3663
#16 0x00007f260f6a042b in KApplication::notify () from /opt/lib/libkdeui.so.5
#17 0x00007f260eabc404 in QCoreApplication::notifyInternal (this=0x6a9530, receiver=0x739e40, event=0x7fff19b832a0) at kernel/qcoreapplication.cpp:606
#18 0x00007f260dbd3d8c in qt_sendSpontaneousEvent (receiver=0xe3cec0, event=0x7fff19b82cf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#19 0x00007f260dc52984 in QKeyMapper::sendKeyEvent (keyWidget=0x739e40, grab=<value optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=@0x7fff19b837e0, text=@0x7fff19b837d0, 
    autorepeat=<value optimized out>, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1675
#20 0x00007f260dc548f0 in QKeyMapperPrivate::translateKeyEvent (this=0x6db2c0, keyWidget=0x739e40, event=0x7fff19b84f20, grab=false) at kernel/qkeymapper_x11.cpp:1645
#21 0x00007f260dc31799 in QApplication::x11ProcessEvent (this=0x6a9530, event=0x7fff19b84f20) at kernel/qapplication_x11.cpp:3459
#22 0x00007f260dc55cf3 in x11EventSourceDispatch (s=0x6bd6a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0x00007f2607e139c4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f2607e16cc5 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f2607e171ab in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f260eae167f in QEventDispatcherGlib::processEvents (this=0x6b9960, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#27 0x00007f260dc55b3f in QGuiEventDispatcherGlib::processEvents (this=0x21, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x00007f260eabb835 in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fff19b851f0) at kernel/qeventloop.cpp:149
#29 0x00007f260eabb9a7 in QEventLoop::exec (this=0x7fff19b85230, flags=@0x7fff19b85240) at kernel/qeventloop.cpp:196
#30 0x00007f260eabda3c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#31 0x0000000000433007 in LancelotApplication::main ()
#32 0x00007f260cf3f164 in __libc_start_main () from /lib64/libc.so.6
#33 0x00000000004145c9 in _start ()
Comment 1 Ivan Čukić 2009-05-28 10:05:41 UTC
This crash appears sometimes, and it appears in KRunner as well. (or at least it did before)

Unfortunately, since it is not reproducible most of the time, it is virtually impossible to catch and fix it.
Comment 2 Stir Zoltan 2009-06-03 13:27:39 UTC
I can confirm this bug. Happening to me to, but even before I run programs. Seems like searching triggers it.
Comment 3 Ivan Čukić 2009-06-03 13:32:53 UTC
There is not much to add, as I've already mentioned, most of the search crashes are in the libraries that L uses. I've introduced a small hack in 4.3 (Lancelot 1.7) that will make these crashes rare.
Comment 4 Ivan Čukić 2009-06-14 14:59:04 UTC
Marking this as fixed since L hasn't crashed for me for quite some time.

Reopen if you experience the same backtrace with 4.3 beta 2 or later.