Bug 333761 - KRunner crashes with Desktop Search runner enabled
Summary: KRunner crashes with Desktop Search runner enabled
Status: RESOLVED FIXED
Alias: None
Product: Baloo
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords: drkonqi
: 333578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-23 10:02 UTC by Arthur Schiwon
Modified: 2014-05-21 08:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Schiwon 2014-04-23 10:02:58 UTC
Application: krunner (4.11.8)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

I typed for letters ("balo"), then KRunner crashed. I was able to reproduce it several times after restarting KRunner.

- Custom settings of the application:

After I disabled the Desktop Search runner, KRunner did not crash anymore. So I suppose the Desktop Search runner is responsible for the crash.

-- Backtrace:
Application: Run Command Interface (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f357ab387c0 (LWP 1733))]

Thread 11 (Thread 0x7f355dbad700 (LWP 1737)):
#0  0x00007f357a4556bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f356f427c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f356f3e6b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f356f3e6f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f356f3e70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f357727e7be in QEventDispatcherGlib::processEvents (this=0x7f35580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f35772500af in QEventLoop::processEvents (this=this@entry=0x7f355dbacde0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f35772503a5 in QEventLoop::exec (this=this@entry=0x7f355dbacde0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f357714cc5f in QThread::exec (this=this@entry=0x1a2f1f0) at thread/qthread.cpp:537
#9  0x00007f3577231823 in QInotifyFileSystemWatcherEngine::run (this=0x1a2f1f0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f357714f32f in QThreadPrivate::start (arg=0x1a2f1f0) at thread/qthread_unix.cpp:349
#11 0x00007f356f8c6182 in start_thread (arg=0x7f355dbad700) at pthread_create.c:312
#12 0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f3552701700 (LWP 1854)):
#0  0x00007f357a456fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f356f3e6fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f356f3e70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f357727e7be in QEventDispatcherGlib::processEvents (this=0x7f35440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f35772500af in QEventLoop::processEvents (this=this@entry=0x7f3552700de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f35772503a5 in QEventLoop::exec (this=this@entry=0x7f3552700de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f357714cc5f in QThread::exec (this=this@entry=0x20ea700) at thread/qthread.cpp:537
#7  0x00007f3577231823 in QInotifyFileSystemWatcherEngine::run (this=0x20ea700) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f357714f32f in QThreadPrivate::start (arg=0x20ea700) at thread/qthread_unix.cpp:349
#9  0x00007f356f8c6182 in start_thread (arg=0x7f3552701700) at pthread_create.c:312
#10 0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f35519c5700 (LWP 2031)):
[KCrash Handler]
#6  0x00007f357a39ff79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f357a3a3388 in __GI_abort () at abort.c:89
#8  0x00007f3576bb56b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f3576bb3836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f3576bb3863 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f3576bb3af6 in __cxa_rethrow () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f352ab424cd in Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () from /usr/lib/libxapian.so.22
#13 0x00007f352a8eceb3 in Baloo::XapianSearchStore::exec(Baloo::Query const&) () from /usr/lib/libbalooxapian.so.4
#14 0x00007f35519d1bf9 in Baloo::Query::exec() () from /usr/lib/libbaloocore.so.4
#15 0x00007f3551bde253 in ?? () from /usr/lib/kde4/krunner_baloosearchrunner.so
#16 0x00007f3579a0c24e in Plasma::AbstractRunner::performMatch (this=0x2079630, localContext=...) at ../../plasma/abstractrunner.cpp:136
#17 0x00007f35721e4cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f35519c4de0, th=th@entry=0x210e640, job=job@entry=0x1fc6fa0) at ../../../threadweaver/Weaver/Job.cpp:106
#18 0x00007f35721e4e6e in ThreadWeaver::Job::execute (this=0x1fc6fa0, th=0x210e640) at ../../../threadweaver/Weaver/Job.cpp:135
#19 0x00007f35721e46bb in ThreadWeaver::Thread::run (this=0x210e640) at ../../../threadweaver/Weaver/Thread.cpp:108
#20 0x00007f357714f32f in QThreadPrivate::start (arg=0x210e640) at thread/qthread_unix.cpp:349
#21 0x00007f356f8c6182 in start_thread (arg=0x7f35519c5700) at pthread_create.c:312
#22 0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f35511c4700 (LWP 2032)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f357714f816 in wait (time=18446744073709551615, this=0x1ada540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1c37d28, mutex=0x1ac9e50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f35721e2e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c37d00, th=0x20147d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f35721e5903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1acccc0, th=0x20147d0, previous=0x200af90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f35721e461f in ThreadWeaver::Thread::run (this=0x20147d0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f357714f32f in QThreadPrivate::start (arg=0x20147d0) at thread/qthread_unix.cpp:349
#7  0x00007f356f8c6182 in start_thread (arg=0x7f35511c4700) at pthread_create.c:312
#8  0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f35509c3700 (LWP 2033)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f357714f816 in wait (time=18446744073709551615, this=0x1ada540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1c37d28, mutex=0x1ac9e50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f35721e2e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c37d00, th=0x2112d40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f35721e5903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1acccc0, th=0x2112d40, previous=0x208f3b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f35721e461f in ThreadWeaver::Thread::run (this=0x2112d40) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f357714f32f in QThreadPrivate::start (arg=0x2112d40) at thread/qthread_unix.cpp:349
#7  0x00007f356f8c6182 in start_thread (arg=0x7f35509c3700) at pthread_create.c:312
#8  0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f35501c2700 (LWP 2034)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f357714ddd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x7f353c01aaa0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x7f353c01aaa0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f357714a3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f352a8ed038 in Baloo::XapianSearchStore::exec(Baloo::Query const&) () from /usr/lib/libbalooxapian.so.4
#5  0x00007f35519d1bf9 in Baloo::Query::exec() () from /usr/lib/libbaloocore.so.4
#6  0x00007f3551bde253 in ?? () from /usr/lib/kde4/krunner_baloosearchrunner.so
#7  0x00007f3579a0c24e in Plasma::AbstractRunner::performMatch (this=0x2079630, localContext=...) at ../../plasma/abstractrunner.cpp:136
#8  0x00007f35721e4cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f35501c1de0, th=th@entry=0x1c31530, job=job@entry=0x206ccb0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007f35721e4e6e in ThreadWeaver::Job::execute (this=0x206ccb0, th=0x1c31530) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007f35721e46bb in ThreadWeaver::Thread::run (this=0x1c31530) at ../../../threadweaver/Weaver/Thread.cpp:108
#11 0x00007f357714f32f in QThreadPrivate::start (arg=0x1c31530) at thread/qthread_unix.cpp:349
#12 0x00007f356f8c6182 in start_thread (arg=0x7f35501c2700) at pthread_create.c:312
#13 0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f354f9c1700 (LWP 2035)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f357714ddd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x7f353c01aaa0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x7f353c01aaa0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f357714a3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f352a8ed038 in Baloo::XapianSearchStore::exec(Baloo::Query const&) () from /usr/lib/libbalooxapian.so.4
#5  0x00007f35519d1bf9 in Baloo::Query::exec() () from /usr/lib/libbaloocore.so.4
#6  0x00007f3551bde253 in ?? () from /usr/lib/kde4/krunner_baloosearchrunner.so
#7  0x00007f3579a0c24e in Plasma::AbstractRunner::performMatch (this=0x2079630, localContext=...) at ../../plasma/abstractrunner.cpp:136
#8  0x00007f35721e4cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f354f9c0de0, th=th@entry=0x211d640, job=job@entry=0x1b75990) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007f35721e4e6e in ThreadWeaver::Job::execute (this=0x1b75990, th=0x211d640) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007f35721e46bb in ThreadWeaver::Thread::run (this=0x211d640) at ../../../threadweaver/Weaver/Thread.cpp:108
#11 0x00007f357714f32f in QThreadPrivate::start (arg=0x211d640) at thread/qthread_unix.cpp:349
#12 0x00007f356f8c6182 in start_thread (arg=0x7f354f9c1700) at pthread_create.c:312
#13 0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f354f1c0700 (LWP 2036)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f357714ddd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x7f353c01aaa0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x7f353c01aaa0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f357714a3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f352a8ed038 in Baloo::XapianSearchStore::exec(Baloo::Query const&) () from /usr/lib/libbalooxapian.so.4
#5  0x00007f35519d1bf9 in Baloo::Query::exec() () from /usr/lib/libbaloocore.so.4
#6  0x00007f3551bde253 in ?? () from /usr/lib/kde4/krunner_baloosearchrunner.so
#7  0x00007f3579a0c24e in Plasma::AbstractRunner::performMatch (this=0x2079630, localContext=...) at ../../plasma/abstractrunner.cpp:136
#8  0x00007f35721e4cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f354f1bfde0, th=th@entry=0x2030f90, job=job@entry=0x1add030) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007f35721e4e6e in ThreadWeaver::Job::execute (this=0x1add030, th=0x2030f90) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007f35721e46bb in ThreadWeaver::Thread::run (this=0x2030f90) at ../../../threadweaver/Weaver/Thread.cpp:108
#11 0x00007f357714f32f in QThreadPrivate::start (arg=0x2030f90) at thread/qthread_unix.cpp:349
#12 0x00007f356f8c6182 in start_thread (arg=0x7f354f1c0700) at pthread_create.c:312
#13 0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f354e9bf700 (LWP 2037)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f357714f816 in wait (time=18446744073709551615, this=0x1ada540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1c37d28, mutex=0x1ac9e50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f35721e2e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c37d00, th=0x20326c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f35721e5903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1acccc0, th=0x20326c0, previous=0x1a37770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f35721e461f in ThreadWeaver::Thread::run (this=0x20326c0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f357714f32f in QThreadPrivate::start (arg=0x20326c0) at thread/qthread_unix.cpp:349
#7  0x00007f356f8c6182 in start_thread (arg=0x7f354e9bf700) at pthread_create.c:312
#8  0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f352bfff700 (LWP 2038)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f357714f816 in wait (time=18446744073709551615, this=0x1ada540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1c37d28, mutex=0x1ac9e50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f35721e2e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c37d00, th=0x1fbffa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f35721e5903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1acccc0, th=0x1fbffa0, previous=0x1b843d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f35721e461f in ThreadWeaver::Thread::run (this=0x1fbffa0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f357714f32f in QThreadPrivate::start (arg=0x1fbffa0) at thread/qthread_unix.cpp:349
#7  0x00007f356f8c6182 in start_thread (arg=0x7f352bfff700) at pthread_create.c:312
#8  0x00007f357a46430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f357ab387c0 (LWP 1733)):
#0  0x00007f357a4556bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f356f427c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f356f3e6b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f356f3e6f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f356f3e70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f357727e7be in QEventDispatcherGlib::processEvents (this=0x193d630, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f3577ce5bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f35772500af in QEventLoop::processEvents (this=this@entry=0x7fff5f55e440, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f35772503a5 in QEventLoop::exec (this=this@entry=0x7fff5f55e440, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3577255b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#10 0x00007f3577c4237c in QApplication::exec () at kernel/qapplication.cpp:3828
#11 0x00007f357a7565a5 in kdemain (argc=1, argv=0x7fff5f55e698) at ../../krunner/main.cpp:64
#12 0x00007f357a38aec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff5f55e698, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5f55e688) at libc-start.c:287
#13 0x00000000004006fe in _start ()

Possible duplicates by query: bug 333268.

Reported using DrKonqi
Comment 1 Vishesh Handa 2014-04-23 10:24:48 UTC
If you can reproduce this, please run krunner under gdb

$ gdb krunner --nofork
> catch throw
> run

And then try to get it to crash backtrace. Then press 'continue', and it will crash. Please paste the entire log.
Comment 2 Arthur Schiwon 2014-04-23 10:38:33 UTC
Not immediately unlike before, but now it happened. What I tried to make it happen again was to remove a folder from the blacklist in the Baloo settings (no effect) and re-adding it (no immediate effect, a little bit later it did).

This is the output:

$ gdb --args krunner --nofork
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from krunner...Reading symbols from /usr/lib/debug//usr/bin/krunner...done.
done.
(gdb) run
Starting program: /usr/bin/krunner --nofork
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
unnamed app(3065): KUniqueApplication: Can't setup D-Bus service. Probably already running. 

[Inferior 1 (process 3065) exited with code 0377]
(gdb) QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
terminate called after throwing an instance of 'Xapian::DatabaseModifiedError'
KCrash: Attempting to start /usr/bin/krunner from kdeinit
sock_file=/home/blizzz/.kde/socket-zara/kdeinit4__0
KCrash: Application 'krunner' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/blizzz/.kde/socket-zara/kdeinit4__0
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 22 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
krunner: Fatal IO error: client killed
Comment 3 Arthur Schiwon 2014-04-23 10:57:20 UTC
Oh, forget the catch throw… with "catch throw" the output is:

$ gdb --args krunner --nofork
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from krunner...Reading symbols from /usr/lib/debug//usr/bin/krunner...done.
done.
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/krunner --nofork
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[New Thread 0x7fffdb00c700 (LWP 1465)]
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
krunner(1458) KDevelopSessions::KDevelopSessions: INIT KDEV 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{d97cd9b1-b000-4288-b2f7-933f267751cf}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{04f086cf-4b26-4cd5-b937-f81dd2885ccb}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{97343eac-c7ab-4cd0-873a-e54bd736f9b2}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{b9a3ccf7-a339-4134-9bb0-6030d5072a62}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{247ddba8-fac3-4b3e-bcd9-0a82c47b8785}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{e2cd2856-e096-431d-834f-8c15ef7cc688}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{4458ba08-cf04-4f5b-9515-5807ec5147ad}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{a4a36218-84f4-47e9-a2dc-15d83004763a}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{658b5b57-3832-4dfe-845f-5c4ac2b50aaa}/sessionrc" 
krunner(1458) KDevelopSessions::loadSessions: NEW SESSION: "/home/blizzz/.kde/share/apps/kdevelop/sessions/{d51c3dd4-0d92-4914-a1de-d7c933615d86}/sessionrc" 
I/O warning : failed to load external entity "/home/blizzz/.qalculate/eurofxref-daily.xml"
I/O warning : failed to load external entity "/home/blizzz/.qalculate/eurofxref-daily.xml"
[New Thread 0x7fffce701700 (LWP 1466)]
[New Thread 0x7fffcdf00700 (LWP 1468)]
[New Thread 0x7fffcd6ff700 (LWP 1469)]
[New Thread 0x7fffccefe700 (LWP 1470)]
[New Thread 0x7fffcc6fd700 (LWP 1471)]
[New Thread 0x7fffcbefc700 (LWP 1472)]
[New Thread 0x7fffcb6fb700 (LWP 1473)]
[New Thread 0x7fffcaefa700 (LWP 1474)]
[New Thread 0x7fffc50e7700 (LWP 1475)]
[Switching to Thread 0x7fffcd6ff700 (LWP 1469)]
Catchpoint 1 (exception thrown), 0x00007ffff4012a30 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) continue 
Continuing.
krunner(1458): Xapian Database does not exist at  "/home/blizzz/.local/share/baloo/email/" 
Catchpoint 1 (exception thrown), 0x00007ffff4012a30 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) continue 
Continuing.
krunner(1458): Xapian Database does not exist at  "/home/blizzz/.local/share/baloo/notes/" 
Catchpoint 1 (exception thrown), 0x00007ffff4012a30 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) continue 
Continuing.
krunner(1458): Xapian Database does not exist at  "/home/blizzz/.local/share/baloo/contacts/" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x7400003
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
QSqlDatabasePrivate::removeDatabase: connection '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/blizzz/.mozilla/firefox/hl50cowu.default2/places.sqlite', old connection removed.
[Switching to Thread 0x7fffcc6fd700 (LWP 1471)]
Catchpoint 1 (exception thrown), 0x00007ffff4012a30 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) continue 
Continuing.
terminate called after throwing an instance of 'Xapian::DatabaseModifiedError'

Program received signal SIGABRT, Aborted.
0x00007ffff77fef79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) continue 
Continuing.
KCrash: Attempting to start /usr/bin/krunner from kdeinit
sock_file=/home/blizzz/.kde/socket-zara/kdeinit4__0
KCrash: Application 'krunner' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/blizzz/.kde/socket-zara/kdeinit4__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
krunner: Fatal IO error: client killed
[Thread 0x7fffcdf00700 (LWP 1468) exited]
[Thread 0x7fffc50e7700 (LWP 1475) exited]
[Thread 0x7fffcaefa700 (LWP 1474) exited]
[Thread 0x7fffcb6fb700 (LWP 1473) exited]
[Thread 0x7fffcbefc700 (LWP 1472) exited]
[Thread 0x7fffcc6fd700 (LWP 1471) exited]
[Thread 0x7fffccefe700 (LWP 1470) exited]
[Thread 0x7fffcd6ff700 (LWP 1469) exited]
[Thread 0x7fffce701700 (LWP 1466) exited]
[Thread 0x7fffdb00c700 (LWP 1465) exited]
[Inferior 1 (process 1458) exited with code 01]
Comment 4 Vishesh Handa 2014-04-23 11:27:03 UTC
Ok. This helps. I know what is going on. Thanks.
Comment 5 Arthur Schiwon 2014-04-23 11:30:55 UTC
Cool, thanks for taking care of this.
Comment 6 Vishesh Handa 2014-04-25 15:06:30 UTC
Git commit 0a3d303d726df0bc0f97e99d3116b8972f92bf00 by Vishesh Handa.
Committed on 25/04/2014 at 14:28.
Pushed by vhanda into branch 'KDE/4.13'.

XapianSearchStore: Catch the database modified exception

The database can get modified in the middle
FIXED-IN: 4.13.1

M  +39   -30   src/xapian/xapiansearchstore.cpp

http://commits.kde.org/baloo/0a3d303d726df0bc0f97e99d3116b8972f92bf00
Comment 7 Vishesh Handa 2014-04-25 15:24:17 UTC
*** Bug 333578 has been marked as a duplicate of this bug. ***