Bug 304824

Summary: akonadi_mailfilter_agent crashes when filtering
Product: [Frameworks and Libraries] Akonadi Reporter: Joshua J. Kugler <joshua>
Component: Mail Filter AgentAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joshua J. Kugler 2012-08-08 20:52:07 UTC
Application: akonadi_mailfilter_agent (4.8)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
I was trying to run the filters that I had imported from KMail 1. On another note, it seems that filtering is not working, even when the filter agent does not crash, but that is another issue I'll deal with elsewhere.

The crash can be reproduced every time.

-- Backtrace:
Application: Mail Filter Agent (akonadi_mailfilter_agent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fa355563500 in typeinfo for KMime::Headers::BasePrivate () from /usr/lib/libkmime.so.4
#7  0x00007fa3574b6cd1 in FilterActionRewriteHeader::process (this=<optimized out>, context=...) at ../../mailcommon/filteraction.cpp:1722
#8  0x00007fa3574d3e9c in MailCommon::MailFilter::execActions (this=0x1d5b6f0, context=..., stopIt=@0x7fff33d315ff: false) at ../../mailcommon/mailfilter.cpp:138
#9  0x000000000040fd75 in FilterManager::process (this=0x1d0eb40, item=..., set=FilterManager::Explicit, account=false, accountId=...) at ../../mailfilteragent/filtermanager.cpp:437
#10 0x00000000004103bc in FilterManager::Private::slotItemsFetchedForFilter (this=0x1eba310, items=...) at ../../mailfilteragent/filtermanager.cpp:95
#11 0x00007fa355972281 in QMetaObject::activate (sender=0x20d1e70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff33d31890) at kernel/qobject.cpp:3547
#12 0x00007fa356027f22 in Akonadi::ItemFetchJob::itemsReceived (this=<optimized out>, _t1=...) at ./itemfetchjob.moc:106
#13 0x00007fa356028fdc in timeout (this=0x20d24b0) at ../../akonadi/itemfetchjob.cpp:71
#14 Akonadi::ItemFetchJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./itemfetchjob.moc:57
#15 0x00007fa355972281 in QMetaObject::activate (sender=0x20d2b20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#16 0x00007fa355977179 in QObject::event (this=0x20d2b20, e=<optimized out>) at kernel/qobject.cpp:1157
#17 0x00007fa354106894 in notify_helper (e=0x7fff33d32090, receiver=0x20d2b20, this=0x1c859b0) at kernel/qapplication.cpp:4559
#18 QApplicationPrivate::notify_helper (this=0x1c859b0, receiver=0x20d2b20, e=0x7fff33d32090) at kernel/qapplication.cpp:4531
#19 0x00007fa35410b713 in QApplication::notify (this=0x7fff33d32370, receiver=0x20d2b20, e=0x7fff33d32090) at kernel/qapplication.cpp:4420
#20 0x00007fa356a679e6 in KApplication::notify (this=0x7fff33d32370, receiver=0x20d2b20, event=0x7fff33d32090) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007fa35595de9c in QCoreApplication::notifyInternal (this=0x7fff33d32370, receiver=0x20d2b20, event=0x7fff33d32090) at kernel/qcoreapplication.cpp:876
#22 0x00007fa35598f1f2 in sendEvent (event=0x7fff33d32090, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QTimerInfoList::activateTimers (this=0x1c87b60) at kernel/qeventdispatcher_unix.cpp:611
#24 0x00007fa35598cc0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#25 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#26 0x00007fa34d4b6d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fa34d4b70a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fa34d4b7164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fa35598d3bf in QEventDispatcherGlib::processEvents (this=0x1c56ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007fa3541aed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fa35595cc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fa35595ced7 in QEventLoop::exec (this=0x7fff33d322f0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007fa355961f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x00007fa355f7e4d6 in Akonadi::AgentBase::init (r=0x1eb1cb0) at ../../akonadi/agentbase.cpp:564
#35 0x0000000000413d06 in Akonadi::AgentBase::init<MailFilterAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/agentbase.h:342
#36 0x00007fa35368976d in __libc_start_main (main=0x40ab30 <main(int, char**)>, argc=3, ubp_av=0x7fff33d32488, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff33d32478) at libc-start.c:226
#37 0x000000000040ab95 in _start ()

Possible duplicates by query: bug 303292.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-09 00:31:29 UTC

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