Bug 224085 - Crash during one of several searches of a document using some content and nepomuk [Qt, QMap<QString, ResultItem*>::erase, ResultScene::addQueryMatch, ResultScene::setQueryMatches]
Summary: Crash during one of several searches of a document using some content and nep...
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 222486 224947 225446 226318 229252 231326 233925 234551 236007 236439 237250 237385 237598 242549 243436 244558 246741 251834 254665 264992 273080 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-24 21:39 UTC by gabriele monfardini
Modified: 2015-01-23 14:33 UTC (History)
22 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.07 KB, text/plain)
2010-03-27 05:37 UTC, Bernardo Arancibia
Details
New crash information added by DrKonqi (33.02 KB, text/plain)
2010-07-06 18:33 UTC, Stefan Huber
Details
Crash report generated by DrKonqi (12.73 KB, application/octet-stream)
2010-07-07 15:23 UTC, Marko Dimjasevic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gabriele monfardini 2010-01-24 21:39:58 UTC
Application: krunner (0.1)
KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
Qt Version: 4.6.0
Operating System: Linux 2.6.32-020632-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I was searching some words in order to find a document.
It was not the first search, I've cancelled and wrote again one or more words several times, since I was not satisfied by the results.
The first searches succeded, then the crash happened

 -- Backtrace:
Application: Interfaccia al comando di esecuzione (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7ffbff7d87f0 (LWP 2191))]

Thread 6 (Thread 0x7ffbdc0af910 (LWP 2307)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffbfdcbc67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xb3d818, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb3d818, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffbfc4783ec in QHostInfoAgent::run (this=0xb3d800) at kernel/qhostinfo.cpp:252
#4  0x00007ffbfdcbb6c5 in QThreadPrivate::start (arg=0xb3d800) at thread/qthread_unix.cpp:244
#5  0x00007ffbfda2ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ffbfc7f780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffbdb04d910 (LWP 2315)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffbfdcbc67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffbf43f2096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb2f650, th=0xb692a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffbf43f474b in ThreadWeaver::WorkingHardState::applyForWork (this=0xb259d0, th=0xb692a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffbf43f4764 in ThreadWeaver::WorkingHardState::applyForWork (this=0xb259d0, th=0xb692a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ffbf43f2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffbdb04cfb0, parent=0xb2f650, th=0xb692a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ffbf43f3058 in ThreadWeaver::Thread::run (this=0xb692a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ffbfdcbb6c5 in QThreadPrivate::start (arg=0xb692a0) at thread/qthread_unix.cpp:244
#9  0x00007ffbfda2ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffbfc7f780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7ffbda84c910 (LWP 2316)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffbfdcbc67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffbf43f2096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb2f650, th=0xb5e910) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffbf43f474b in ThreadWeaver::WorkingHardState::applyForWork (this=0xb259d0, th=0xb5e910) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffbf43f2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffbda84bfb0, parent=0xb2f650, th=0xb5e910) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffbf43f3058 in ThreadWeaver::Thread::run (this=0xb5e910) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffbfdcbb6c5 in QThreadPrivate::start (arg=0xb5e910) at thread/qthread_unix.cpp:244
#8  0x00007ffbfda2ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffbfc7f780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffbda04b910 (LWP 2317)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffbfdcbc67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffbf43f2096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb2f650, th=0xd41890) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffbf43f474b in ThreadWeaver::WorkingHardState::applyForWork (this=0xb259d0, th=0xd41890) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffbf43f2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffbda04afb0, parent=0xb2f650, th=0xd41890) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffbf43f3058 in ThreadWeaver::Thread::run (this=0xd41890) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffbfdcbb6c5 in QThreadPrivate::start (arg=0xd41890) at thread/qthread_unix.cpp:244
#8  0x00007ffbfda2ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffbfc7f780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffbd984a910 (LWP 2318)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffbfdcbc67b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb28060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffbf43f2096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb2f650, th=0xe66d00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffbf43f474b in ThreadWeaver::WorkingHardState::applyForWork (this=0xb259d0, th=0xe66d00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffbf43f4764 in ThreadWeaver::WorkingHardState::applyForWork (this=0xb259d0, th=0xe66d00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ffbf43f2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffbd9849fb0, parent=0xb2f650, th=0xe66d00) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ffbf43f3058 in ThreadWeaver::Thread::run (this=0xe66d00) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ffbfdcbb6c5 in QThreadPrivate::start (arg=0xe66d00) at thread/qthread_unix.cpp:244
#9  0x00007ffbfda2ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffbfc7f780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffbff7d87f0 (LWP 2191)):
[KCrash Handler]
#5  QString::operator< (this=0xe56700, other=...) at tools/qstring.cpp:2124
#6  0x00007ffbf27a3781 in qMapLessThanKey<QString> (this=0xbce3f0, match=<value optimized out>, useAnyId=<value optimized out>) at /usr/include/qt4/QtCore/qmap.h:107
#7  QMap<QString, ResultItem*>::erase (this=0xbce3f0, match=<value optimized out>, useAnyId=<value optimized out>) at /usr/include/qt4/QtCore/qmap.h:701
#8  ResultScene::addQueryMatch (this=0xbce3f0, match=<value optimized out>, useAnyId=<value optimized out>) at ../../krunner/interfaces/default/resultscene.cpp:275
#9  0x00007ffbf27a3bac in ResultScene::setQueryMatches (this=0xbce3f0, m=<value optimized out>) at ../../krunner/interfaces/default/resultscene.cpp:176
#10 0x00007ffbf27a4235 in ResultScene::qt_metacall (this=0xbce3f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff64d5c280) at ./resultscene.moc:104
#11 0x00007ffbfddc1dc3 in QMetaObject::activate (sender=0xa23560, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#12 0x00007ffbf600b072 in Plasma::RunnerManager::matchesChanged (this=0xe56700, _t1=<value optimized out>) at ./runnermanager.moc:118
#13 0x00007ffbf600d8f3 in Plasma::RunnerManagerPrivate::matchesChanged (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff64d5c3c0)
    at ../../plasma/runnermanager.cpp:90
#14 Plasma::RunnerManager::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff64d5c3c0) at ./runnermanager.moc:104
#15 0x00007ffbfddc1dc3 in QMetaObject::activate (sender=0xb2d4b8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#16 0x00007ffbfddbea33 in QObject::event (this=0xb2d4b8, e=0x7fff64d5ca80) at kernel/qobject.cpp:1224
#17 0x00007ffbfcf54e8c in QApplicationPrivate::notify_helper (this=0x999990, receiver=0xb2d4b8, e=0x7fff64d5ca80) at kernel/qapplication.cpp:4242
#18 0x00007ffbfcf5b48d in QApplication::notify (this=0x9996f0, receiver=0xb2d4b8, e=0x7fff64d5ca80) at kernel/qapplication.cpp:4125
#19 0x00007ffbfe2f41e6 in KApplication::notify (this=0x9996f0, receiver=0xb2d4b8, event=0x7fff64d5ca80) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007ffbfddaf04c in QCoreApplication::notifyInternal (this=0x9996f0, receiver=0xb2d4b8, event=0x7fff64d5ca80) at kernel/qcoreapplication.cpp:704
#21 0x00007ffbfdddbd52 in QCoreApplication::sendEvent (this=0x99d100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x99d100) at kernel/qeventdispatcher_unix.cpp:603
#23 0x00007ffbfddd8958 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#25 0x00007ffbf91ddbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007ffbf91e1598 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007ffbf91e16c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007ffbfddd8623 in QEventDispatcherGlib::processEvents (this=0x9183f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#29 0x00007ffbfd0032fe in QGuiEventDispatcherGlib::processEvents (this=0xe56700, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007ffbfddad972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007ffbfddadd4c in QEventLoop::exec (this=0x7fff64d5cd20, flags=) at kernel/qeventloop.cpp:201
#32 0x00007ffbfddb1a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x00007ffbf27998f4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../krunner/main.cpp:65
#34 0x0000000000406fb8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4a1 "0") at ../../kinit/kinit.cpp:706
#35 0x0000000000407c70 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1198
#36 0x0000000000408121 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1391
#37 0x0000000000408dea in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1830
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-04 02:15:42 UTC
From bug 224947:
-- Information about the crash:
I tried to find some mp3 files with krunner to test functionality of nepomuk
and strigi. Krunner crashed after writting "pink floyd" text (without commas).
I have a big mp3 collection with many Pink Floyd songs. When I try it again,
krunner crashes again.
Comment 2 Dario Andres 2010-02-04 02:15:47 UTC
*** Bug 224947 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-02-04 02:15:49 UTC
*** Bug 225446 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-03-20 16:38:36 UTC
From bug 231326:
-- Information about the crash:
after login, i had this error when i close window with akonadi report
The crash can be reproduced some of the time.
Comment 5 Dario Andres 2010-03-20 16:38:39 UTC
*** Bug 231326 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-03-20 16:53:37 UTC
From bug 229252:
-- Information about the crash:
krunner crashs during search for something. nepomuk is enabled.
Comment 7 Dario Andres 2010-03-20 16:53:43 UTC
*** Bug 229252 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-03-20 17:50:14 UTC
From bug 222486:
-- Information about the crash:
I launched krunner with alt-f2 and started to type amarok. it suddenly crashed
and nepomuk gave a notification "suspending the indexing of files to preserve
resources". after that, when I relaunched krunner, it did not crash anymore.
The only thing I tuned about nepomuk is that it could use 500MB for working
memory instead of the 20MB by default. 500MB is not so much in my system and I
thought I'd try nepomuk "at its full power" ;)
The crash can be reproduced some of the time.
--
the reproducibility of this bug seems quite okay. I just tried: reenable
nepomuk file indexer. press alt-F2 and type amarok. it does not crash, after a
few seconds some nepomuk data is listed too. Then I press backspace until all
chars are gone and type "ama" again. currently, it does not crash, but hangs
without crashes (maybe because this time I did not reboot, but rather just
reenabled nepomuk file indexer). in this case you can't use krunner anymore and
you also cannot easily kill it since ctrl+esc does not work :) when i kill it
in console the command line of krunner says: "krunner --nocrashhandler". maybe
that's the reason why it does not want to crash? :)
after killing it, I cannot open krunner anymore using alt-F2, neither from
console: it shows some output about registering runners, but gui does not show
up and nepomuk goes down again.

From bug 226318:
-- Information about the crash:
I don't yet know how to search nepomuk information, but i tried just  typing
the name of a file in krunner in order to see if it brings up any results. It
crashed. That's about it.
Comment 9 Dario Andres 2010-03-20 17:50:29 UTC
*** Bug 222486 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-03-20 17:50:32 UTC
*** Bug 226318 has been marked as a duplicate of this bug. ***
Comment 11 Bernardo Arancibia 2010-03-27 05:37:52 UTC
Created attachment 42287 [details]
New crash information added by DrKonqi

I was searching some files in krunner and sunddenly fails. This bug is very repetitive. All the plugins for krunner were disabled, and this continues.
Comment 12 Dario Andres 2010-04-11 00:28:43 UTC
*** Bug 233925 has been marked as a duplicate of this bug. ***
Comment 13 Nicolas L. 2010-06-23 15:14:13 UTC
*** Bug 236007 has been marked as a duplicate of this bug. ***
Comment 14 Nicolas L. 2010-06-23 15:14:32 UTC
*** Bug 236439 has been marked as a duplicate of this bug. ***
Comment 15 Nicolas L. 2010-06-23 15:14:43 UTC
*** Bug 237250 has been marked as a duplicate of this bug. ***
Comment 16 Nicolas L. 2010-06-23 15:14:53 UTC
*** Bug 237385 has been marked as a duplicate of this bug. ***
Comment 17 Nicolas L. 2010-06-23 15:15:04 UTC
*** Bug 237598 has been marked as a duplicate of this bug. ***
Comment 18 Nicolas L. 2010-06-23 15:15:12 UTC
*** Bug 242549 has been marked as a duplicate of this bug. ***
Comment 19 Stefan Huber 2010-07-06 18:33:38 UTC
Created attachment 48631 [details]
New crash information added by DrKonqi

had a similar issue. when I'm starting to type the name of a document I want to open (oowriter document, directly in my Documents folder) it often crashes, sometimes just displays nothing. The document itself can never be found so probably the file indexer isn't working properly too - but that shouldn't affect krunners stability.
Comment 20 Marko Dimjasevic 2010-07-07 15:23:03 UTC
Created attachment 48652 [details]
Crash report generated by DrKonqi

With Control Audio Player plugin, search collection option and Nepomuk enabled, I've entered 'friend' (without quotes) in KRunner. It displayed songs and other files matching the search, but soon afterwards it crashed.
Comment 21 Nicolas L. 2010-07-15 13:39:31 UTC
*** Bug 243436 has been marked as a duplicate of this bug. ***
Comment 22 Nicolas L. 2010-07-15 13:39:49 UTC
*** Bug 244558 has been marked as a duplicate of this bug. ***
Comment 23 Aaron J. Seigo 2010-08-06 19:26:20 UTC
*** Bug 246741 has been marked as a duplicate of this bug. ***
Comment 24 Christoph Feck 2010-09-27 14:07:50 UTC
*** Bug 251834 has been marked as a duplicate of this bug. ***
Comment 25 Christoph Feck 2010-09-27 14:08:37 UTC
*** Bug 234551 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2010-12-13 18:56:52 UTC
*** Bug 254665 has been marked as a duplicate of this bug. ***
Comment 27 Dario Andres 2011-02-01 00:19:17 UTC
[Comment from a bug triager]
From bug 264992:
-- Information about the crash:
I tried to type a simple formula (3100*4/5) in to krunner, but as soon as I got
past the "/", krunner  crashed and brought up the bug report dialog.
Comment 28 Dario Andres 2011-02-01 00:19:24 UTC
*** Bug 264992 has been marked as a duplicate of this bug. ***
Comment 29 Jekyll Wu 2011-12-10 04:13:22 UTC
*** Bug 273080 has been marked as a duplicate of this bug. ***
Comment 30 Vishesh Handa 2015-01-23 14:33:52 UTC
Fixed with Plasma 5.