Bug 333127

Summary: krunner crashing in baloo search
Product: [Unmaintained] Baloo Reporter: Martin Koller <kollix>
Component: GeneralAssignee: Vishesh Handa <me>
Status: RESOLVED DUPLICATE    
Severity: crash CC: audvare, jean.revertera
Priority: NOR Keywords: drkonqi
Version: 4.13   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash info
Crash info, Gentoo built

Description Martin Koller 2014-04-06 15:22:36 UTC
Application: krunner (4.11.8)
KDE Platform Version: 4.12.97
Qt Version: 4.8.5
Operating System: Linux 3.11.10-7-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I hit Alt-F2 to open krunner and started to type "software" when the crash happened

-- Backtrace:
Application: Run Command Interface (krunner), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdbf29af780 (LWP 1135))]

Thread 11 (Thread 0x7fdbd7bc0700 (LWP 1155)):
#0  0x00007fdbf1288559 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007fdbed13c2c1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdbed0fbca0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdbed0fc523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fdbed0fc70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fdbf1648d76 in QEventDispatcherGlib::processEvents (this=0x7fdbd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fdbf161ad0f in QEventLoop::processEvents (this=this@entry=0x7fdbd7bbfe20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fdbf161b005 in QEventLoop::exec (this=this@entry=0x7fdbd7bbfe20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fdbf1519fef in QThread::exec (this=this@entry=0xa67fc0) at thread/qthread.cpp:536
#9  0x00007fdbf15fc513 in QInotifyFileSystemWatcherEngine::run (this=0xa67fc0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fdbf151c68f in QThreadPrivate::start (arg=0xa67fc0) at thread/qthread_unix.cpp:338
#11 0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#12 0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fdbca8e9700 (LWP 5857)):
#0  0x00007fdbeffe1b3d in poll () from /lib64/libc.so.6
#1  0x00007fdbed0fc604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdbed0fc70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdbf1648d76 in QEventDispatcherGlib::processEvents (this=0x7fdbc00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007fdbf161ad0f in QEventLoop::processEvents (this=this@entry=0x7fdbca8e8e20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdbf161b005 in QEventLoop::exec (this=this@entry=0x7fdbca8e8e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdbf1519fef in QThread::exec (this=this@entry=0xef81f0) at thread/qthread.cpp:536
#7  0x00007fdbf15fc513 in QInotifyFileSystemWatcherEngine::run (this=0xef81f0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xef81f0) at thread/qthread_unix.cpp:338
#9  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#10 0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fdbca0e8700 (LWP 5864)):
[KCrash Handler]
#10 0x00007fdbeff38849 in raise () from /lib64/libc.so.6
#11 0x00007fdbeff39cd8 in abort () from /lib64/libc.so.6
#12 0x00007fdbf0317655 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#13 0x00007fdbf03157c6 in ?? () from /usr/lib64/libstdc++.so.6
#14 0x00007fdbf03157f3 in std::terminate() () from /usr/lib64/libstdc++.so.6
#15 0x00007fdbf0315a1e in __cxa_throw () from /usr/lib64/libstdc++.so.6
#16 0x00007fdbd589fba3 in ?? () from /usr/lib64/libxapian.so.22
#17 0x00007fdbd58949b6 in ?? () from /usr/lib64/libxapian.so.22
#18 0x00007fdbd580ac77 in Xapian::Document::Internal::get_data() const () from /usr/lib64/libxapian.so.22
#19 0x00007fdbd580acbc in Xapian::Document::get_data() const () from /usr/lib64/libxapian.so.22
#20 0x00007fdbc47cb95f in ?? () from /usr/lib64/kde4/baloo_emailsearchstore.so
#21 0x00007fdbd5df2bf5 in Baloo::ResultIterator::text (this=0x7fdbca0e7bb0) at /home/KDE4/source/baloo/src/core/resultiterator.cpp:86
#22 0x00007fdbd5ffea82 in ?? () from /usr/lib64/kde4/krunner_baloosearchrunner.so
#23 0x00007fdbe708c81e in Plasma::AbstractRunner::performMatch (this=0xb73450, localContext=...) at /usr/src/debug/kdelibs-4.12.97/plasma/abstractrunner.cpp:136
#24 0x00007fdbe3b825e2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fdbca0e7e20, th=th@entry=0xc2b970, job=job@entry=0xf1bf30) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Job.cpp:106
#25 0x00007fdbe3b8279e in ThreadWeaver::Job::execute (this=0xf1bf30, th=0xc2b970) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Job.cpp:135
#26 0x00007fdbe3b81feb in ThreadWeaver::Thread::run (this=0xc2b970) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:108
#27 0x00007fdbf151c68f in QThreadPrivate::start (arg=0xc2b970) at thread/qthread_unix.cpp:338
#28 0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#29 0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fdbc98e7700 (LWP 5865)):
#0  0x00007fdbf12890af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdbf151cb66 in wait (time=18446744073709551615, this=0xa99540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xbd0338, mutex=0xa7ba50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbe3b8079c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbd0310, th=0xb3eda0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fdbe3b83233 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xb3eda0, previous=0x0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fdbe3b8324c in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xb3eda0, previous=0xf9c730) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fdbe3b81f4f in ThreadWeaver::Thread::run (this=0xb3eda0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:98
#7  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xb3eda0) at thread/qthread_unix.cpp:338
#8  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#9  0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fdbc90e6700 (LWP 5866)):
#0  0x00007fdbf12890af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdbf151cb66 in wait (time=18446744073709551615, this=0xa99540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xbd0338, mutex=0xa7ba50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbe3b8079c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbd0310, th=0xed4dc0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fdbe3b83233 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xed4dc0, previous=0x100fc20) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fdbe3b81f4f in ThreadWeaver::Thread::run (this=0xed4dc0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:98
#6  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xed4dc0) at thread/qthread_unix.cpp:338
#7  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#8  0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fdbc88e5700 (LWP 5867)):
#0  0x00007fdbf12890af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdbf151cb66 in wait (time=18446744073709551615, this=0xa99540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xbd0338, mutex=0xa7ba50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbe3b8079c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbd0310, th=0xb03460) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fdbe3b83233 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xb03460, previous=0xb344c0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fdbe3b81f4f in ThreadWeaver::Thread::run (this=0xb03460) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:98
#6  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xb03460) at thread/qthread_unix.cpp:338
#7  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#8  0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fdbc80e4700 (LWP 5868)):
#0  0x00007fdbf12890af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdbf151cb66 in wait (time=18446744073709551615, this=0xa99540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xbd0338, mutex=0xa7ba50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbe3b8079c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbd0310, th=0xbe0c70) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fdbe3b83233 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xbe0c70, previous=0x0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fdbe3b8324c in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xbe0c70, previous=0xd7e060) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fdbe3b81f4f in ThreadWeaver::Thread::run (this=0xbe0c70) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:98
#7  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xbe0c70) at thread/qthread_unix.cpp:338
#8  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#9  0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fdbc78e3700 (LWP 5869)):
[KCrash Handler]
#6  0x00007fdbeff38849 in raise () from /lib64/libc.so.6
#7  0x00007fdbeff39cd8 in abort () from /lib64/libc.so.6
#8  0x00007fdbeff77114 in __libc_message () from /lib64/libc.so.6
#9  0x00007fdbeff7c96e in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fdbeff7d9e9 in _int_free () from /lib64/libc.so.6
#11 0x00007fdbd58a799e in ChertTable::close(bool) () from /usr/lib64/libxapian.so.22
#12 0x00007fdbd58ab0eb in ChertTable::open() () from /usr/lib64/libxapian.so.22
#13 0x00007fdbd588623a in ?? () from /usr/lib64/libxapian.so.22
#14 0x00007fdbd5807b28 in Xapian::Database::reopen() () from /usr/lib64/libxapian.so.22
#15 0x00007fdbc4107c16 in Baloo::XapianSearchStore::exec (this=0x7fdbbc031270, query=...) at /home/KDE4/source/baloo/src/xapian/xapiansearchstore.cpp:202
#16 0x00007fdbd5deef56 in Baloo::Query::exec (this=0x7fdbc78e2b80) at /home/KDE4/source/baloo/src/core/query.cpp:222
#17 0x00007fdbd5ffe593 in ?? () from /usr/lib64/kde4/krunner_baloosearchrunner.so
#18 0x00007fdbe708c81e in Plasma::AbstractRunner::performMatch (this=0xb73450, localContext=...) at /usr/src/debug/kdelibs-4.12.97/plasma/abstractrunner.cpp:136
#19 0x00007fdbe3b825e2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fdbc78e2e20, th=th@entry=0xb040a0, job=job@entry=0xf4e5f0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Job.cpp:106
#20 0x00007fdbe3b8279e in ThreadWeaver::Job::execute (this=0xf4e5f0, th=0xb040a0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Job.cpp:135
#21 0x00007fdbe3b81feb in ThreadWeaver::Thread::run (this=0xb040a0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:108
#22 0x00007fdbf151c68f in QThreadPrivate::start (arg=0xb040a0) at thread/qthread_unix.cpp:338
#23 0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#24 0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fdbc70e2700 (LWP 5870)):
#0  0x00007fdbf12890af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdbf151cb66 in wait (time=18446744073709551615, this=0xa99540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xbd0338, mutex=0xa7ba50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbe3b8079c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbd0310, th=0xb37f20) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fdbe3b83233 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xb37f20, previous=0x10f5920) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fdbe3b81f4f in ThreadWeaver::Thread::run (this=0xb37f20) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:98
#6  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xb37f20) at thread/qthread_unix.cpp:338
#7  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#8  0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fdbc68e1700 (LWP 5871)):
#0  0x00007fdbf12890af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdbf151cb66 in wait (time=18446744073709551615, this=0xa99540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xbd0338, mutex=0xa7ba50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbe3b8079c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbd0310, th=0xeb5cd0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fdbe3b83233 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7bfb0, th=0xeb5cd0, previous=0xc7f3f0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fdbe3b81f4f in ThreadWeaver::Thread::run (this=0xeb5cd0) at /usr/src/debug/kdelibs-4.12.97/threadweaver/Weaver/Thread.cpp:98
#6  0x00007fdbf151c68f in QThreadPrivate::start (arg=0xeb5cd0) at thread/qthread_unix.cpp:338
#7  0x00007fdbf12850db in start_thread () from /lib64/libpthread.so.0
#8  0x00007fdbeffea90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fdbf29af780 (LWP 1135)):
#0  0x00007fdbf128bb7d in read () from /lib64/libpthread.so.0
#1  0x00007fdbed13b5c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdbed0fc12c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdbed0fc59b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fdbed0fc70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fdbf1648d76 in QEventDispatcherGlib::processEvents (this=0x8e5410, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fdbf0835a76 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007fdbf161ad0f in QEventLoop::processEvents (this=this@entry=0x7fffcd758690, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fdbf161b005 in QEventLoop::exec (this=this@entry=0x7fffcd758690, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fdbf162013b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#10 0x00007fdbdd933735 in kdemain () from /usr/lib64/libkdeinit4_krunner.so
#11 0x000000000040879e in launch (argc=argc@entry=1, _name=_name@entry=0x898388 "/usr/bin/krunner", args=<optimized out>, args@entry=0x898399 "", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x8983a1 "", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x40afa6 "0") at /usr/src/debug/kdelibs-4.12.97/kinit/kinit.cpp:726
#12 0x000000000040964b in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.12.97/kinit/kinit.cpp:1218
#13 0x0000000000409caf in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.12.97/kinit/kinit.cpp:1411
#14 0x00000000004058da in main (argc=4, argv=<optimized out>, envp=0x7fffcd759290) at /usr/src/debug/kdelibs-4.12.97/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Jean Revertera 2014-04-24 07:07:08 UTC
Seems similar to bug 333268. I reported a similar crash on 4.13 there...
Comment 2 Jean Revertera 2014-04-25 06:30:20 UTC
Created attachment 86256 [details]
Crash info

Here is the crash info for KDE 4.13.

Maybe relevant: a few minutes before the crash, I added some items to be excluded from indexing... So at the time of the crash baloo was maybe still updating something...
Comment 3 Andrew Udvare 2014-04-29 08:16:11 UTC
Baloo and Nepomuk enabled. Akonadi working setup with PostgreSQL as back-end.

Every time a search is 'completed' in krunner it crashes.
Comment 4 Andrew Udvare 2014-04-29 08:17:01 UTC
Created attachment 86330 [details]
Crash info, Gentoo built

searched for 'dog' in krunner and let it complete
Comment 5 Vishesh Handa 2014-05-08 11:14:23 UTC

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