Bug 237882

Summary: KRunner crashed after typing "kill"
Product: [Plasma] krunner Reporter: Kai Krakow <kai>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Krakow 2010-05-16 22:50:09 UTC
Application: krunner (0.1)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-gentoo-r7 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I've just entered kill (which triggers the task killer runner), and instead of working, krunner froze for a few seconds (maybe 15-20) and then crashed with a segfault. I can reproduce such crashes more often when the system is under load (no matter which runner is triggered), so this is probably a timing or locking issue.

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 0xb581d700 (LWP 20061))]

Thread 5 (Thread 0xa5089b70 (LWP 18355)):
#0  0xb7871424 in __kernel_vsyscall ()
#1  0xb6c3d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6cdd864 in QWaitConditionPrivate::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb6c62b5a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x82601a8, th=0x82ce488)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6c653fd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x824a880, th=0x82ce488)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6c61733 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x82601a8, th=0x82ce488) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6c654e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x824a880, th=0x82ce488) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6c62813 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82601a8, th=0x82ce488, previous=0x12dd98b0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6c637e7 in ThreadWeaver::ThreadRunHelper::run (this=0xa5089320, parent=0x82601a8, th=0x82ce488) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#10 0xb6c63d3e in ThreadWeaver::Thread::run (this=0x82ce488) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#11 0xb6cdc9d5 in QThreadPrivate::start (arg=0x82ce488) at thread/qthread_unix.cpp:248
#12 0xb6c388cf in start_thread () from /lib/libpthread.so.0

Thread 4 (Thread 0xa32ffb70 (LWP 18356)):
#0  0xb7871424 in __kernel_vsyscall ()
#1  0xb6c3d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6cdd864 in QWaitConditionPrivate::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb6c62b5a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x82601a8, th=0x8295b70)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6c653fd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x824a880, th=0x8295b70)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6c61733 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x82601a8, th=0x8295b70) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6c654e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x824a880, th=0x8295b70) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6c62813 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82601a8, th=0x8295b70, previous=0x123c2000)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6c637e7 in ThreadWeaver::ThreadRunHelper::run (this=0xa32ff320, parent=0x82601a8, th=0x8295b70) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#10 0xb6c63d3e in ThreadWeaver::Thread::run (this=0x8295b70) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#11 0xb6cdc9d5 in QThreadPrivate::start (arg=0x8295b70) at thread/qthread_unix.cpp:248
#12 0xb6c388cf in start_thread () from /lib/libpthread.so.0

Thread 3 (Thread 0xa2afeb70 (LWP 18357)):
#0  0xb7871424 in __kernel_vsyscall ()
#1  0xb6c3d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6cdd864 in QWaitConditionPrivate::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb6c62b5a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x82601a8, th=0x8530860)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6c653fd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x824a880, th=0x8530860)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6c61733 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x82601a8, th=0x8530860) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6c654e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x824a880, th=0x8530860) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6c62813 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82601a8, th=0x8530860, previous=0x12722ff8)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6c637e7 in ThreadWeaver::ThreadRunHelper::run (this=0xa2afe320, parent=0x82601a8, th=0x8530860) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#10 0xb6c63d3e in ThreadWeaver::Thread::run (this=0x8530860) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#11 0xb6cdc9d5 in QThreadPrivate::start (arg=0x8530860) at thread/qthread_unix.cpp:248
#12 0xb6c388cf in start_thread () from /lib/libpthread.so.0

Thread 2 (Thread 0xa22fdb70 (LWP 18358)):
#0  0xb7871424 in __kernel_vsyscall ()
#1  0xb6c3d6d5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6cdd864 in QWaitConditionPrivate::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x82601c0, mutex=0x824a6d0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb6c62b5a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x82601a8, th=0x8365b20)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6c653fd in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x824a880, th=0x8365b20)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6c61733 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x82601a8, th=0x8365b20) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6c654e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x824a880, th=0x8365b20) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6c62813 in ThreadWeaver::WeaverImpl::applyForWork (this=0x82601a8, th=0x8365b20, previous=0x12cd6240)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6c637e7 in ThreadWeaver::ThreadRunHelper::run (this=0xa22fd320, parent=0x82601a8, th=0x8365b20) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#10 0xb6c63d3e in ThreadWeaver::Thread::run (this=0x8365b20) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#11 0xb6cdc9d5 in QThreadPrivate::start (arg=0x8365b20) at thread/qthread_unix.cpp:248
#12 0xb6c388cf in start_thread () from /lib/libpthread.so.0

Thread 1 (Thread 0xb581d700 (LWP 20061)):
[KCrash Handler]
#6  _dbus_connection_lock (connection=0x70f880) at dbus-connection.c:355
#7  0xb59ead43 in _dbus_pending_call_get_connection_and_lock (pending=0xa33a08b0) at dbus-pending-call.c:307
#8  0xb59ddb9e in reply_handler_timeout (data=0xa33a08b0) at dbus-connection.c:3163
#9  0xb59efb55 in dbus_timeout_handle (timeout=0xa3360448) at dbus-timeout.c:473
#10 0xb5e60ebd in q_dbus_timeout_handle (this=0x817d5c0, e=0xbfaadefc) at qdbus_symbols_p.h:172
#11 QDBusConnectionPrivate::timerEvent (this=0x817d5c0, e=0xbfaadefc) at qdbusintegrator.cpp:1035
#12 0xb6de5090 in QObject::event (this=0x817d5c0, e=0xbfaadefc) at kernel/qobject.cpp:1204
#13 0xb6364e0d in QApplicationPrivate::notify_helper (this=0x8182bf8, receiver=0x817d5c0, e=0xbfaadefc) at kernel/qapplication.cpp:4300
#14 0xb636be2d in QApplication::notify (this=0x81829f8, receiver=0x817d5c0, e=0xbfaadefc) at kernel/qapplication.cpp:3704
#15 0xb70b22ce in KApplication::notify (this=0x81829f8, receiver=0x817d5c0, event=0xbfaadefc) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#16 0xb6dd53e5 in QCoreApplication::notifyInternal (this=0x81829f8, receiver=0x817d5c0, event=0xbfaadefc) at kernel/qcoreapplication.cpp:704
#17 0xb6e023e8 in QCoreApplication::sendEvent (this=0x818559c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x818559c) at kernel/qeventdispatcher_unix.cpp:603
#19 0xb6dfee23 in timerSourceDispatch (source=0x8185a00) at kernel/qeventdispatcher_glib.cpp:184
#20 idleTimerSourceDispatch (source=0x8185a00) at kernel/qeventdispatcher_glib.cpp:231
#21 0xb5b2fb3e in g_main_dispatch (context=0x8184c90) at gmain.c:1960
#22 IA__g_main_context_dispatch (context=0x8184c90) at gmain.c:2513
#23 0xb5b32f11 in g_main_context_iterate (context=0x8184c90, block=1, dispatch=1, self=0x8181978) at gmain.c:2591
#24 0xb5b33072 in IA__g_main_context_iteration (context=0x8184c90, may_block=1) at gmain.c:2654
#25 0xb6dfeb4e in QEventDispatcherGlib::processEvents (this=0x81132f0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#26 0xb64176fe in QGuiEventDispatcherGlib::processEvents (this=0x81132f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0xb6dd3c7f in QEventLoop::processEvents (this=0xbfaae120, flags=...) at kernel/qeventloop.cpp:149
#28 0xb6dd4085 in QEventLoop::exec (this=0xbfaae120, flags=...) at kernel/qeventloop.cpp:201
#29 0xb6dd647f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0xb6364ea2 in QApplication::exec () at kernel/qapplication.cpp:3579
#31 0xb233747b in kdemain (argc=1, argv=0x81742f8) at /var/tmp/portage/kde-base/krunner-4.4.3/work/krunner-4.4.3/krunner/main.cpp:65
#32 0x0804e4f1 in launch (argc=1, _name=0x8127b64 "/usr/bin/krunner", args=0x8127b75 "", cwd=0x0, envc=0, envs=0x8127b79 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8051491 "0")
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:710
#33 0x0804ea8c in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:1202
#34 0x0804f031 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:1395
#35 0x0804fd53 in main (argc=4, argv=0xbfaaeaf4, envp=0xbfaaeb08) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kinit/kinit.cpp:1838

Possible duplicates by query: bug 237690, bug 236141, bug 235940, bug 235803, bug 235578.

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-05-21 21:09:51 UTC

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