Bug 389217 - crash in akonadictl restart (also happens on every logout)
Summary: crash in akonadictl restart (also happens on every logout)
Status: RESOLVED DUPLICATE of bug 385452
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: 4.13
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-01-19 18:01 UTC by Jürgen Richtsfeld
Modified: 2018-01-27 01:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Richtsfeld 2018-01-19 18:01:47 UTC
Application: akonadi_baloo_indexer (4.14)
KDE Platform Version: 4.14.34
Qt Version: 4.8.7
Operating System: Linux 4.14.13-041413-generic x86_64
Distribution: Ubuntu 17.10

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

happens every time I log off or do _akonadictl restart_.

This is what I get on the console:
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadicontrol: "AgentManager::agentInstanceSynchronizeCollection"  Agent instance  "akonadi_maildir_resource_17"  has no resource interface!
org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier 'akonadi_maildir_resource_17', error message: ''"
QDBusConnection: name 'org.freedesktop.Akonadi.Control' had owner '' but we thought it was ':1.177'
org.kde.pim.akonadicontrol: Agent instance "akonadi_baloo_indexer" has no interface!
org.kde.pim.akonadicontrol: Agent instance "akonadi_baloo_indexer" has no interface!
org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_baloo_indexer" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_baloo_indexer' crashed! 1 restarts left.
QProcess: Destroyed while process ("/usr/bin/akonadi_baloo_indexer") is still running.
org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_baloo_indexer" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_baloo_indexer' crashed! 0 restarts left.
org.kde.pim.akonadicontrol: Agent instance with identifier "akonadi_baloo_indexer" does not exist
org.kde.pim.maildispatcher: Item 112366 does not have the required attribute Address.
akonadi_baloo_indexer(12366): "DatabaseLockError" "DatabaseLockError: Unable to get write lock on /home/xx/.local/share/baloo/email/: already locked" 
akonadi_baloo_indexer(12366): "DatabaseLockError" "DatabaseLockError: Unable to get write lock on /home/xx/.local/share/baloo/emailContacts/: already locked" 
org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
org.kde.kgapi: Bad request, Google replied ' "{\n  \"error\" : \"invalid_grant\"\n}" '
org.kde.kgapi: Bad request, Google replied ' "{\n  \"error\" : \"invalid_grant\"\n}" '
akonadi_baloo_indexer(12366): Could not obtain lock for Xapian Database. This is bad 
akonadi_baloo_indexer(12366): "DatabaseLockError" "DatabaseLockError: Unable to get write lock on /home/xx/.local/share/baloo/notes/: already locked" 
akonadi_baloo_indexer(12366): "DatabaseLockError" "DatabaseLockError: Unable to get write lock on /home/xx/.local/share/baloo/calendars/: already locked" 
akonadi_baloo_indexer(12366)/libakonadi: Unable to register service "org.freedesktop.Akonadi.Agent.akonadi_baloo_indexer" at dbus: "" 
KCrash: Application 'akonadi_baloo_indexer' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/xx/.kde/socket-xx/kdeinit4__0
drkonqi(12405) SystemInformation::tryToSetBugzillaPlatformFromExternalInfo: found lsb_release
drkonqi(12405) KCrashBackend::constructCrashedApplication: Using /proc to determine executable path
drkonqi(12405) KCrashBackend::constructCrashedApplication: Executable is: "/usr/bin/akonadi_baloo_indexer"
drkonqi(12405) KCrashBackend::constructCrashedApplication: Executable exists: true
drkonqi(12405) DrKonqi::init: Enabling drkonqi crash catching
drkonqi(12405) KCrashBackend::stopAttachedProcess: Sending SIGSTOP to process
drkonqi(12405) KCrashBackend::continueAttachedProcess: Sending SIGCONT to process
org.kde.pim.akonadiplugin_indexer: invalid query  "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('iomega'), ?v1))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/009559a0-da5e-43d6-9736-b0922eb803f9> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/4a60f467-24f9-4956-b2fe-81f443a53394> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/5249b993-0620-457b-9765-612c1f8ab2e1> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/2c051bda-2164-4a19-9644-2c43332fcd53> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/d38d8d62-9061-4083-ae41-ffe2672dae85> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/31d3b47d-11b8-4ab2-a56b-9270387e57d0> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/dc1979c3-5104-44d1-90f4-6184e8789494> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/2ac1f397-4a45-4e02-8627-6cdadcdc6375> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/1d3171a8-f37d-42ed-b0d7-d48905f5c1b7> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/69442aae-78ea-4548-b003-1f85018eac3c> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/5d28c295-e917-4975-9290-98730ad71d66> . } UNION { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf> <nepomuk:/res/12095c00-72b2-4259-b8fb-8f359fc52e3b> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v1 . FILTER(bif:contains(?v1, \"'iomega'\")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . FILTER EXISTS { ?r a [ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> \"true\"^^<http://www.w3.org/2001/XMLSchema#boolean> ] . } . } . }"
drkonqi(12405) BacktraceLineGdb::parse: garbage detected: "[Thread debugging using libthread_db enabled]

The crash can be reproduced every time.

-- Backtrace:
Application:  (akonadi_baloo_indexer), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f221cd6bf5d in __GI_abort () at abort.c:90
#8  0x00007f222093bf15 in qt_message_output (msgType=<optimized out>, buf=0x55d8180b68d8 "akonadi_baloo_indexer(12366)/libakonadi: Unable to register service \"org.freedesktop.Akonadi.Agent.akonadi_baloo_indexer\" at dbus: \"\" ") at global/qglobal.cpp:2447
#9  0x00007f221f470cc7 in QDebug::~QDebug (this=0x7ffe6d1ed700, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:85
#10 Akonadi::AgentBasePrivate::delayedInit (this=0x55d818282b00) at /build/kde4pimlibs-Uf9Msk/kde4pimlibs-4.14.10/akonadi/agentbase.cpp:411
#11 0x00007f221f47018a in Akonadi::AgentBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/kde4pimlibs-Uf9Msk/kde4pimlibs-4.14.10/obj-x86_64-linux-gnu/akonadi/moc_agentbase.cpp:98
#12 0x00007f2220a70d11 in QObject::event (this=0x55d818279180, e=<optimized out>) at kernel/qobject.cpp:1222
#13 0x00007f221dfc403c in QApplicationPrivate::notify_helper (this=this@entry=0x55d8180abc50, receiver=receiver@entry=0x55d818279180, e=e@entry=0x55d8182bd140) at kernel/qapplication.cpp:4570
#14 0x00007f221dfcaf76 in QApplication::notify (this=this@entry=0x7ffe6d1ede70, receiver=receiver@entry=0x55d818279180, e=e@entry=0x55d8182bd140) at kernel/qapplication.cpp:4356
#15 0x00007f221ed2304a in KApplication::notify (this=0x7ffe6d1ede70, receiver=0x55d818279180, event=0x55d8182bd140) at ./kdeui/kernel/kapplication.cpp:311
#16 0x00007f2220a568ad in QCoreApplication::notifyInternal (this=0x7ffe6d1ede70, receiver=receiver@entry=0x55d818279180, event=event@entry=0x55d8182bd140) at kernel/qcoreapplication.cpp:955
#17 0x00007f2220a5a366 in QCoreApplication::sendEvent (event=0x55d8182bd140, receiver=0x55d818279180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55d81807bb30) at kernel/qcoreapplication.cpp:1579
#19 0x00007f2220a5a643 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#20 0x00007f2220a8709e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#21 postEventSourceDispatch (s=0x55d8180ae1f0) at kernel/qeventdispatcher_glib.cpp:300
#22 0x00007f221c429fb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f221c42a1f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f221c42a27c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f2220a8720e in QEventDispatcherGlib::processEvents (this=0x55d8180aa4e0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#26 0x00007f221e071666 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f2220a5512f in QEventLoop::processEvents (this=this@entry=0x7ffe6d1edde0, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f2220a55495 in QEventLoop::exec (this=this@entry=0x7ffe6d1edde0, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f2220a5b459 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#30 0x00007f221dfc228c in QApplication::exec () at kernel/qapplication.cpp:3828
#31 0x00007f221f46d43d in Akonadi::AgentBase::init (r=0x55d818279180) at /build/kde4pimlibs-Uf9Msk/kde4pimlibs-4.14.10/akonadi/agentbase.cpp:859
#32 0x000055d816d181f3 in Akonadi::AgentBase::init<BalooIndexingAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/agentbase.h:455
#33 0x00007f221cd541c1 in __libc_start_main (main=0x55d816d113a0 <main(int, char**)>, argc=3, argv=0x7ffe6d1edf88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe6d1edf78) at ../csu/libc-start.c:308
#34 0x000055d816d1145a in _start ()

Possible duplicates by query: bug 363463.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-01-27 01:07:20 UTC

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