Bug 222403

Summary: application runner is stucked while typing and crashes sometimes
Product: [Plasma] krunner Reporter: Markus Hinkelmann <hinkelma>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, deluminathor, dion
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: another crash report
crash of krunner without amarok or nepomuk plugin enabled
New crash information added by DrKonqi

Description Markus Hinkelmann 2010-01-12 17:12:26 UTC
Application: krunner (0.1)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-18-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Sometimes when I press Alt+F2 to bring up the application runner and enter a prefix some wierd things happen:
Nearly always the runner is stucked. Then, sometimes 
1. the runner either closes without showing alternatives to launch,
2. or the runner shows the list of applications and is stucked again (sometimes crash, sometimes disappears, sometimes is stucked forever and I have to kill it), 
3. or the runner launches the application!

When the crash for this backtrace occured, I wanted to launch k3b. Two icons for k3b showed up and the runner crashed.

I think since 4.4 beta 1 the runner has been placed on the very top of the screen instead of the center. I don't know whether this is intended.


The crash can be reproduced some of the time.

 -- Backtrace:
Application: Oberfläche zur Ausführung von Befehlen (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76fc700 (LWP 3276))]

Thread 6 (Thread 0xab5d0b70 (LWP 3301)):
#0  0x006b1422 in __kernel_vsyscall ()
#1  0x00713e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01ca2307 in QWaitConditionPrivate::wait (this=0xa0f61c0, mutex=0xa0f61bc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa0f61c0, mutex=0xa0f61bc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00bac102 in QHostInfoAgent::run (this=0xa0f61b0) at kernel/qhostinfo.cpp:252
#5  0x01ca13ae in QThreadPrivate::start (arg=0xa0f61b0) at thread/qthread_unix.cpp:244
#6  0x0070f80e in start_thread (arg=0xab5d0b70) at pthread_create.c:300
#7  0x007ef8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaad1fb70 (LWP 4672)):
#0  0x006b1422 in __kernel_vsyscall ()
#1  0x00713e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01ca2307 in QWaitConditionPrivate::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x008a28a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9e201b0, th=0x9ea01e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x008a541c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9e17e60, th=0x9ea01e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x008a126b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9e201b0, th=0x9ea01e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x008a5512 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9e17e60, th=0x9ea01e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x008a2b23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9e201b0, th=0x9ea01e8, previous=0xc763d40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x008a34fe in ThreadWeaver::ThreadRunHelper::run (this=0xaad1f304, parent=0x9e201b0, th=0x9ea01e8) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x008a3b1b in ThreadWeaver::Thread::run (this=0x9ea01e8) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x01ca13ae in QThreadPrivate::start (arg=0x9ea01e8) at thread/qthread_unix.cpp:244
#12 0x0070f80e in start_thread (arg=0xaad1fb70) at pthread_create.c:300
#13 0x007ef8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaa51ab70 (LWP 4673)):
#0  0x006b1422 in __kernel_vsyscall ()
#1  0x00713e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01ca2307 in QWaitConditionPrivate::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x008a28a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9e201b0, th=0x9e06478) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x008a541c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9e17e60, th=0x9e06478) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x008a126b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9e201b0, th=0x9e06478) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x008a5512 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9e17e60, th=0x9e06478) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x008a2b23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9e201b0, th=0x9e06478, previous=0xc789898) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x008a34fe in ThreadWeaver::ThreadRunHelper::run (this=0xaa51a304, parent=0x9e201b0, th=0x9e06478) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x008a3b1b in ThreadWeaver::Thread::run (this=0x9e06478) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x01ca13ae in QThreadPrivate::start (arg=0x9e06478) at thread/qthread_unix.cpp:244
#12 0x0070f80e in start_thread (arg=0xaa51ab70) at pthread_create.c:300
#13 0x007ef8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa91e2b70 (LWP 5639)):
#0  0x006b1422 in __kernel_vsyscall ()
#1  0x00713e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01ca2307 in QWaitConditionPrivate::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x008a28a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9e201b0, th=0xa24d798) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x008a541c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9e17e60, th=0xa24d798) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x008a126b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9e201b0, th=0xa24d798) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x008a5512 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9e17e60, th=0xa24d798) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x008a2b23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9e201b0, th=0xa24d798, previous=0xc78b890) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x008a34fe in ThreadWeaver::ThreadRunHelper::run (this=0xa91e2304, parent=0x9e201b0, th=0xa24d798) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x008a3b1b in ThreadWeaver::Thread::run (this=0xa24d798) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x01ca13ae in QThreadPrivate::start (arg=0xa24d798) at thread/qthread_unix.cpp:244
#12 0x0070f80e in start_thread (arg=0xa91e2b70) at pthread_create.c:300
#13 0x007ef8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa89e1b70 (LWP 5640)):
#0  0x006b1422 in __kernel_vsyscall ()
#1  0x00713e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x01ca2307 in QWaitConditionPrivate::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9e201c8, mutex=0x9e13a48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x008a28a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9e201b0, th=0x9e85bd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x008a541c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9e17e60, th=0x9e85bd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x008a126b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9e201b0, th=0x9e85bd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x008a5512 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9e17e60, th=0x9e85bd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x008a2b23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9e201b0, th=0x9e85bd8, previous=0xc7e0920) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x008a34fe in ThreadWeaver::ThreadRunHelper::run (this=0xa89e1304, parent=0x9e201b0, th=0x9e85bd8) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x008a3b1b in ThreadWeaver::Thread::run (this=0x9e85bd8) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x01ca13ae in QThreadPrivate::start (arg=0x9e85bd8) at thread/qthread_unix.cpp:244
#12 0x0070f80e in start_thread (arg=0xa89e1b70) at pthread_create.c:300
#13 0x007ef8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76fc700 (LWP 3276)):
[KCrash Handler]
#6  0x0506d795 in ~QGraphicsWidget (this=0xcbbebb0, __in_chrg=<value optimized out>) at graphicsview/qgraphicswidget.cpp:250
#7  0x05028eb0 in ~QGraphicsProxyWidget (this=0xcbbebb0, __in_chrg=<value optimized out>) at graphicsview/qgraphicsproxywidget.cpp:556
#8  0x091b367d in ~ToolButton (this=0xcbbebb0, __in_chrg=<value optimized out>) at ../../plasma/widgets/toolbutton.cpp:193
#9  0x050183f6 in qDeleteAll<QList<QGraphicsItem*>::const_iterator> (this=0xc9ceb98, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:322
#10 qDeleteAll<QList<QGraphicsItem*> > (this=0xc9ceb98, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:330
#11 ~QGraphicsItem (this=0xc9ceb98, __in_chrg=<value optimized out>) at graphicsview/qgraphicsitem.cpp:1351
#12 0x0506ee9e in ~QGraphicsObject (this=0xc9ceb90, __in_chrg=<value optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:537
#13 ~QGraphicsWidget (this=0xc9ceb90, __in_chrg=<value optimized out>) at graphicsview/qgraphicswidget.cpp:277
#14 0x050183f6 in qDeleteAll<QList<QGraphicsItem*>::const_iterator> (this=0xa74a640, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:322
#15 qDeleteAll<QList<QGraphicsItem*> > (this=0xa74a640, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:330
#16 ~QGraphicsItem (this=0xa74a640, __in_chrg=<value optimized out>) at graphicsview/qgraphicsitem.cpp:1351
#17 0x0506d90e in ~QGraphicsObject (this=0xa74a638, __in_chrg=<value optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:537
#18 ~QGraphicsWidget (this=0xa74a638, __in_chrg=<value optimized out>) at graphicsview/qgraphicswidget.cpp:277
#19 0x0168c1a3 in ~ResultItem (this=0xa74a638, __in_chrg=<value optimized out>) at ../../krunner/interfaces/default/resultitem.cpp:89
#20 0x01db2285 in qDeleteInEventHandler (o=0xcbf5fb0) at kernel/qobject.cpp:4021
#21 0x01db38d8 in QObject::event (this=0xa74a638, e=0x0) at kernel/qobject.cpp:1243
#22 0x0506afb4 in QGraphicsWidget::event (this=0xa74a638, event=0xca1d638) at graphicsview/qgraphicswidget.cpp:1362
#23 0x049a019c in QApplicationPrivate::notify_helper (this=0x9ca02c8, receiver=0xa74a638, e=0xca1d638) at kernel/qapplication.cpp:4242
#24 0x049a6df7 in QApplication::notify (this=0x9ca00c8, receiver=0xa74a638, e=0xca1d638) at kernel/qapplication.cpp:3661
#25 0x0105167a in KApplication::notify (this=0x9ca00c8, receiver=0xa74a638, event=0xca1d638) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x01da2eab in QCoreApplication::notifyInternal (this=0x9ca00c8, receiver=0xa74a638, event=0xca1d638) at kernel/qcoreapplication.cpp:704
#27 0x01da58e3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9c35e38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9c35e38) at kernel/qcoreapplication.cpp:1345
#29 0x01da5a4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#30 0x01dcf0df in QCoreApplication::sendPostedEvents (s=0x9ca24c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0x9ca24c0) at kernel/qeventdispatcher_glib.cpp:276
#32 0x088dde88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x088e1730 in ?? () from /lib/libglib-2.0.so.0
#34 0x088e1863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x01dcebd5 in QEventDispatcherGlib::processEvents (this=0x9ca02a8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#36 0x04a5db75 in QGuiEventDispatcherGlib::processEvents (this=0x9ca02a8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x01da14c9 in QEventLoop::processEvents (this=0xbff2a984, flags=) at kernel/qeventloop.cpp:149
#38 0x01da191a in QEventLoop::exec (this=0xbff2a984, flags=...) at kernel/qeventloop.cpp:201
#39 0x01da5b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x049a0237 in QApplication::exec () at kernel/qapplication.cpp:3570
#41 0x01684eae in kdemain (argc=1, argv=0x9c91838) at ../../krunner/main.cpp:65
#42 0x0804dff7 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x9c84921 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051429 "0") at ../../kinit/kinit.cpp:706
#43 0x0804ec15 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1198
#44 0x0804f08c in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1391
#45 0x0804fe27 in main (argc=4, argv=0xbff2b404, envp=0xbff2b418) at ../../kinit/kinit.cpp:1830

Possible duplicates by query: bug 221253.

Reported using DrKonqi
Comment 1 Dion Moult 2010-01-15 14:04:01 UTC
Being placed at the top is not a bug and is the new default - it can be changed to be at the middle through some options.

As for the bug I'm experiencing it too - I think it is very similar to bug 203668 - please check and see if it solves this.
Comment 2 Markus Hinkelmann 2010-02-07 22:07:11 UTC
Created attachment 40594 [details]
another crash report

The behavior of bug 203668 seems to be similar. But for me the application crashes sometimes.
Amarok is not running, Nepomuk is. Currently I use KDE 4.4 rc2 from Kubuntu.
I'll try to disable Nepomuk...
Comment 3 Markus Hinkelmann 2010-02-28 21:03:33 UTC
(In reply to comment #1)
> Being placed at the top is not a bug and is the new default - it can be changed
> to be at the middle through some options.
> 
> As for the bug I'm experiencing it too - I think it is very similar to bug
> 203668 - please check and see if it solves this.

The bug is still there (KDE 4.4.0 with latest kubuntu packages). 
The plugins for amarok and nepomuk are disabled in the runner. Neither amarok nor strigi indexing was active, nepomuk was enabled though. Attached you'll find details of the crash.
Comment 4 Markus Hinkelmann 2010-02-28 21:04:53 UTC
Created attachment 41218 [details]
crash of krunner without amarok or nepomuk plugin enabled
Comment 5 Mikołaj Pastuszko 2010-08-08 14:27:18 UTC
Created attachment 49917 [details]
New crash information added by DrKonqi

Sometimes when I try to run a command with Krunner it crashes unexpectedly.
Comment 6 Jekyll Wu 2011-12-03 15:06:59 UTC

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