Bug 232636

Summary: krunner crashed after typing formula [KDirListerCache::forgetDirs()]
Product: [Plasma] krunner Reporter: x545 <x545>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: abhijeet.linux, amhrasmussen, andresbajotierra, arne.henningsen, benderamp, benpro82, bugs.kde.org, kde-bugzilla, kdebugs, lists, mail, rasasi78, sbrandt, subcoolent
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 4.5.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description x545 2010-03-30 00:52:56 UTC
Application: krunner (0.1)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.1 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
typed 2^31=
the it displayed the result
then it crashed

The crash does not seem to be reproducible.

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

Thread 6 (Thread 0x7f06f3579910 (LWP 16799)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f070fb6b59b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2142e60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2142e60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f070bf51fe6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2173da0, th=0x23f61b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f070bf5466b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2125df0, th=0x23f61b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f070bf52bbf in ThreadWeaver::ThreadRunHelper::run (this=0x7f06f3579020, parent=0x2173da0, th=0x23f61b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f070bf53128 in ThreadWeaver::Thread::run (this=0x23f61b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f070fb6a5d5 in QThreadPrivate::start (arg=0x23f61b0) at thread/qthread_unix.cpp:248
#8  0x00007f070944373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f071235a69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f06e2635910 (LWP 16800)):
[KCrash Handler]
#5  0x00007f070c70f4bb in QHash<QString, KDirListerCacheDirectoryData>::erase(QHash<QString, KDirListerCacheDirectoryData>::iterator) () from /usr/lib/libkio.so.5
#6  0x00007f070c702a04 in KDirListerCache::forgetDirs (this=0x2889060, lister=0x3676e90, _url=<value optimized out>, notify=<value optimized out>) at ../../kio/kio/kdirlister.cpp:504
#7  0x00007f070c703464 in KDirListerCache::forgetDirs (this=0x2889060, lister=0x3676e90) at ../../kio/kio/kdirlister.cpp:462
#8  0x00007f070c7036f8 in ~KDirLister (this=0x3676e90, __in_chrg=<value optimized out>) at ../../kio/kio/kdirlister.cpp:1939
#9  0x00007f070fc6d73c in QObjectPrivate::deleteChildren (this=0x341f930) at kernel/qobject.cpp:1986
#10 0x00007f070fc747c4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#11 0x00007f06e775317a in ~KFilePlacesItem (this=0x341f8d0, __in_chrg=<value optimized out>) at ../../kfile/kfileplacesitem.cpp:66
#12 0x00007f06e7758bb7 in qDeleteAll<QList<KFilePlacesItem*>::const_iterator> (this=0x7f06e2634d90, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#13 qDeleteAll<QList<KFilePlacesItem*> > (this=0x7f06e2634d90, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#14 ~Private (this=0x7f06e2634d90, __in_chrg=<value optimized out>) at ../../kfile/kfileplacesmodel.cpp:60
#15 ~KFilePlacesModel (this=0x7f06e2634d90, __in_chrg=<value optimized out>) at ../../kfile/kfileplacesmodel.cpp:160
#16 0x00007f06e7995efa in PlacesRunner::match (this=<value optimized out>, context=<value optimized out>) at ../../../../../plasma/generic/runners/places/placesrunner.cpp:90
#17 0x00007f071174e41a in Plasma::AbstractRunner::performMatch (this=0x287e650, localContext=...) at ../../plasma/abstractrunner.cpp:117
#18 0x00007f070bf5389d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f06e2634f90, th=0x30fe050, job=0x393a4d0) at ../../../threadweaver/Weaver/Job.cpp:106
#19 0x00007f070bf53b9e in ThreadWeaver::Job::execute (this=0x393a4d0, th=0x30fe050) at ../../../threadweaver/Weaver/Job.cpp:135
#20 0x00007f070bf52b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f06e2635020, parent=0x2173da0, th=0x30fe050) at ../../../threadweaver/Weaver/Thread.cpp:95
#21 0x00007f070bf53128 in ThreadWeaver::Thread::run (this=0x30fe050) at ../../../threadweaver/Weaver/Thread.cpp:142
#22 0x00007f070fb6a5d5 in QThreadPrivate::start (arg=0x30fe050) at thread/qthread_unix.cpp:248
#23 0x00007f070944373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#24 0x00007f071235a69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f06e1e34910 (LWP 16801)):
#0  0x00007f071234f743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=1794) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0708daa0ac in g_main_context_poll (context=0x31f1a40, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x31f1a40, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2586
#3  0x00007f0708daa3f0 in IA__g_main_context_iteration (context=0x31f1a40, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#4  0x00007f070fc88286 in QEventDispatcherGlib::processEvents (this=0x3053450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f070fc5d702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f070fc5dadc in QEventLoop::exec (this=0x7f06e1e33d80, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f06e67c4c95 in Nepomuk::Query::QueryServiceClient::blockingQuery (this=0x7f06dc564100, q=<value optimized out>) at ../../../nepomuk/query/queryserviceclient.cpp:204
#8  0x00007f06e6c6e847 in Nepomuk::QueryClientWrapper::runQuery (this=0x7f06e1e33e00) at ../../../../../plasma/generic/runners/nepomuksearch/queryclientwrapper.cpp:75
#9  0x00007f06e6c6c986 in Nepomuk::SearchRunner::match (this=0x2898d10, context=...) at ../../../../../plasma/generic/runners/nepomuksearch/nepomuksearchrunner.cpp:109
#10 0x00007f071174e41a in Plasma::AbstractRunner::performMatch (this=0x2898d10, localContext=...) at ../../plasma/abstractrunner.cpp:117
#11 0x00007f070bf5389d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f06e1e33f90, th=0x31004e0, job=0x36a7550) at ../../../threadweaver/Weaver/Job.cpp:106
#12 0x00007f070bf53b9e in ThreadWeaver::Job::execute (this=0x36a7550, th=0x31004e0) at ../../../threadweaver/Weaver/Job.cpp:135
#13 0x00007f070bf52b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7f06e1e34020, parent=0x2173da0, th=0x31004e0) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x00007f070bf53128 in ThreadWeaver::Thread::run (this=0x31004e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f070fb6a5d5 in QThreadPrivate::start (arg=0x31004e0) at thread/qthread_unix.cpp:248
#16 0x00007f070944373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f071235a69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f06e1633910 (LWP 16802)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f070fb6b59b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2142e60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2142e60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f070bf51fe6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2173da0, th=0x3100b80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f070bf5466b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2125df0, th=0x3100b80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f070bf52bbf in ThreadWeaver::ThreadRunHelper::run (this=0x7f06e1633020, parent=0x2173da0, th=0x3100b80) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f070bf53128 in ThreadWeaver::Thread::run (this=0x3100b80) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f070fb6a5d5 in QThreadPrivate::start (arg=0x3100b80) at thread/qthread_unix.cpp:248
#8  0x00007f070944373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f071235a69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f06db5c3910 (LWP 16866)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f070e3e7686 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f070e6c52c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f070e3e76c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f070e6d338c) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f070944373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f071235a69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f07128ef780 (LWP 8977)):
#0  0x00007f071029280d in KEntryMap::setEntry(QByteArray const&, QByteArray const&, QByteArray const&, QFlags<KEntryMap::EntryOption>) () from /usr/lib/libkdecore.so.5
#1  0x00007f071028e8d5 in KConfigPrivate::putData (this=0x20b56c0, group=..., key=0x7f07118ec87e "invalidElements", value=..., flags=) at ../../kdecore/config/kconfig.cpp:733
#2  0x00007f071029a66a in KConfigGroup::writeEntry (this=0x7fffb7339910, key=0x7f07118ec87e "invalidElements", value=<value optimized out>, flags=<value optimized out>)
    at ../../kdecore/config/kconfiggroup.cpp:930
#3  0x00007f071029acf7 in KConfigGroup::writeEntry (this=0x7fffb7339910, key=0x7f07118ec87e "invalidElements", list=<value optimized out>, flags=<value optimized out>)
    at ../../kdecore/config/kconfiggroup.cpp:971
#4  0x00007f071181cbf7 in KConfigGroup::writeListCheck<QString> (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kdecore/config/kconfiggroup.h:762
#5  KConfigGroup::writeEntry<QString> (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kdecore/config/kconfiggroup.h:449
#6  ~Theme (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../plasma/theme.cpp:306
#7  0x00007f071181ce87 in ~ThemeSingleton () at ../../plasma/theme.cpp:260
#8  destroy () at ../../plasma/theme.cpp:275
#9  0x00007f07122c5412 in __run_exit_handlers (status=1, listp=0x7f07125dd4c8, run_list_atexit=true) at exit.c:78
#10 0x00007f07122c5465 in *__GI_exit (status=34293063) at exit.c:100
#11 0x00007f070f074168 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#12 0x00007f0711276d78 in KApplication::xioErrhandler (this=0x203d350, dpy=0x2064760) at ../../kdeui/kernel/kapplication.cpp:408
#13 0x00007f0710af3c7e in _XIOError () from /usr/lib/libX11.so.6
#14 0x00007f0710afb015 in ?? () from /usr/lib/libX11.so.6
#15 0x00007f0710afb907 in _XEventsQueued () from /usr/lib/libX11.so.6
#16 0x00007f0710ae42cb in XEventsQueued () from /usr/lib/libX11.so.6
#17 0x00007f070f0ad4ec in x11EventSourceCheck (s=0x2052150) at kernel/qguieventdispatcher_glib.cpp:87
#18 0x00007f0708da97da in IA__g_main_context_check (context=0x2051120, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2469
#19 0x00007f0708da9fc0 in g_main_context_iterate (context=0x2051120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2588
#20 0x00007f0708daa3f0 in IA__g_main_context_iteration (context=0x2051120, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#21 0x00007f070fc88286 in QEventDispatcherGlib::processEvents (this=0x2019c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#22 0x00007f070f0ad32e in QGuiEventDispatcherGlib::processEvents (this=0x20b4547, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f070fc5d702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f070fc5dadc in QEventLoop::exec (this=0x7fffb7339cc0, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f070fc6181b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#26 0x00007f07126106a4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../krunner/main.cpp:65
#27 0x00007f07122adabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffb7339f88) at libc-start.c:222
#28 0x00000000004006b9 in _start ()

Possible duplicates by query: bug 226780.

Reported using DrKonqi
Comment 1 Daniel Hahler 2010-05-01 17:53:44 UTC
Created attachment 43151 [details]
New crash information added by DrKonqi

I wanted to start konversation, typed "konversation" and it crashed either when pressing enter or just before this.

Using Ubuntu Lucid, with all updates.
Comment 2 Jonathan Thomas 2010-07-25 02:21:42 UTC
*** Bug 245684 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Thomas 2010-07-25 02:21:59 UTC
*** Bug 243752 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Thomas 2010-07-25 02:22:22 UTC
*** Bug 243327 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Thomas 2010-07-25 02:23:18 UTC
*** Bug 238976 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Thomas 2010-07-25 02:23:28 UTC
*** Bug 236154 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan Thomas 2010-07-25 02:23:55 UTC
*** Bug 234813 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Thomas 2010-07-25 02:24:22 UTC
*** Bug 234074 has been marked as a duplicate of this bug. ***
Comment 9 Marek Paśnikowski 2010-09-04 14:20:47 UTC
Created attachment 51306 [details]
New crash information added by DrKonqi

I requested KRunner to open "kmail". It crashed, but the application opened too.
Comment 10 Nicolas L. 2010-09-11 21:02:06 UTC
*** Bug 247495 has been marked as a duplicate of this bug. ***
Comment 11 Nicolas L. 2010-09-11 21:02:13 UTC
*** Bug 249207 has been marked as a duplicate of this bug. ***
Comment 12 Nicolas L. 2010-09-11 21:02:26 UTC
*** Bug 250915 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2010-09-27 15:25:54 UTC
*** Bug 248142 has been marked as a duplicate of this bug. ***
Comment 14 Martin Nyhus 2010-10-31 16:37:30 UTC
Created attachment 53017 [details]
New crash information added by DrKonqi

Krunner crashed when searching for Thunderbird
Comment 15 Dario Andres 2010-12-13 19:38:26 UTC
[Comment from a bug triager]
As in bug 224212, this was caused by the Places runner being executed on a secondary thread, which caused some weird bugs (as it wasn't supported)
References: bug 224212 comment 26, bug 224212 comment 27
Fixed since KDE SC 4.5.0
Regards