![]() Registered Member ![]()
|
My system suffered a pretty good crash on the root drive and I'm in the process of recovering. Fortunately my home directory was on a separate RAID and so everything is still available, bad thing is that Kontact/Akonadi seems to be stuck in some sort of loop. Kontact starts and I can see my old mail but after a while things seem to reset. Starting from konsole "akonadictl start" I see this at the same time:
<< Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'Akonadi::PartHelperException' what(): Attempting to delete a file not in our prefix. "[ 0: akonadiserver() [0x419828] 1: akonadiserver() [0x419ab2] 2: /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7fd217f52ff0] 3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fd217f52f77] 4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fd217f565e8] 5: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x155) [0x7fd21855a6e5] 6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e856) [0x7fd218558856] 7: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e883) [0x7fd218558883] 8: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x46) [0x7fd218558af6] 9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x366) [0x7fd219b3ead6] 10: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x8b) [0x7fd219b43e5b] 11: akonadiserver() [0x41278a] 12: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd217f3dde5] 13: akonadiserver() [0x412ff8] ] " >> Followed by some startup sequence. Thoughts on debugging from this point? |
![]() KDE Developer ![]()
|
Please install Akonadi debug symbols, attach GDB to the Akonadi server (gdb -p `pidof akonadiserver`) and type "catch throw" and "continue". Then try to reproduce the bug. Once Akonadi server crashes (you won't notice in KMail, it won't reset. You have to watch gdb when it jumps into interactive console), type "t a a bt", which will print a full backtrace. Please copy-paste the BT here.
Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde) |
![]() Registered Member ![]()
|
Thanks for helping, I haven't worked in C (or C++) in some time. gdb brings back some memories...
<< (gdb) continue Continuing. Catchpoint 1 (exception thrown), 0x00007fc57d1ffa50 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) t a a bt Thread 28 (Thread 0x7fc57914a700 (LWP 24781)): #0 0x00007fc57ccb5de3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc57e7c3ad1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fc57e6e6f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fc57c9adf6e in start_thread (arg=0x7fc57914a700) at pthread_create.c:311 #4 0x00007fc57ccbd9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 27 (Thread 0x7fc573fff700 (LWP 24798)): #0 0x00007fc57ccb0f7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc57c2d06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fc57c2d07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fc57e813a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fc57e7e55ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fc57e7e58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fc57e6e488f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00000000004c68a0 in Akonadi::CacheCleaner::run (this=0x9ded00) at ../../server/src/cachecleaner.cpp:46 #8 0x00007fc57e6e6f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fc57c9adf6e in start_thread (arg=0x7fc573fff700) at pthread_create.c:311 #10 0x00007fc57ccbd9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 26 (Thread 0x7fc5737fe700 (LWP 24799)): #0 0x00007fc57ccb0f7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc57c2d06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fc57c2d07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fc57e813a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fc57e7e55ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fc57e7e58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fc57e6e488f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x0000000000424dab in IntervalCheck::run (this=0x9cf320) at ../../server/src/intervalcheck.cpp:53 #8 0x00007fc57e6e6f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fc57c9adf6e in start_thread (arg=0x7fc5737fe700) at pthread_create.c:311 #10 0x00007fc57ccbd9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 25 (Thread 0x7fc572ffd700 (LWP 24800)): #0 0x00007fc57ccb0f7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc57c2d06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fc57c2d07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 ... lots of threads in poll() Thread 1 (Thread 0x7fc57ed4a740 (LWP 24780)): #0 0x00007fc57d1ffa50 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x00000000004bdc81 in Akonadi::PartHelper::removeFile (fileName=...) at ../../server/src/storage/parthelper.cpp:183 #2 0x00000000004bddd3 in Akonadi::PartHelper::truncate (part=...) at ../../server/src/storage/parthelper.cpp:216 #3 0x00000000004c74b4 in Akonadi::CacheCleaner::cleanCache (this=0x9ded00) at ../../server/src/cachecleaner.cpp:91 #4 0x00007fc57e7fedce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fc57e7e68bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fc57e7e9e1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fc57e814073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fc57c2d03b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007fc57c2d0708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007fc57c2d07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #11 0x00007fc57e813a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #12 0x00007fc57e7e55ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #13 0x00007fc57e7e58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #14 0x00007fc57e7eae5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #15 0x000000000041278a in main (argc=1, argv=<optimized out>) at ../../server/src/main.cpp:90 >> Before this there seem to be some diagnostics I hadn't seen before: akonadi_nepomuk_feeder(24821) FeederPluginloader::feederPluginsForMimeType: No feeder for type "text/calendar" found akonadi_maildispatcher_agent(24819)/libakonadi Akonadi::ResourceScanJob::Private::fetchResult: Resource has more than one root collection. I don't know what to do. akonadi_googlecontacts_resource_0(24813)/LibKGAPI KGAPI2::Job::Private::_k_replyReceived: Unauthorized. Access token has expired or is invalid. AkonadiAgentServer(24816) MaildirResource::maildirForCollection: RID mismatch, is "/home/russ/.kde/share/apps/kmail2/mail/" expected "/home/russ/.local/share/local-mail/" akonadi_googlecontacts_resource_0(24813)/LibKGAPI KGAPI2::Job::Private::_k_replyReceived: Requested resource does not exist Which I think is the result of my having to trash my .kde directory, so it looks like there may be 2 local maildirs? I dug around a bit and tried to get the name of the file but: << Thread 1 (Thread 0x7fc57ed4a740 (LWP 24780)): #0 0x00007fc57d1ffa50 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x00000000004bdc81 in Akonadi::PartHelper::removeFile (fileName=...) at ../../server/src/storage/parthelper.cpp:183 #2 0x00000000004bddd3 in Akonadi::PartHelper::truncate (part=...) at ../../server/src/storage/parthelper.cpp:216 #3 0x00000000004c74b4 in Akonadi::CacheCleaner::cleanCache (this=0x9ded00) at ../../server/src/cachecleaner.cpp:91 #4 0x00007fc57e7fedce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fc57e7e68bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fc57e7e9e1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fc57e814073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fc57c2d03b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007fc57c2d0708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007fc57c2d07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #11 0x00007fc57e813a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #12 0x00007fc57e7e55ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #13 0x00007fc57e7e58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #14 0x00007fc57e7eae5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #15 0x000000000041278a in main (argc=1, argv=<optimized out>) at ../../server/src/main.cpp:90 >> and: <<(gdb) backtrace full #0 0x00007fc57d1ffa50 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 No symbol table info available. #1 0x00000000004bdc81 in Akonadi::PartHelper::removeFile (fileName=...) at ../../server/src/storage/parthelper.cpp:183 fileName = <optimized out> #2 0x00000000004bddd3 in Akonadi::PartHelper::truncate (part=...) at ../../server/src/storage/parthelper.cpp:216 fileName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1564}, alloc = 0, size = 0, data = 0x75b69a <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 54}, alloc = 0, size = 0, data = 0x7fc57eb4b91a <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa4c0f0, static codecForCStrings = 0x0} #3 0x00000000004c74b4 in Akonadi::CacheCleaner::cleanCache (this=0x9ded00) at ../../server/src/cachecleaner.cpp:91 part = {<Akonadi::Entity> = {m_id = 2061211}, d = {d = 0xa40330}} _container_ = {c = {{d = 0x9dd230, p = 0x9dd230}}, brk = 0, i = 0x9dd240, e = 0x9dd260} qb = {<Akonadi::QueryBuilder> = {mTable = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1564}, alloc = 0, size = 0, data = 0x75b69a <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 54}, alloc = 0, size = 0, data = 0x7fc57eb4b91a <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa48170, static codecForCStrings = 0x0}, mDatabaseType = DbType::MySQL, mRootCondition = {{ d = 0xa361a0, e = 0xa361a0}}, mQuery = {d = 0xa48150}, mType = Akonadi::QueryBuilder::Select, mColumns = {<QList<QString>> = {{p = {static shared_null = { ref = {_q_value = 980}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xa62de0}, d = 0xa62de0}}, <No data fields>}, mBindValues = {{ p = {static shared_null = {ref = {_q_value = 980}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xa5bec0}, d = 0xa5bec0}}, mSortColumns = {{ d = 0x75b5a0 <QVectorData::shared_null>, p = 0x75b5a0 <QVectorData::shared_null>}}, mGroupColumns = {<QList<QString>> = {{p = {static shared_null = {ref = { _q_value = 980}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x75b7a0 <QListData::shared_null>}, d = 0x75b7a0 <QListData::shared_null>}}, <No data fields>}, mColumnValues = {{d = 0x75b5a0 <QVectorData::shared_null>, p = 0x75b5a0 <QVectorData::shared_null>}}, mIdentificationColumn = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1564}, alloc = 0, size = 0, data = 0x75b69a <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 54}, alloc = 0, size = 0, data = 0x7fc57eb4b91a <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa3aa50, static codecForCStrings = 0x0}, mJoinedTables = {<QList<QString>> = {{p = { static shared_null = {ref = {_q_value = 980}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xd13a00}, d = 0xd13a00}}, <No data fields>}, mJoins = {{d = 0xa4c020, e = 0xa4c020}}, mLimit = -1, mDistinct = false}, <No data fields>} localParts = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 980}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xa48590}, d = 0xa48590}}, <No data fields>} parts = {{d = 0x9dd230, p = 0x9dd230}} collection = {<Akonadi::Entity> = {m_id = 247}, d = {d = 0xa5b8d0}} _container_ = {c = {{d = 0xa5c0a0, p = 0xa5c0a0}}, brk = 0, i = 0xa5c1a0, e = 0xa5c3e0} loopsWithExpiredItem = 0 collections = {{d = 0xa5c0a0, p = 0xa5c0a0}} ... >> (Edited) |
![]() Registered Member ![]()
|
So - no thoughts at all? I've tried deleting the extra local folders resource, deleted the google contacts as it was crashing. There's still a spare "personal contacts" but I'd hate to lost all my contact info by deleting the wrong one. I've run "akonadictl fsck" (nothing) "akonadictl vacuum" (nothing, not even excessing disk usage). akonadictl start is reporting:
<< $ akonadictl start Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) search paths: ("/usr/lib/lightdm/lightdm", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") akonadi.collectionattributetable OK akonadi.collectionmimetyperelation OK akonadi.collectionpimitemrelation OK akonadi.collectiontable OK akonadi.flagtable OK akonadi.mimetypetable OK akonadi.parttable OK akonadi.pimitemflagrelation OK akonadi.pimitemtable OK akonadi.resourcetable OK akonadi.schemaversiontable OK mysql.columns_priv OK mysql.db OK mysql.event OK mysql.func OK mysql.general_log OK mysql.help_category OK mysql.help_keyword OK mysql.help_relation OK mysql.help_topic OK mysql.host OK mysql.ndb_binlog_index OK mysql.plugin OK mysql.proc OK mysql.procs_priv OK mysql.proxies_priv OK mysql.servers OK mysql.slow_log OK mysql.tables_priv OK mysql.time_zone OK mysql.time_zone_leap_second OK mysql.time_zone_name OK mysql.time_zone_transition OK mysql.time_zone_transition_type OK mysql.user OK Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) search paths: ("/usr/lib/lightdm/lightdm", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games") Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. search paths: ("/home/russ/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/russ/.kde/lib/kde4/", "/usr/lib/kde4/") search paths: ("/home/russ/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/russ/.kde/lib/kde4/", "/usr/lib/kde4/") Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. search paths: ("/home/russ/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/russ/.kde/lib/kde4/", "/usr/lib/kde4/") Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. search paths: ("/home/russ/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/russ/.kde/lib/kde4/", "/usr/lib/kde4/") search paths: ("/home/russ/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/russ/.kde/lib/kde4/", "/usr/lib/kde4/") Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. akonadi_nepomuk_feeder(17863) FeederPluginloader::feederPluginsForMimeType: No feeder for type "text/calendar" found "Cannot connect to agent instance with identifier 'akonadi_maildir_resource_6', error message: 'Could not get owner of name 'org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_6': no such name'" "Cannot connect to agent instance with identifier 'akonadi_maildir_resource_6', error message: 'Could not get owner of name 'org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_6': no such name'" "Cannot connect to agent instance with identifier 'akonadi_maildir_resource_5', error message: 'Could not get owner of name 'org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_5': no such name'" "Cannot connect to agent instance with identifier 'akonadi_maildir_resource_5', error message: 'Could not get owner of name 'org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_5': no such name'" akonadi_maildispatcher_agent(17861)/libakonadi Akonadi::ResourceScanJob::Private::fetchResult: Resource has more than one root collection. I don't know what to do. AkonadiAgentServer(17860) MaildirResource::maildirForCollection: RID mismatch, is "/home/russ/.kde/share/apps/kmail2/mail/" expected "/home/russ/.local/share/local-mail/" akonadi_nepomuk_feeder(17863) ItemQueue::indexBatch: failed to fetch item or item without payload: 654325 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 akonadi_nepomuk_feeder(17863) ItemQueue::fetchJobResult: Not all items were fetched: 0 100 Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'Akonadi::PartHelperException' what(): Attempting to delete a file not in our prefix. "[ 0: akonadiserver() [0x419828] 1: akonadiserver() [0x419ab2] 2: /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0) [0x7f17dbce8ff0] 3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f17dbce8f77] 4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f17dbcec5e8] 5: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x155) [0x7f17dc2f06e5] 6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e856) [0x7f17dc2ee856] 7: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e883) [0x7f17dc2ee883] 8: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x46) [0x7f17dc2eeaf6] 9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x366) [0x7f17dd8d4ad6] 10: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x8b) [0x7f17dd8d9e5b] 11: akonadiserver() [0x41278a] 12: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f17dbcd3de5] 13: akonadiserver() [0x412ff8] ] " >> Then cycling endlessly. Maybe it's time to start from scratch? Is there something written up somewhere that could help me find things like my mail, contacts and filter settings so I could restore things? I've never had a system this opaque. |
![]() KDE Developer ![]()
|
Hi,
sorry, I was busy over the week. I've added handler for the exception into 1.12 branch, so the fix will be available in 1.12 final release. However the exception indicates that the path stored in Akonadi is different from current run-time path. Did you rename your user or move the database to a different $HOME? Note that Akonadi database is *not* portable, unless created afresh with Akonadi 1.11 or later.
Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde) |
![]() Registered Member ![]()
|
After the crash my desktop was seriously messed up (no cashew, plasma crashing, etc.) and I had to drop the .kde directory and let the system rebuild things. I'm guessing that part of that was that kontact started a new DB? I'd be happy to move email to a new location and let things start reindexing, or point kontact back to the old but it'd be nice to get email going again. (I still need to get the web server and a couple of mailing lists restarted, can't w/o my own email).
|
![]() KDE Developer ![]()
|
Akonadi database is stored in ~/.local and ~/.config, not in ~/.kde, so it was not recreated.
Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde) |
![]() Registered Member ![]()
|
It looks to me as though 2 copies of Akonadi are being started - is that possible or likely and if so where would I look for whatever is doing it? If it's easier to restart with a new db I can do that if there's a clear path to saving email and settings.
|
![]() KDE Developer ![]()
|
It is technically possible to start multiple instances of Akonadi, but it has to be done manually. What makes you think you have multiple instances of Akonadi running?
Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde) |
![]() Registered Member ![]()
|
I'm seeing this in the ~/.local/share/akonadi/db_data/mysql.err file:
<< 140317 19:42:16 [Note] Plugin 'FEDERATED' is disabled. 140317 19:42:16 InnoDB: The InnoDB memory heap is disabled 140317 19:42:16 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140317 19:42:16 InnoDB: Compressed tables use zlib 1.2.8 140317 19:42:16 InnoDB: Using Linux native AIO 140317 19:42:16 InnoDB: Initializing buffer pool, size = 80.0M 140317 19:42:16 InnoDB: Completed initialization of buffer pool InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. 140317 19:42:16 InnoDB: Retrying to lock the first data file InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. >> I do an "akonadictl stop" followed by "ps -ef | grep akonadi" and see: /usr/sbin/mysqld --defaults-file=/home/russ/.local/share/akonadi/mysql.conf --datadir=/home/russ/.local/share/akonadi/db_data/ --socket=/tmp/akonadi-russ.2FMpU9/mysql.socket So it would appear that there's a rogue akonadi process running, or at least the remnants of the mysql service from one. But really at this point my email has been down for 10 days and I'd really like to get this working. Is there a documented process to help me preserve my kmail settings and mail, reload akonadi and get things going again? Maybe a migration document? I've had people call me to see if I was still alive.... |
![]() Administrator ![]()
|
Did killing the rogue process and then restarting akonadi helped in any way?
I would argue to see if it's a mere configuration problem, you should try to set up another user account and see if Akonadi locks up the same way.
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
I've rebooted a number of times and on starting kontact I see the double mysql processes accessing the db. Get out, "akonadictl stop" and there's the one hanging around. Kill it, restart kontact and both return. This doesn't seem to happen with a new account (I'm at work right now and can't check my system), just in reusing my old home.
At this point I'm seriously considering ditching Kontact et. al. and trying to recover my mail into t-bird or something else. Is there *anyone* who can point me to resources that tell me where my mail and contact data live and offer suggestions on how to get out of this freaking mess? |
![]() Administrator ![]()
|
Depends on what type of mail are you using. What kind of account are you using?
To completely wipe your config, remove .local/share/akonadi, .config/akonadi, and the various .kde[4]/share/config/akonadi* and kmail*. However don't do that before you write the type of accounts you use, as for local maildir some files live in that hierarchy (by default .local/share/local-mail).
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
I was able to stop the double mysql service by changing ~/.config/akonadi/akonadiserverrc line "StartServer=true" to "StartServer=false". Still crashes periodically.
I have my own domain and a few pop3 accounts elsewhere, I try to keep mail local to my machine so there's a bunch of mail files locally. I just don't know how to get them back in the mail system (not really sure where they are anymore) after getting it going again. |
![]() Administrator ![]()
|
Being POP3, they are in the file system as Maildir. So you may want to look under .local/share/local-mail or equivalent.
.... Wait, though, "startServer" does not start Akonadi at all it only means that an internal MySQL should be used, rather than a system one. Are you using Akonadi with a system MySQL instance?
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]