Bug 303292 - Filtering crashed when kmail started up
Summary: Filtering crashed when kmail started up
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (show other bugs)
Version: 4.8
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 304824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-10 12:15 UTC by Lester Petrie
Modified: 2012-08-09 00:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lester Petrie 2012-07-10 12:15:51 UTC
Application: akonadi_mailfilter_agent (4.8)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.4-3.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

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

I had just logged in, and kmail was starting up, filtering the overnight messages into different folders.  This is done every morning, and this the first time the filtering has crashed.

-- Backtrace:
Application: Mail Filter Agent (akonadi_mailfilter_agent), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x000000317387c060 in typeinfo for KMime::Headers::BasePrivate () from /lib64/libkmime.so.4
#7  0x00000034fe679ac2 in FilterActionRewriteHeader::process (this=<optimized out>, context=...) at /usr/src/debug/kdepim-4.8.4/mailcommon/filteraction.cpp:1722
#8  0x00000034fe696b8c in MailCommon::MailFilter::execActions (this=0x1bcac30, context=..., stopIt=@0x7fff09cf50ff: false) at /usr/src/debug/kdepim-4.8.4/mailcommon/mailfilter.cpp:138
#9  0x000000000040fcb5 in FilterManager::process (this=0x1d54e50, item=..., set=FilterManager::Inbound, account=true, accountId=...) at /usr/src/debug/kdepim-4.8.4/mailfilteragent/filtermanager.cpp:437
#10 0x0000000000412876 in MailFilterAgent::itemAdded (this=0x1cdc960, item=..., collection=...) at /usr/src/debug/kdepim-4.8.4/mailfilteragent/mailfilteragent.cpp:147
#11 0x0000003a5118cb9f in QMetaObject::activate (sender=0x1cd8f30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09cf53a0) at kernel/qobject.cpp:3547
#12 0x000000317313daca in Akonadi::Monitor::itemAdded (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdepimlibs-4.8.4/x86_64-redhat-linux-gnu/akonadi/monitor.moc:202
#13 0x0000003173141410 in Akonadi::MonitorPrivate::emitItemNotification (this=this@entry=0x1cec810, msg=..., item=..., collection=..., collectionDest=...) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/monitor_p.cpp:520
#14 0x00000031731437f2 in Akonadi::MonitorPrivate::emitNotification (this=0x1cec810, msg=...) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/monitor_p.cpp:288
#15 0x00000031730aab09 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x1cec810, msg=...) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/changerecorder_p.h:60
#16 0x00000031731420ff in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x1cec810) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/monitor_p.cpp:429
#17 0x0000003173142199 in Akonadi::MonitorPrivate::dataAvailable (this=0x1cec810) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/monitor_p.cpp:438
#18 0x0000003a5118cb9f in QMetaObject::activate (sender=0x1cd8cb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00000031730b0ef7 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x1cd8cb0, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/entitycache_p.h:192
#20 0x0000003a5118cb9f in QMetaObject::activate (sender=0x1dfdc00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff09cf5ab0) at kernel/qobject.cpp:3547
#21 0x000000316cf33ba2 in KJob::result (this=this@entry=0x1dfdc00, _t1=_t1@entry=0x1dfdc00) at /usr/src/debug/kdelibs-4.8.4/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#22 0x000000316cf33be0 in KJob::emitResult (this=0x1dfdc00) at /usr/src/debug/kdelibs-4.8.4/kdecore/jobs/kjob.cpp:318
#23 0x0000003a5118acee in QObject::event (this=0x1dfdc00, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x000000316d9ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x1b2d320, receiver=receiver@entry=0x1dfdc00, e=e@entry=0x1e15530) at kernel/qapplication.cpp:4551
#25 0x000000316d9ce7fa in QApplication::notify (this=0x7fff09cf6440, receiver=0x1dfdc00, e=0x1e15530) at kernel/qapplication.cpp:4412
#26 0x0000003170046756 in KApplication::notify (this=0x7fff09cf6440, receiver=0x1dfdc00, event=0x1e15530) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#27 0x0000003a511763ee in QCoreApplication::notifyInternal (this=0x7fff09cf6440, receiver=receiver@entry=0x1dfdc00, event=event@entry=0x1e15530) at kernel/qcoreapplication.cpp:915
#28 0x0000003a51179ea1 in sendEvent (event=0x1e15530, receiver=0x1dfdc00) at kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1af12e0) at kernel/qcoreapplication.cpp:1539
#30 0x0000003a511a4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=s@entry=0x1b33560) at kernel/qeventdispatcher_glib.cpp:279
#32 0x0000003a480476e5 in g_main_dispatch (context=0x1b22ac0) at gmain.c:2539
#33 g_main_context_dispatch (context=context@entry=0x1b22ac0) at gmain.c:3075
#34 0x0000003a48047a18 in g_main_context_iterate (context=context@entry=0x1b22ac0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#35 0x0000003a48047ad4 in g_main_context_iteration (context=0x1b22ac0, may_block=1) at gmain.c:3207
#36 0x0000003a511a44e6 in QEventDispatcherGlib::processEvents (this=0x1af27a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x000000316da6a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#38 0x0000003a5117513f in QEventLoop::processEvents (this=this@entry=0x7fff09cf63c0, flags=...) at kernel/qeventloop.cpp:149
#39 0x0000003a511753c8 in QEventLoop::exec (this=0x7fff09cf63c0, flags=...) at kernel/qeventloop.cpp:204
#40 0x0000003a5117a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x0000003173087c73 in Akonadi::AgentBase::init (r=0x1cdc960) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/agentbase.cpp:564
#42 0x0000000000413ad3 in Akonadi::AgentBase::init<MailFilterAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/agentbase.h:342
#43 0x0000003a45821735 in __libc_start_main (main=0x40aaa0 <main(int, char**)>, argc=3, ubp_av=0x7fff09cf6558, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff09cf6548) at libc-start.c:226
#44 0x000000000040ab05 in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2012-07-10 13:56:48 UTC
you use a filter with exec action.
Could you paste here the filter that you use.
just export specific filter and paste result here please.
Comment 2 Laurent Montel 2012-07-10 13:59:53 UTC
Ok I already fixed it in 4.8.5
Comment 3 Jekyll Wu 2012-08-09 00:31:29 UTC
*** Bug 304824 has been marked as a duplicate of this bug. ***