Summary: | KRunner crashes with Desktop Search runner enabled | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Baloo | Reporter: | Arthur Schiwon <blizzz> |
Component: | General | Assignee: | Vishesh Handa <me> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | hrvoje.senjan, me, xgdgsc |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=335060 | ||
Latest Commit: | http://commits.kde.org/baloo/0a3d303d726df0bc0f97e99d3116b8972f92bf00 | Version Fixed In: | 4.13.1 |
Description
Arthur Schiwon
2014-04-23 10:02:58 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.
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 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] Ok. This helps. I know what is going on. Thanks. Cool, thanks for taking care of this. 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 *** Bug 333578 has been marked as a duplicate of this bug. *** |