Application: akonadi_mixedmaildir_resource (4.10) KDE Platform Version: 4.10.5 Qt Version: 4.8.4 Operating System: Linux 3.10.3-300.fc19.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: Kmail crashes when attempting to read certain emails. There does not seem to be any pattern. It starts with "KMail resource is broken ..." and progresses to a crash. Restarting Akonadi allows me to read 5-10 messages before KMail becomes broken again. Here a mysql error log: 130727 7:38:48 InnoDB: The InnoDB memory heap is disabled 130727 7:38:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130727 7:38:48 InnoDB: Compressed tables use zlib 1.2.7 130727 7:38:48 InnoDB: Using Linux native AIO 130727 7:38:48 InnoDB: Initializing buffer pool, size = 8.0M 130727 7:38:48 InnoDB: Completed initialization of buffer pool 130727 7:38:48 InnoDB: highest supported file format is Barracuda. 130727 7:38:48 InnoDB: Waiting for the background threads to start 130727 7:38:49 Percona XtraDB (http://www.percona.com) 5.5.31-MariaDB-30.2 started; log sequence number 128446155 130727 7:38:49 [Note] Plugin 'FEEDBACK' is disabled. 130727 7:38:49 [Note] /usr/libexec/mysqld: ready for connections. Version: '5.5.31-MariaDB' socket: '/home/ikalas/.local/share/akonadi/socket-aleph.kalas.net/mysql.socket' port: 0 MariaDB Server 130727 7:39:36 [ERROR] mysqld: Deadlock found when trying to get lock; try restarting transaction 130727 7:39:36 [ERROR] mysqld: Deadlock found when trying to get lock; try restarting transaction Akonadi error log: Nepomuk Query Server not available Error during executing query "UPDATE PimItemTable SET rev = :0, remoteId = :1, remoteRevision = :2, collectionId = :3, mimeTypeId = :4, datetime = :5, atime = :6, dirty = :7, size = :8 WHERE ( id = :9 )" : "Deadlock found when trying to get lock; try restarting transaction QMYSQL3: Unable to execute statement" ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid item retrieved</html> ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid item retrieved</html> ItemRetrieverException : Unable to retrieve item from resource: <html>Invalid item retrieved</html> I have deleted all files in ~/.local/share/akonadi and had akonadi rebuild its database, but the problem persists. This problem has been around since kmail2, but it became severe since I intalled Fedora 19. The crash can be reproduced every time. -- Backtrace: Application: KMail Folders of type KMail Mail Folder (akonadi_mixedmaildir_resource), signal: Bus error Using host libthread_db library "/lib64/libthread_db.so.1". 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [KCrash Handler] #6 __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:314 #7 0x00000030f6a06f00 in memmove (__len=20851, __src=<optimized out>, __dest=0x7ffbe831d763) at /usr/include/bits/string3.h:57 #8 KMBox::MBox::purge (this=this@entry=0x1aa4dc8, deletedEntries=..., movedEntries=movedEntries@entry=0x7fff295c46c0) at /usr/src/debug/kdepimlibs-4.10.5/kmbox/mbox.cpp:386 #9 0x0000000000439c5e in MBoxContext::purge (this=this@entry=0x1aa4db0, movedEntries=...) at /usr/src/debug/kdepim-runtime-4.10.5/resources/mixedmaildir/mixedmaildirstore.cpp:174 #10 0x0000000000435bd8 in MixedMaildirStore::Private::visit (this=0x1a36170, job=0x223dd40) at /usr/src/debug/kdepim-runtime-4.10.5/resources/mixedmaildir/mixedmaildirstore.cpp:2197 #11 0x000000000043586b in MixedMaildirStore::processJob (this=<optimized out>, job=0x223dd40) at /usr/src/debug/kdepim-runtime-4.10.5/resources/mixedmaildir/mixedmaildirstore.cpp:2288 #12 0x000000358440e6d0 in Akonadi::FileStore::AbstractLocalStore::Private::processJobs (this=0x1a5a630, jobs=...) at /usr/src/debug/kdepim-runtime-4.10.5/resources/shared/filestore/abstractlocalstore.cpp:295 #13 0x000000357ad8dadc in QMetaObject::activate (sender=0x1a60780, m=m@entry=0x35846287e0 <Akonadi::FileStore::AbstractJobSession::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff295c4950) at kernel/qobject.cpp:3539 #14 0x000000358441e5e2 in Akonadi::FileStore::AbstractJobSession::jobsReady (this=<optimized out>, _t1=...) at /usr/src/debug/kdepim-runtime-4.10.5/x86_64-redhat-linux-gnu/resources/shared/filestore/session_p.moc:98 #15 0x000000358441ea3d in runNextJob (this=<optimized out>) at /usr/src/debug/kdepim-runtime-4.10.5/resources/shared/filestore/sessionimpls.cpp:142 #16 Akonadi::FileStore::FiFoQueueJobSession::qt_static_metacall (_o=0x7ffbe83215f0, _c=3895603138, _id=4582, _a=0x8000) at /usr/src/debug/kdepim-runtime-4.10.5/x86_64-redhat-linux-gnu/resources/shared/filestore/sessionimpls_p.moc:49 #17 0x000000357ad8dadc in QMetaObject::activate (sender=0x1a37a80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539 #18 0x000000357ad91c61 in QObject::event (this=0x1a37a80, e=<optimized out>) at kernel/qobject.cpp:1156 #19 0x000000357e1c846c in QApplicationPrivate::notify_helper (this=this@entry=0x183e890, receiver=receiver@entry=0x1a37a80, e=e@entry=0x7fff295c4e20) at kernel/qapplication.cpp:4562 #20 0x000000357e1cea30 in QApplication::notify (this=this@entry=0x7fff295c5130, receiver=receiver@entry=0x1a37a80, e=e@entry=0x7fff295c4e20) at kernel/qapplication.cpp:4348 #21 0x00000035800415ba in KApplication::notify (this=0x7fff295c5130, receiver=0x1a37a80, event=0x7fff295c4e20) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311 #22 0x000000357ad79f7d in QCoreApplication::notifyInternal (this=0x7fff295c5130, receiver=0x1a37a80, event=0x7fff295c4e20) at kernel/qcoreapplication.cpp:949 #23 0x000000357ada9663 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231 #24 QTimerInfoList::activateTimers (this=0x183e700) at kernel/qeventdispatcher_unix.cpp:622 #25 0x000000357ada6a01 in timerSourceDispatch (source=source@entry=0x183e6a0) at kernel/qeventdispatcher_glib.cpp:186 #26 0x0000003574447e06 in g_main_dispatch (context=0x183f970) at gmain.c:3054 #27 g_main_context_dispatch (context=context@entry=0x183f970) at gmain.c:3630 #28 0x0000003574448158 in g_main_context_iterate (context=context@entry=0x183f970, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701 #29 0x00000035744481fc in g_main_context_iteration (context=0x183f970, may_block=1) at gmain.c:3762 #30 0x000000357ada6cb5 in QEventDispatcherGlib::processEvents (this=0x180fb70, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #31 0x000000357e264d56 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #32 0x000000357ad78bdf in QEventLoop::processEvents (this=this@entry=0x7fff295c50a0, flags=...) at kernel/qeventloop.cpp:149 #33 0x000000357ad78ed5 in QEventLoop::exec (this=this@entry=0x7fff295c50a0, flags=...) at kernel/qeventloop.cpp:204 #34 0x000000357ad7dfbb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221 #35 0x000000357e1c6c2c in QApplication::exec () at kernel/qapplication.cpp:3823 #36 0x000000358f351d73 in Akonadi::ResourceBase::init (r=r@entry=0x19d9f20) at /usr/src/debug/kdepimlibs-4.10.5/akonadi/resourcebase.cpp:451 #37 0x0000000000421693 in Akonadi::ResourceBase::init<MixedMaildirResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:189 #38 0x0000003570c21b75 in __libc_start_main (main=0x40feb0 <main(int, char**)>, argc=3, ubp_av=0x7fff295c5248, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff295c5238) at libc-start.c:258 #39 0x000000000040ff15 in _start () Reported using DrKonqi
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.