Bug 298626 - akonadi_mailftiler_agent crashes and fails to start after system freeze
Summary: akonadi_mailftiler_agent crashes and fails to start after system freeze
Status: RESOLVED DUPLICATE of bug 298257
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-22 22:21 UTC by Scott Kitterman
Modified: 2012-04-26 15:30 UTC (History)
0 users

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 Scott Kitterman 2012-04-22 22:21:26 UTC
Application: akonadi_mailfilter_agent (4.8)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic-pae i686
Distribution: Ubuntu 12.04 LTS

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

My system was completely frozen due to a kernel panic, so I manually powered it down and started again.  After boot, I got this crash, restarted the mailfilter_agent, and then got it again.  

I saw something similar after upgrading from KDE 4.7 to 4.8.  I suspect some kind of data corruption or unexpected condition causes mailfter_agent to crash.  When this happened before, it took deleting all the local data and then re-importing it to get mailfilter_agent to work again.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Agent (akonadi_mailfilter_agent), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  0xb76f2424 in __kernel_vsyscall ()
#8  0xb567c1ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb567f835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb58be13d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb58bbed3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb58bbf0f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb58bc05e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb67f3102 in qBadAlloc () at global/qglobal.cpp:1994
#15 0xb68010a5 in QByteArray::realloc (this=0xbffcf938, alloc=0) at tools/qbytearray.cpp:1458
#16 0xb68036eb in detach (this=0xbffcf938) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:436
#17 detach (this=0xbffcf938) at tools/qbytearray.cpp:2754
#18 data (this=0xbffcf938) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:430
#19 operator>> (in=..., ba=...) at tools/qbytearray.cpp:2768
#20 0xb6b438b8 in loadFrom (device=<optimized out>, this=<optimized out>) at ../../akonadi/changerecorder_p.h:144
#21 Akonadi::ChangeRecorderPrivate::loadNotifications (this=0x89275b8) at ../../akonadi/changerecorder_p.h:123
#22 0xb6b40472 in Akonadi::ChangeRecorder::setConfig (this=0x6, settings=0x0) at ../../akonadi/changerecorder.cpp:50
#23 0xb6b1c9a4 in Akonadi::AgentBasePrivate::init (this=0x8a049f8) at ../../akonadi/agentbase.cpp:216
#24 0xb6b1d7b9 in Akonadi::AgentBase::AgentBase (this=0x8a04a80, id=...) at ../../akonadi/agentbase.cpp:510
#25 0x08058db4 in MailFilterAgent::MailFilterAgent (this=0x8a04a80, id=...) at ../../mailfilteragent/mailfilteragent.cpp:52
#26 0x0805a01c in Akonadi::AgentBase::init<MailFilterAgent> (argc=3, argv=0xbffcfd14) at /usr/include/akonadi/agentbase.h:335
#27 0x080505eb in main (argc=3, argv=0xbffcfd14) at ../../mailfilteragent/mailfilteragent.cpp:207

Possible duplicates by query: bug 284993, bug 283922, bug 277811, bug 272697.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-04-25 22:40:22 UTC
Does it crash immediately ? or does the resource start eating cpu & memory ?
Comment 2 Scott Kitterman 2012-04-26 02:30:57 UTC
> Does it crash immediately ? or does the resource start eating cpu & memory ?

It eats CPU and memory and then dies.  If I tell it to restart with Dr. Konqi, 
then it does again (and again and again).
Comment 3 Christophe Marin 2012-04-26 09:48:01 UTC
Please check if https://bugs.kde.org/show_bug.cgi?id=298257#c0 helps 

(akonadictl stop, rename agent_config_akonadi_mailfilter_agent_changes.dat in $HOME/.config/akonadi, akonadictl start)
Comment 4 Scott Kitterman 2012-04-26 13:17:54 UTC
Yes.  That got it working again.  Thanks.

Is there anything I can provide that would help resolve the underlying 
problem?
Comment 5 Christophe Marin 2012-04-26 15:30:29 UTC
I posted on the kde-pim ML a few days ago with the details and a link to the bug report.

Marking this one as dup. I'll paste the details on the other report

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