Bug 193822

Summary: KRunner crashed when I selected application to launch
Product: [Plasma] krunner Reporter: Jure Repinc <jlp>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jure Repinc 2009-05-24 00:14:53 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-rc6 x86_64

What I was doing when the application crashed:
I'm using kdelibs r971847 and kdebase r971878 from trunk. The crash happened when I opened KRunner with Alt+F2, started typing "lokal" until Lokalize showed up as the first result and then I quickly pressed Enter and KRunner crashed at this point. This doesn't happen always, just sometimes.

 -- Backtrace:
Application: Poženi ukazni vmesnik (kdeinit), signal: Aborted
133	                 : "memory");
[Current thread is 0 (LWP 5109)]

Thread 5 (Thread 0x7fd8a615c910 (LWP 5359)):
#0  0x00007fd8c539f269 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd8c5623279 in QWaitConditionPrivate::wait (this=0x2346ee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8c5622dd6 in QWaitCondition::wait (this=0x2329878, mutex=0x2346e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8bc512de9 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2329850, th=0x22511c0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd8bc51752f in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x2346de0, th=0x22511c0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007fd8bc51255e in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x2329850, th=0x22511c0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007fd8bc517627 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2346de0, th=0x22511c0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007fd8bc513025 in ThreadWeaver::WeaverImpl::applyForWork (this=0x2329850, th=0x22511c0, previous=0x2a4e510) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007fd8bc5158c4 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8a615bfb0, parent=0x2329850, th=0x22511c0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fd8bc515a59 in ThreadWeaver::Thread::run (this=0x22511c0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#10 0x00007fd8c5622a2d in QThreadPrivate::start (arg=0x22511c0) at thread/qthread_unix.cpp:189
#11 0x00007fd8c539b2d7 in start_thread () from /lib/libpthread.so.0
#12 0x00007fd8c1caf38d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd8a595b910 (LWP 5360)):
#0  0x00007fd8c539f269 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd8c5623279 in QWaitConditionPrivate::wait (this=0x2346ee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8c5622dd6 in QWaitCondition::wait (this=0x2329878, mutex=0x2346e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8bc512de9 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2329850, th=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd8bc51752f in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x2346de0, th=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007fd8bc51255e in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x2329850, th=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007fd8bc517627 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2346de0, th=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007fd8bc513025 in ThreadWeaver::WeaverImpl::applyForWork (this=0x2329850, th=0x26253f0, previous=0x0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007fd8bc51764a in ThreadWeaver::WorkingHardState::applyForWork (this=0x2346de0, th=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fd8bc513025 in ThreadWeaver::WeaverImpl::applyForWork (this=0x2329850, th=0x26253f0, previous=0x2a44090) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00007fd8bc5158c4 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8a595afb0, parent=0x2329850, th=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#11 0x00007fd8bc515a59 in ThreadWeaver::Thread::run (this=0x26253f0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#12 0x00007fd8c5622a2d in QThreadPrivate::start (arg=0x26253f0) at thread/qthread_unix.cpp:189
#13 0x00007fd8c539b2d7 in start_thread () from /lib/libpthread.so.0
#14 0x00007fd8c1caf38d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd8a515a910 (LWP 5361)):
[KCrash Handler]
#5  0x00007fd8c1c0f645 in raise () from /lib/libc.so.6
#6  0x00007fd8c1c10b63 in abort () from /lib/libc.so.6
#7  0x00007fd8c1c51280 in ?? () from /lib/libc.so.6
#8  0x00007fd8c561be60 in qFree (ptr=0x29f0d90) at global/qmalloc.cpp:60
#9  0x00007fd8c566c5f5 in QString::free (d=0x29f0d90) at tools/qstring.cpp:953
#10 0x00007fd8c5611484 in ~QString (this=0x29f0e28) at ../../include/QtCore/../../src/corelib/tools/qstring.h:866
#11 0x00007fd8c5739ac8 in v_clear<QString> (d=0x29f0e28) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:118
#12 0x00007fd8c5737a11 in clear (d=0x29f0e28) at kernel/qvariant.cpp:205
#13 0x00007fd8c291b3ef in clear (d=0x29f0e28) at kernel/qguivariant.cpp:225
#14 0x00007fd8c5732451 in ~QVariant (this=0x29f0e28) at kernel/qvariant.cpp:1359
#15 0x00007fd8c50186d5 in QMap<QString, QVariant>::freeData (this=0x29f0988, x=0x29f0ba0) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qmap.h:597
#16 0x00007fd8c5018731 in ~QMap (this=0x29f0988) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qmap.h:157
#17 0x00007fd8c502a50c in ~KServicePrivate (this=0x29f0900) at /home/kde-devel/kde/src/kdelibs/kdecore/services/kservice_p.h:30
#18 0x00007fd8c50bdda1 in ~KSycocaEntry (this=0x2ad1030) at /home/kde-devel/kde/src/kdelibs/kdecore/sycoca/ksycocaentry.cpp:42
#19 0x00007fd8c5026ef3 in ~KService (this=0x2ad1030) at /home/kde-devel/kde/src/kdelibs/kdecore/services/kservice.cpp:405
#20 0x00007fd8c4fa2392 in ~KSharedPtr (this=0x29f1390) at /home/kde-devel/kde/src/kdelibs/kdecore/util/ksharedptr.h:90
#21 0x00007fd8c502036b in QList<KSharedPtr<KService> >::node_destruct (this=0x7fd8a51599b0, n=0x2a3f410) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qlist.h:348
#22 0x00007fd8c50205f0 in QList<KSharedPtr<KService> >::erase (this=0x7fd8a51599b0, it={i = 0x7fd8a5159970}) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qlist.h:391
#23 0x00007fd8c503ac17 in KServiceTypeTrader::applyConstraints (lst=@0x7fd8a51599b0, constraint=@0x7fd8a5159bb0) at /home/kde-devel/kde/src/kdelibs/kdecore/services/kservicetypetrader.cpp:70
#24 0x00007fd8c503ad80 in KServiceTypeTrader::defaultOffers (this=0x2553c30, serviceType=@0x7fd8a5159c70, constraint=@0x7fd8a5159bb0)
    at /home/kde-devel/kde/src/kdelibs/kdecore/services/kservicetypetrader.cpp:127
#25 0x00007fd8c503aded in KServiceTypeTrader::query (this=0x2553c30, serviceType=@0x7fd8a5159c70, constraint=@0x7fd8a5159bb0)
    at /home/kde-devel/kde/src/kdelibs/kdecore/services/kservicetypetrader.cpp:141
#26 0x00007fd8aa243362 in ServiceRunner::match (this=0x2584c40, context=@0x2a8fc58) at /home/kde-devel/kde/src/kdebase/workspace/plasma/runners/services/servicerunner.cpp:87
#27 0x00007fd8be1d3226 in Plasma::AbstractRunner::performMatch (this=0x2584c40, localContext=@0x2a8fc58) at /home/kde-devel/kde/src/kdelibs/plasma/abstractrunner.cpp:160
#28 0x00007fd8be24b204 in Plasma::FindMatchesJob::run (this=0x2a8fc40) at /home/kde-devel/kde/src/kdelibs/plasma/private/runnerjobs.cpp:158
#29 0x00007fd8bc5163e7 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd8a5159f00, th=0x2261e80, job=0x2a8fc40) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Job.cpp:106
#30 0x00007fd8bc516621 in ThreadWeaver::Job::execute (this=0x2a8fc40, th=0x2261e80) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Job.cpp:135
#31 0x00007fd8bc515910 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8a5159fb0, parent=0x2329850, th=0x2261e80) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:95
#32 0x00007fd8bc515a59 in ThreadWeaver::Thread::run (this=0x2261e80) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#33 0x00007fd8c5622a2d in QThreadPrivate::start (arg=0x2261e80) at thread/qthread_unix.cpp:189
#34 0x00007fd8c539b2d7 in start_thread () from /lib/libpthread.so.0
#35 0x00007fd8c1caf38d in clone () from /lib/libc.so.6
#36 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd8a4959910 (LWP 5362)):
#0  0x00007fd8c539f269 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd8c5623279 in QWaitConditionPrivate::wait (this=0x2346ee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8c5622dd6 in QWaitCondition::wait (this=0x2329878, mutex=0x2346e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8bc512de9 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2329850, th=0x25e0dd0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd8bc51752f in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x2346de0, th=0x25e0dd0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007fd8bc51255e in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x2329850, th=0x25e0dd0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007fd8bc517627 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2346de0, th=0x25e0dd0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007fd8bc513025 in ThreadWeaver::WeaverImpl::applyForWork (this=0x2329850, th=0x25e0dd0, previous=0x29ec310) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007fd8bc5158c4 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8a4958fb0, parent=0x2329850, th=0x25e0dd0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fd8bc515a59 in ThreadWeaver::Thread::run (this=0x25e0dd0) at /home/kde-devel/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#10 0x00007fd8c5622a2d in QThreadPrivate::start (arg=0x25e0dd0) at thread/qthread_unix.cpp:189
#11 0x00007fd8c539b2d7 in start_thread () from /lib/libpthread.so.0
#12 0x00007fd8c1caf38d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd8c5c09750 (LWP 5109)):
#0  0x00007fd8c4f8b968 in QBasicAtomicInt::deref (this=0x22ccd90) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#1  0x00007fd8c4f8bcad in ~QByteArray (this=0x22cf830) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qbytearray.h:375
#2  0x00007fd8c4fe0386 in ~Area (this=0x22cf830) at /home/kde-devel/kde/src/kdelibs/kdecore/io/kdebug.cpp:192
#3  0x00007fd8c4fe03a1 in ~QHashNode (this=0x22cf820) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qhash.h:210
#4  0x00007fd8c4fe03bd in QHash<unsigned int, KDebugPrivate::Area>::deleteNode (this=0x219fee8, node=0x22cf820) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qhash.h:494
#5  0x00007fd8c4fe042a in QHash<unsigned int, KDebugPrivate::Area>::freeData (this=0x219fee8, x=0x2295d10) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qhash.h:551
#6  0x00007fd8c4fe0575 in ~QHash (this=0x219fee8) at /home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qhash.h:269
#7  0x00007fd8c4fe10be in ~KDebugPrivate (this=0x219fed0) at /home/kde-devel/kde/src/kdelibs/kdecore/io/kdebug.cpp:235
#8  0x00007fd8c4fdf92d in destroy () at /home/kde-devel/kde/src/kdelibs/kdecore/io/kdebug.cpp:585
#9  0x00007fd8c4fa8941 in ~KCleanUpGlobalStatic (this=0x7fd8c5391af0) at /home/kde-devel/kde/src/kdelibs/kdecore/kernel/kglobal.h:62
#10 0x00007fd8c1c12225 in ?? () from /lib/libc.so.6
#11 0x00007fd8c1c12285 in exit () from /lib/libc.so.6
#12 0x00007fd8c2945e41 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#13 0x00007fd8c3ae0a39 in KApplication::xioErrhandler (this=0x21ca2f0, dpy=0x21ddc60) at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:408
#14 0x00007fd8c3ae0a67 in kde_xio_errhandler (dpy=0x21ddc60) at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:125
#15 0x00007fd8c49dfdc4 in _XIOError () from /usr/lib/libX11.so.6
#16 0x00007fd8c49e75f8 in ?? () from /usr/lib/libX11.so.6
#17 0x00007fd8c49e7d46 in _XEventsQueued () from /usr/lib/libX11.so.6
#18 0x00007fd8c49d09c3 in XEventsQueued () from /usr/lib/libX11.so.6
#19 0x00007fd8c297ee51 in x11EventSourcePrepare (s=0x21cdf60, timeout=0x7fffbbfd58f4) at kernel/qguieventdispatcher_glib.cpp:79
#20 0x00007fd8c15286fa in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#21 0x00007fd8c1528b07 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007fd8c1528f7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007fd8c573f48a in QEventDispatcherGlib::processEvents (this=0x2157a30, flags={i = -1141024176}) at kernel/qeventdispatcher_glib.cpp:324
#24 0x00007fd8c297e937 in QGuiEventDispatcherGlib::processEvents (this=0x2157a30, flags={i = -1141024080}) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007fd8c570eae3 in QEventLoop::processEvents (this=0x7fffbbfd5b70, flags={i = -1141023984}) at kernel/qeventloop.cpp:149
#26 0x00007fd8c570ecf0 in QEventLoop::exec (this=0x7fffbbfd5b70, flags={i = -1141023872}) at kernel/qeventloop.cpp:196
#27 0x00007fd8c57120aa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#28 0x00007fd8c28d6a3c in QApplication::exec () at kernel/qapplication.cpp:3526
#29 0x00007fd8baea412b in kdemain (argc=1, argv=0x21976f0) at /home/kde-devel/kde/src/kdebase/workspace/krunner/main.cpp:59
#30 0x000000000040763a in launch (argc=1, _name=0x2193628 "/home/kde-devel/kde/bin/krunner", args=0x2193648 "", cwd=0x0, envc=0, envs=0x2193650 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40b6b2 "0") at /home/kde-devel/kde/src/kdelibs/kinit/kinit.cpp:667
#31 0x0000000000407e65 in handle_launcher_request (sock=7, who=0x40b974 "launcher") at /home/kde-devel/kde/src/kdelibs/kinit/kinit.cpp:1159
#32 0x000000000040875a in handle_requests (waitForPid=0) at /home/kde-devel/kde/src/kdelibs/kinit/kinit.cpp:1352
#33 0x0000000000409088 in main (argc=2, argv=0x7fffbbfd6838, envp=0x7fffbbfd6850) at /home/kde-devel/kde/src/kdelibs/kinit/kinit.cpp:1779
Comment 1 Dario Andres 2009-05-24 00:37:16 UTC
I wonder if this could have a relation to bug 193800 because of:

#5  0x00007fcad2bd8170 in ?? () from /lib/libc.so.6
#6  0x00007fcad2bda000 in ?? () from /lib/libc.so.6
#7  0x00007fcad38ebe60 in qFree (ptr=0x21b0580) at global/qmalloc.cpp:60
#8  0x00007fcad393c5f5 in QString::free (d=0x21b0580) at tools/qstring.cpp:953
#9  0x00007fcad6a41684 in ~QString (this=0x7fff73d8ce50) at
/home/kde-devel/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:866
Comment 2 Christoph Feck 2009-06-01 06:21:14 UTC
Dario, no, it is another XIOError...
Comment 3 Pino Toscano 2009-09-20 23:49:41 UTC

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