Bug 214332

Summary: KRunner crashed while entering text [Bookmarks runner]
Product: [Plasma] krunner Reporter: Michael Riegert <monte48lowes>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, wilderkde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Riegert 2009-11-13 01:55:55 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

 -- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb587d700 (LWP 15976))]

Thread 6 (Thread 0xa887db70 (LWP 16586)):
#0  0xb78b0422 in __kernel_vsyscall ()
#1  0xb619bae3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0xb6132f07 in _L_lock_9496 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6131796 in *__GI___libc_free (mem=0x8ca4520) at malloc.c:3714
#4  0xb6028186 in g_free () from /lib/libglib-2.0.so.0
#5  0xb601f861 in ?? () from /lib/libglib-2.0.so.0
#6  0xb77cbb4a in ~QEventDispatcherGlib (this=0x8ead618, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#7  0xb76affb8 in QThreadPrivate::finish (arg=0x8b28be8) at thread/qthread_unix.cpp:212
#8  0xb76afe3a in ~__pthread_cleanup_class (arg=0x8b28be8) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0x8b28be8) at thread/qthread_unix.cpp:190
#10 0xb5fd380e in start_thread (arg=0xa887db70) at pthread_create.c:300
#11 0xb618e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa807cb70 (LWP 17720)):
[KCrash Handler]
#6  0xb78b0422 in __kernel_vsyscall ()
#7  0xb60ec4d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb60ef932 in *__GI_abort () at abort.c:92
#9  0xb6122ee5 in __libc_message (do_abort=2, fmt=0xb61e6438 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0xb612cff1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x8e17e18) at malloc.c:6217
#11 0xb612e6f2 in _int_free (av=<value optimized out>, p=<value optimized out>) at malloc.c:4750
#12 0xb613179d in *__GI___libc_free (mem=0x8e17e18) at malloc.c:3716
#13 0xb62bf6f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#14 0xb5d98618 in ~QDomDocumentPrivate (this=0x8e17e18, __in_chrg=<value optimized out>) at dom/qdom.cpp:6202
#15 0xb5d90c2e in QDomNode::operator= (this=0x8eb1108, n=...) at dom/qdom.cpp:2062
#16 0xb5d93014 in QDomDocument::operator= (this=0x8eb1108, x=...) at dom/qdom.cpp:6648
#17 0xb71dee80 in KBookmarkManager::parse (this=0x8e1dfb0) at ../../kio/bookmarks/kbookmarkmanager.cc:323
#18 0xb71dfd51 in KBookmarkManager::internalDocument (this=0x8e1dfb0) at ../../kio/bookmarks/kbookmarkmanager.cc:306
#19 0xb71dfdaf in KBookmarkManager::root (this=0x8e1dfb0) at ../../kio/bookmarks/kbookmarkmanager.cc:434
#20 0xa8a2a4b4 in ?? () from /usr/lib/kde4/krunner_bookmarksrunner.so
#21 0xb55d20e4 in Plasma::AbstractRunner::performMatch (this=0x8e96aa8, localContext=...) at ../../plasma/abstractrunner.cpp:160
#22 0xb564aa4b in Plasma::FindMatchesJob::run (this=0x8f00558) at ../../plasma/private/runnerjobs.cpp:158
#23 0xb461937d in ThreadWeaver::JobRunHelper::runTheJob (this=0xa807c27c, th=0x8c28d20, job=0x8f00558) at ../../../threadweaver/Weaver/Job.cpp:106
#24 0xb46196e1 in ThreadWeaver::Job::execute (this=0x8f00558, th=0x8c28d20) at ../../../threadweaver/Weaver/Job.cpp:135
#25 0xb461838a in ThreadWeaver::ThreadRunHelper::run (this=0xa807c304, parent=0x8c47640, th=0x8c28d20) at ../../../threadweaver/Weaver/Thread.cpp:95
#26 0xb46189db in ThreadWeaver::Thread::run (this=0x8c28d20) at ../../../threadweaver/Weaver/Thread.cpp:142
#27 0xb76afe32 in QThreadPrivate::start (arg=0x8c28d20) at thread/qthread_unix.cpp:188
#28 0xb5fd380e in start_thread (arg=0xa807cb70) at pthread_create.c:300
#29 0xb618e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa787bb70 (LWP 17721)):
#0  0xb78b0422 in __kernel_vsyscall ()
#1  0xb5fd7e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb619b78d in __pthread_cond_wait (cond=0x8c476a8, mutex=0x8c47690) at forward.c:139
#3  0xb76b0e67 in QWaitConditionPrivate::wait (this=0x8c47658, mutex=0x8c41ec8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8c47658, mutex=0x8c41ec8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb4617b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8c47640, th=0x8ed2a90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb461a19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b509f0, th=0x8ed2a90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb46161fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8c47640, th=0x8ed2a90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb461a292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b509f0, th=0x8ed2a90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4617db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8c47640, th=0x8ed2a90, previous=0x8f6ca40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb46183be in ThreadWeaver::ThreadRunHelper::run (this=0xa787b304, parent=0x8c47640, th=0x8ed2a90) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb46189db in ThreadWeaver::Thread::run (this=0x8ed2a90) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb76afe32 in QThreadPrivate::start (arg=0x8ed2a90) at thread/qthread_unix.cpp:188
#13 0xb5fd380e in start_thread (arg=0xa787bb70) at pthread_create.c:300
#14 0xb618e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa707ab70 (LWP 17722)):
#0  0xb78b0422 in __kernel_vsyscall ()
#1  0xb5fd7e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb619b78d in __pthread_cond_wait (cond=0x8c476a8, mutex=0x8c47690) at forward.c:139
#3  0xb76b0e67 in QWaitConditionPrivate::wait (this=0x8c47658, mutex=0x8c41ec8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8c47658, mutex=0x8c41ec8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb4617b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8c47640, th=0x8dbb5b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb461a19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b509f0, th=0x8dbb5b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb46161fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8c47640, th=0x8dbb5b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb461a292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b509f0, th=0x8dbb5b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4617db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8c47640, th=0x8dbb5b0, previous=0x8f6d6f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb46183be in ThreadWeaver::ThreadRunHelper::run (this=0xa707a304, parent=0x8c47640, th=0x8dbb5b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb46189db in ThreadWeaver::Thread::run (this=0x8dbb5b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb76afe32 in QThreadPrivate::start (arg=0x8dbb5b0) at thread/qthread_unix.cpp:188
#13 0xb5fd380e in start_thread (arg=0xa707ab70) at pthread_create.c:300
#14 0xb618e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6879b70 (LWP 17723)):
#0  0xb78b0422 in __kernel_vsyscall ()
#1  0xb619bae3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0xb6132f07 in _L_lock_9496 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6131796 in *__GI___libc_free (mem=0x8f7ff70) at malloc.c:3714
#4  0xb76aa68d in qFree (ptr=0x8f7ff70) at global/qmalloc.cpp:60
#5  0xb76b757e in QList<QByteArray>::free (this=0x8f6edcc, data=0x8f7ff70) at ../../include/QtCore/../../src/corelib/tools/qlist.h:562
#6  0xb7739915 in QList<QByteArray>::operator= (this=0x8f6f1b0, pos=1149667) at ../../include/QtCore/../../src/corelib/tools/qlist.h:378
#7  QList<QByteArray>::clear (this=0x8f6f1b0, pos=1149667) at ../../include/QtCore/../../src/corelib/tools/qlist.h:569
#8  QRingBuffer::clear (this=0x8f6f1b0, pos=1149667) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:203
#9  QIODevice::seek (this=0x8f6f1b0, pos=1149667) at io/qiodevice.cpp:647
#10 0xb7723958 in QBuffer::seek (this=0x8f6f1b0, pos=1149667) at io/qbuffer.cpp:383
#11 0xb75ee662 in KSycoca::findEntry (this=0x8c30218, offset=1149667, type=@0xa6878e38) at ../../kdecore/sycoca/ksycoca.cpp:368
#12 0xb7540ebf in KServiceFactory::createEntry (this=0x8f802c8, offset=1149667) at ../../kdecore/services/kservicefactory.cpp:184
#13 0xb753fa26 in KServiceFactory::serviceOffers (this=0x8f802c8, serviceTypeOffset=24146, serviceOffersOffset=9072) at ../../kdecore/services/kservicefactory.cpp:274
#14 0xb7550810 in KServiceTypeTrader::defaultOffers (this=0x8cafd40, serviceType=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:125
#15 0xb7550c7d in KServiceTypeTrader::query (this=0x8cafd40, serviceType=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:141
#16 0xa8ede18d in ?? () from /usr/lib/kde4/krunner_services.so
#17 0xb55d20e4 in Plasma::AbstractRunner::performMatch (this=0x8cb5d18, localContext=...) at ../../plasma/abstractrunner.cpp:160
#18 0xb564aa4b in Plasma::FindMatchesJob::run (this=0x8f6c9a8) at ../../plasma/private/runnerjobs.cpp:158
#19 0xb461937d in ThreadWeaver::JobRunHelper::runTheJob (this=0xa687927c, th=0x8ecf458, job=0x8f6c9a8) at ../../../threadweaver/Weaver/Job.cpp:106
#20 0xb46196e1 in ThreadWeaver::Job::execute (this=0x8f6c9a8, th=0x8ecf458) at ../../../threadweaver/Weaver/Job.cpp:135
#21 0xb461838a in ThreadWeaver::ThreadRunHelper::run (this=0xa6879304, parent=0x8c47640, th=0x8ecf458) at ../../../threadweaver/Weaver/Thread.cpp:95
#22 0xb46189db in ThreadWeaver::Thread::run (this=0x8ecf458) at ../../../threadweaver/Weaver/Thread.cpp:142
#23 0xb76afe32 in QThreadPrivate::start (arg=0x8ecf458) at thread/qthread_unix.cpp:188
#24 0xb5fd380e in start_thread (arg=0xa6879b70) at pthread_create.c:300
#25 0xb618e7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb587d700 (LWP 15976)):
#0  0xb78b0422 in __kernel_vsyscall ()
#1  0xb619bae3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0xb6132f07 in _L_lock_9496 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6131796 in *__GI___libc_free (mem=0x8c8ceb8) at malloc.c:3714
#4  0xb76aa68d in qFree (ptr=0x8c8ceb8) at global/qmalloc.cpp:60
#5  0xb76d2b4d in QHashData::freeNode (this=0x8efa110, node=0x8c8ceb8) at tools/qhash.cpp:179
#6  0xb565c87f in QSet<Plasma::FindMatchesJob*>::remove(Plasma::FindMatchesJob* const&) () from /usr/lib/libplasma.so.3
#7  0xb565b2ba in Plasma::RunnerManagerPrivate::jobDone (this=0x8b5f380, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfbc1288) at ../../plasma/runnermanager.cpp:190
#8  Plasma::RunnerManager::qt_metacall (this=0x8b5f380, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfbc1288) at ./runnermanager.moc:94
#9  0xb77b6263 in QMetaObject::activate (sender=0x8ef9bb8, from_signal_index=5, to_signal_index=5, argv=0xbfbc1288) at kernel/qobject.cpp:3113
#10 0xb77b6ec2 in QMetaObject::activate (sender=0x8ef9bb8, m=0xb4620914, local_signal_index=1, argv=0xbfbc1288) at kernel/qobject.cpp:3187
#11 0xb4618fd3 in ThreadWeaver::Job::done (this=0x8ef9bb8, _t1=0x8ef9bb8) at ./Job.moc:91
#12 0xb46191a7 in ThreadWeaver::Job::qt_metacall (this=0x8ef9bb8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x8efff00) at ./Job.moc:71
#13 0xb77aef0b in QMetaCallEvent::placeMetaCall (this=0x8c0eca8, object=0x8ef9bb8) at kernel/qobject.cpp:477
#14 0xb77b05fe in QObject::event (this=0x8ef9bb8, e=0x8c0eca8) at kernel/qobject.cpp:1111
#15 0xb6419f54 in QApplicationPrivate::notify_helper (this=0x8b26060, receiver=0x8ef9bb8, e=0x8c0eca8) at kernel/qapplication.cpp:4056
#16 0xb642167c in QApplication::notify (this=0x8b25e88, receiver=0x8ef9bb8, e=0x8c0eca8) at kernel/qapplication.cpp:3603
#17 0xb6e69bfa in KApplication::notify (this=0x8b25e88, receiver=0x8ef9bb8, event=0x8c0eca8) at ../../kdeui/kernel/kapplication.cpp:302
#18 0xb77a06cb in QCoreApplication::notifyInternal (this=0x8b25e88, receiver=0x8ef9bb8, event=0x8c0eca8) at kernel/qcoreapplication.cpp:610
#19 0xb77a12b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8aa9e48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8aa9e48) at kernel/qcoreapplication.cpp:1247
#21 0xb77a147d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#22 0xb77cb3ff in QCoreApplication::sendPostedEvents (s=0x8b28110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 postEventSourceDispatch (s=0x8b28110) at kernel/qeventdispatcher_glib.cpp:210
#24 0xb601fe78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0xb6023720 in ?? () from /lib/libglib-2.0.so.0
#26 0xb6023853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0xb77cb02c in QEventDispatcherGlib::processEvents (this=0x8aaba58, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#28 0xb64babe5 in QGuiEventDispatcherGlib::processEvents (this=0x8aaba58, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#29 0xb779ec79 in QEventLoop::processEvents (this=0xbfbc19e4, flags=) at kernel/qeventloop.cpp:149
#30 0xb779f0ca in QEventLoop::exec (this=0xbfbc19e4, flags=...) at kernel/qeventloop.cpp:201
#31 0xb77a153f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#32 0xb6419dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#33 0xb440927e in kdemain () from /usr/lib/libkdeinit4_krunner.so
#34 0x0804dde1 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x8acd1a1 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80511a5 "0") at ../../kinit/kinit.cpp:677
#35 0x0804ea35 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#36 0x0804eeac in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1362
#37 0x0804fbaf in main (argc=2, argv=0xbfbc2234, envp=0xbfbc2240) at ../../kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-14 15:58:45 UTC
I wonder if this could be related to bug 198933.
Regards
Comment 2 Jacopo De Simoi 2009-12-17 19:00:14 UTC
This is in fact a glibc bug, due to a race in free(), it should be fixed in 2.11.1

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