Summary: | Akonadi agent crashes when sending e-mail and on KDE login | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Alexander van Loon <a.vanloon> |
Component: | Mail Dispatcher Agent | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | smartins, vkrause |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Valgrind log of Akonadi |
Description
Alexander van Loon
2011-02-15 08:55:49 UTC
I have some more information to add. Even after logging out and in again after seeing the crash today, Akonadi Agent keeps crashing and restarting the application results in another crash, so it’s nagging me with three of those crash information dialogs until it shuts up. Also it seems I cannot send e-mails anymore. If I open the message stuck in my outbox (the e-mail I tried to send at the first time the crash hit me) Kontact gives me a progress dialog telling me ‘Please wait while the message is transferred’ for a long time, until it stops and nothing happens. So it seems the bug is reproducible for me every time now. I would appreciate to hear if there is any quick fix or workaround for this bug? Created attachment 57309 [details]
Valgrind log of Akonadi
I went to the Akonadi IRC channel to ask for help, sergio helped me (thank you very much) and advised me to install Valgrind and get a log. The log file is attached.
==2734== Invalid read of size 8 ==2734== at 0x40C7B0: OutboxQueue::Private::itemFetched(KJob*) (outboxqueue.cpp:274) ==2734== by 0x40FC24: OutboxQueue::qt_metacall(QMetaObject::Call, int, void**) (outboxqueue.moc:100) ==2734== by 0x5620B26: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280) ==2734== by 0x5CF1A81: KJob::result(KJob*) (kjob.moc:194) ==2734== by 0x5CF1D1F: KJob::emitResult() (kjob.cpp:312) ==2734== by 0x4F59C6B: Akonadi::JobPrivate::handleResponse(QByteArray const&, QByteArray const&) (job.cpp:66) ==2734== by 0x4F944A7: Akonadi::SessionPrivate::dataReceived() (session.cpp:218) ==2734== by 0x4F94E0C: Akonadi::Session::qt_metacall(QMetaObject::Call, int, void**) (session.moc:96) ==2734== by 0x5620B26: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280) ==2734== by 0x566B317: QIODevice::qt_metacall(QMetaObject::Call, int, void**) (moc_qiodevice.cpp:77) ==2734== by 0x828785F: QLocalSocket::qt_metacall(QMetaObject::Call, int, void**) (moc_qlocalsocket.cpp:81) ==2734== by 0x5620B26: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280) ==2734== Address 0x16951938 is 0 bytes after a block of size 24 alloc'd ==2734== at 0x4C2815C: malloc (vg_replace_malloc.c:236) ==2734== by 0x5533E9A: QListData::detach(int) (qlist.cpp:185) ==2734== by 0x41051B: QList<Akonadi::Item>::detach_helper(int) (qlist.h:693) ==2734== by 0x40C7A3: OutboxQueue::Private::itemFetched(KJob*) (qlist.h:709) ==2734== by 0x40FC24: OutboxQueue::qt_metacall(QMetaObject::Call, int, void**) (outboxqueue.moc:100) ==2734== by 0x5620B26: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280) ==2734== by 0x5CF1A81: KJob::result(KJob*) (kjob.moc:194) ==2734== by 0x5CF1D1F: KJob::emitResult() (kjob.cpp:312) ==2734== by 0x4F59C6B: Akonadi::JobPrivate::handleResponse(QByteArray const&, QByteArray const&) (job.cpp:66) ==2734== by 0x4F944A7: Akonadi::SessionPrivate::dataReceived() (session.cpp:218) ==2734== by 0x4F94E0C: Akonadi::Session::qt_metacall(QMetaObject::Call, int, void**) (session.moc:96) ==2734== by 0x5620B26: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280) Git commit c4d25f2104e7275ac439a1c578790f635fb7445b by Sergio Martins. Committed on 26/02/2011 at 22:47. Pushed by smartins into branch 'master'. Don't crash because the list is empty. Review: 100669 BUG: 266358 M +3 -1 agents/maildispatcher/outboxqueue.cpp http://commits.kde.org/kdepim-runtime/c4d25f2104e7275ac439a1c578790f635fb7445b |