Bug 203861

Summary: krunner crashed after entering an URL into it and hitting return
Product: [Plasma] krunner Reporter: Martin Steigerwald <Martin>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andresbajotierra, jbrsubscribe, wilderkde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Steigerwald 2009-08-14 18:31:42 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-rc5-tp42-toi-3.0.1-05139-gb4d43f4 i686
Distribution: Debian GNU/Linux 5.0.1 (lenny)

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

Thread 5 (Thread 0xa8c76b90 (LWP 4389)):
#0  0xb802b424 in __kernel_vsyscall ()
#1  0xb69163b3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb6898b2d in _L_lock_4597 () from /lib/i686/cmov/libc.so.6
#3  0xb689517a in *__GI___libc_free (mem=0xa4468358) at malloc.c:3623
#4  0xb6a3c101 in operator delete () from /usr/lib/libstdc++.so.6
#5  0xb7f1f194 in QObjectPrivate::cleanConnectionLists (this=0x90572f0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:348
#6  0xb7f1f2db in QObjectPrivate::addConnection (this=0x90572f0, signal=6, c=0xa8c75f00) at kernel/qobject.cpp:279
#7  0xb7f20436 in QMetaObject::connect (sender=0x9054668, signal_index=6, receiver=0xa40a5a7c, method_index=4, type=0, types=0x0) at kernel/qobject.cpp:2809
#8  0xb7f2087a in QObject::connect (sender=0x9054668, signal=0xb7fa0d23 "aboutToClose()", receiver=0xa40a5a7c, method=0xb7fa0d14 "flushStream()", type=Qt::AutoConnection) at kernel/qobject.cpp:2546
#9  0xb7eb6005 in QTextStream (this=0xa3bac540, device=0x9054668) at io/qtextstream.cpp:332
#10 0xb7c50f73 in KDebugPrivate::stream (this=0x9054658, type=QtDebugMsg, area=1204, debugFile=0xa8f24e00 "../../../../plasma/runners/nepomuksearch/nepomuksearchrunner.cpp", line=81, funcinfo=
#11 0xb7c4e37d in kDebugStream (level=QtDebugMsg, area=1204, file=0xa8f24e00 "../../../../plasma/runners/nepomuksearch/nepomuksearchrunner.cpp", line=81, 
    funcinfo=0xa8f25040 "virtual void Nepomuk::SearchRunner::match(Plasma::RunnerContext&)") at ../../kdecore/io/kdebug.cpp:632
#12 0xa8f230c6 in Nepomuk::SearchRunner::match (this=0x94d7430, context=@0x9a75624) at /usr/include/KDE/../kdebug.h:240
#13 0xb5b66817 in Plasma::AbstractRunner::performMatch (this=0x94d7430, localContext=@0x9a75624) at ../../plasma/abstractrunner.cpp:160
#14 0xb5bdc0cb in Plasma::FindMatchesJob::run (this=0x9a75618) at ../../plasma/private/runnerjobs.cpp:158
#15 0xb80164f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa8c762d8, th=0x959fb20, job=0x9a75618) at ../../../threadweaver/Weaver/Job.cpp:106
#16 0xb8016871 in ThreadWeaver::Job::execute (this=0x9a75618, th=0x959fb20) at ../../../threadweaver/Weaver/Job.cpp:135
#17 0xb801548a in ThreadWeaver::ThreadRunHelper::run (this=0xa8c76340, parent=0x914d1c8, th=0x959fb20) at ../../../threadweaver/Weaver/Thread.cpp:95
#18 0xb8015afb in ThreadWeaver::Thread::run (this=0x959fb20) at ../../../threadweaver/Weaver/Thread.cpp:142
#19 0xb7e1d522 in QThreadPrivate::start (arg=0x959fb20) at thread/qthread_unix.cpp:188
#20 0xb67374e5 in start_thread (arg=0xa8c76b90) at pthread_create.c:300
#21 0xb690721e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa8475b90 (LWP 4390)):
[KCrash Handler]
#6  malloc_consolidate (av=0xa6500010) at malloc.c:4891
#7  0xb689575d in _int_malloc (av=0xa6500010, bytes=513) at malloc.c:4229
#8  0xb6896b8f in _int_realloc (av=0xa6500010, oldmem=0xa44ff700, bytes=512) at malloc.c:5035
#9  0xb6897ab6 in *__GI___libc_realloc (oldmem=0xa44ff700, bytes=512) at malloc.c:3708
#10 0xb7e17d44 in qRealloc (ptr=0xa44ff700, size=512) at global/qmalloc.cpp:65
#11 0xb7e42235 in QListData::realloc (this=0xa8475020, alloc=123) at tools/qlistdata.cpp:111
#12 0xb7e424a3 in QListData::append (this=0xa8475020) at tools/qlistdata.cpp:131
#13 0xb7cb02ab in QList<KSharedPtr<KService> >::append (this=0xa8475020, t=@0xa8474fc8) at /usr/include/qt4/QtCore/qlist.h:426
#14 0xb7caeaf2 in KServiceFactory::serviceOffers (this=0x989add8, serviceTypeOffset=40009, serviceOffersOffset=<value optimized out>) at ../../kdecore/services/kservicefactory.cpp:276
#15 0xb7cbf059 in KServiceTypeTrader::defaultOffers (this=0x941cd50, serviceType=@0xa8475198, constraint=@0xa84751c8) at ../../kdecore/services/kservicetypetrader.cpp:125
#16 0xb7cbf925 in KServiceTypeTrader::query (this=0x941cd50, serviceType=@0xa8475198, constraint=@0xa84751c8) at ../../kdecore/services/kservicetypetrader.cpp:141
#17 0xa8f2d149 in ServiceRunner::match (this=0x93ca390, context=@0x93e3fa4) at ../../../../plasma/runners/services/servicerunner.cpp:88
#18 0xb5b66817 in Plasma::AbstractRunner::performMatch (this=0x93ca390, localContext=@0x93e3fa4) at ../../plasma/abstractrunner.cpp:160
#19 0xb5bdc0cb in Plasma::FindMatchesJob::run (this=0x93e3f98) at ../../plasma/private/runnerjobs.cpp:158
#20 0xb80164f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa84752d8, th=0x94b21d0, job=0x93e3f98) at ../../../threadweaver/Weaver/Job.cpp:106
#21 0xb8016871 in ThreadWeaver::Job::execute (this=0x93e3f98, th=0x94b21d0) at ../../../threadweaver/Weaver/Job.cpp:135
#22 0xb801548a in ThreadWeaver::ThreadRunHelper::run (this=0xa8475340, parent=0x914d1c8, th=0x94b21d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#23 0xb8015afb in ThreadWeaver::Thread::run (this=0x94b21d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#24 0xb7e1d522 in QThreadPrivate::start (arg=0x94b21d0) at thread/qthread_unix.cpp:188
#25 0xb67374e5 in start_thread (arg=0xa8475b90) at pthread_create.c:300
#26 0xb690721e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa7c74b90 (LWP 4391)):
#0  0xb802b424 in __kernel_vsyscall ()
#1  0xb673afb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb691605d in __pthread_cond_wait (cond=0x900fbe8, mutex=0x900fbd0) at forward.c:139
#3  0xb7e1cbf2 in QMutexPrivate::wait (this=0x900fbb8, timeout=-1) at thread/qmutex_unix.cpp:80
#4  0xb7e182a5 in QMutex::lock (this=0x900fb44) at thread/qmutex.cpp:207
#5  0xb7f203e1 in QMetaObject::connect (sender=0xa7c742d8, signal_index=4, receiver=0x9509560, method_index=4, type=0, types=0x0)
    at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:82
#6  0xb7f2087a in QObject::connect (sender=0xa7c742d8, signal=0xa42cfa21 "started(ThreadWeaver::Job*)", receiver=0x9509560, method=0xa42cfd70 "started(ThreadWeaver::Job*)", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2546
#7  0xb80167d4 in ThreadWeaver::Job::execute (this=0x9509560, th=0x91d08e0) at /usr/include/qt4/QtCore/qobject.h:308
#8  0xb801548a in ThreadWeaver::ThreadRunHelper::run (this=0xa7c74340, parent=0x914d1c8, th=0x91d08e0) at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0xb8015afb in ThreadWeaver::Thread::run (this=0x91d08e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0xb7e1d522 in QThreadPrivate::start (arg=0x91d08e0) at thread/qthread_unix.cpp:188
#11 0xb67374e5 in start_thread (arg=0xa7c74b90) at pthread_create.c:300
#12 0xb690721e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa7473b90 (LWP 4392)):
#0  0xb802b424 in __kernel_vsyscall ()
#1  0xb673afb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb691605d in __pthread_cond_wait (cond=0x900fbe8, mutex=0x900fbd0) at forward.c:139
#3  0xb7e1cbf2 in QMutexPrivate::wait (this=0x900fbb8, timeout=-1) at thread/qmutex_unix.cpp:80
#4  0xb7e182a5 in QMutex::lock (this=0x900fb44) at thread/qmutex.cpp:207
#5  0xb7f23d0f in QMetaObject::activate (sender=0x91539e0, from_signal_index=4, to_signal_index=4, argv=0x0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#6  0xb7f24722 in QMetaObject::activate (sender=0x91539e0, m=0xb5cd8a68, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#7  0xb5be8317 in Plasma::RunnerContext::matchesChanged (this=0x91539e0) at ./runnercontext.moc:77
#8  0xb5be950d in Plasma::RunnerContext::addMatches (this=0x94cb50c, term=@0xa74731cc, matches=@0xa74731b8) at ../../plasma/runnercontext.cpp:348
#9  0xa8f2d30e in ServiceRunner::match (this=0x93ca390, context=@0x94cb50c) at ../../../../plasma/runners/services/servicerunner.cpp:157
#10 0xb5b66817 in Plasma::AbstractRunner::performMatch (this=0x93ca390, localContext=@0x94cb50c) at ../../plasma/abstractrunner.cpp:160
#11 0xb5bdc0cb in Plasma::FindMatchesJob::run (this=0x94cb500) at ../../plasma/private/runnerjobs.cpp:158
#12 0xb80164f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa74732d8, th=0x949ea50, job=0x94cb500) at ../../../threadweaver/Weaver/Job.cpp:106
#13 0xb8016871 in ThreadWeaver::Job::execute (this=0x94cb500, th=0x949ea50) at ../../../threadweaver/Weaver/Job.cpp:135
#14 0xb801548a in ThreadWeaver::ThreadRunHelper::run (this=0xa7473340, parent=0x914d1c8, th=0x949ea50) at ../../../threadweaver/Weaver/Thread.cpp:95
#15 0xb8015afb in ThreadWeaver::Thread::run (this=0x949ea50) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb7e1d522 in QThreadPrivate::start (arg=0x949ea50) at thread/qthread_unix.cpp:188
#17 0xb67374e5 in start_thread (arg=0xa7473b90) at pthread_create.c:300
#18 0xb690721e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb600a920 (LWP 4145)):
#0  0xb802b424 in __kernel_vsyscall ()
#1  0xb673afb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb691605d in __pthread_cond_wait (cond=0x900fbe8, mutex=0x900fbd0) at forward.c:139
#3  0xb7e1cbf2 in QMutexPrivate::wait (this=0x900fbb8, timeout=-1) at thread/qmutex_unix.cpp:80
#4  0xb7e182a5 in QMutex::lock (this=0x900fb44) at thread/qmutex.cpp:207
#5  0xb7f203e1 in QMetaObject::connect (sender=0x9509560, signal_index=5, receiver=0x9509560, method_index=2, type=0, types=0x0)
    at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:82
#6  0xb7f2087a in QObject::connect (sender=0x9509560, signal=0xb5cb5fa5 "done(ThreadWeaver::Job*)", receiver=0x9509560, method=0xb5caf75d "deleteLater()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2546
#7  0xb5becdf3 in Plasma::RunnerManager::qt_metacall (this=0x9153908, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc656c8) at ../../plasma/runnermanager.cpp:207
#8  0xb7f23ad3 in QMetaObject::activate (sender=0x9153a04, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#9  0xb7f24722 in QMetaObject::activate (sender=0x9153a04, m=0xb7fffd84, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#10 0xb7f5f117 in QTimer::timeout (this=0x9153a04) at .moc/release-shared/moc_qtimer.cpp:128
#11 0xb7f29e3e in QTimer::timerEvent (this=0x9153a04, e=0xbfc65b4c) at kernel/qtimer.cpp:261
#12 0xb7f1eb6f in QObject::event (this=0x9153a04, e=0xbfc65b4c) at kernel/qobject.cpp:1074
#13 0xb6bb87d4 in QApplicationPrivate::notify_helper (this=0x9091d08, receiver=0x9153a04, e=0xbfc65b4c) at kernel/qapplication.cpp:4056
#14 0xb6bc093e in QApplication::notify (this=0x9091b00, receiver=0x9153a04, e=0xbfc65b4c) at kernel/qapplication.cpp:3603
#15 0xb760100d in KApplication::notify (this=0x9091b00, receiver=0x9153a04, event=0xbfc65b4c) at ../../kdeui/kernel/kapplication.cpp:302
#16 0xb7f0e96b in QCoreApplication::notifyInternal (this=0x9091b00, receiver=0x9153a04, event=0xbfc65b4c) at kernel/qcoreapplication.cpp:610
#17 0xb7f3d301 in QTimerInfoList::activateTimers (this=0x9094784) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0xb7f398a0 in timerSourceDispatch (source=0x9094750) at kernel/qeventdispatcher_glib.cpp:165
#19 0xb6784848 in IA__g_main_context_dispatch (context=0x9093c90) at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:1814
#20 0xb6787dab in g_main_context_iterate (context=0x9093c90, block=1, dispatch=1, self=0x9090c38) at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:2448
#21 0xb6787f28 in IA__g_main_context_iteration (context=0x9093c90, may_block=1) at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:2511
#22 0xb7f397f8 in QEventDispatcherGlib::processEvents (this=0x9011530, flags={i = -1077519160}) at kernel/qeventdispatcher_glib.cpp:327
#23 0xb6c57f85 in QGuiEventDispatcherGlib::processEvents (this=0x9011530, flags={i = -1077519112}) at kernel/qguieventdispatcher_glib.cpp:202
#24 0xb7f0cfba in QEventLoop::processEvents (this=0xbfc65d70, flags={i = -1077519048}) at kernel/qeventloop.cpp:149
#25 0xb7f0d402 in QEventLoop::exec (this=0xbfc65d70, flags={i = -1077518984}) at kernel/qeventloop.cpp:201
#26 0xb7f0f859 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#27 0xb6bb8657 in QApplication::exec () at kernel/qapplication.cpp:3525
#28 0xb4a10fa6 in kdemain (argc=1, argv=0x9011520) at ../../krunner/main.cpp:65
#29 0x0804e291 in launch (argc=1, _name=0x905761c "/usr/bin/krunner", args=0x905762d "", cwd=0x0, envc=0, envs=0x9057631 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805109f "0")
    at ../../kinit/kinit.cpp:676
#30 0x0804ea15 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1168
#31 0x0804ef3f in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1361
#32 0x0804f6c9 in main (argc=2, argv=0xbfc665d4, envp=0xbfc665e0) at ../../kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-17 01:54:35 UTC
Weird.
- Is the crash reproducible at will ?
Thanks
Comment 2 Dario Andres 2009-08-23 22:53:58 UTC
*** Bug 204916 has been marked as a duplicate of this bug. ***
Comment 3 Jacopo De Simoi 2010-01-09 10:40:37 UTC
glibc race condition bug; latest package should fix it