Bug 302567

Summary: Mail filter agent closed unexpectedly
Product: [Applications] kmail2 Reporter: Mark Fraser <mfraz74+kde>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mfraz74+kde, montel
Priority: NOR    
Version: 4.9 pre   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Attachments: New crash information added by DrKonqi

Description Mark Fraser 2012-06-26 15:17:49 UTC
Upon starting KMail2 or Kontact I get an error saying that the mail filter agent closed unexpectedly, clicking restart does nothing and the emails are not filtered. If I try to apply the filter manually, the same error box appears.

Reproducible: Always

Steps to Reproduce:
1.Start KMail2
2.Wait for emails to download and be filtered.
3.Mail filter crashes.



This is with Kubuntu 12.04 and KDE 4.7.4. Tried to send an automated bug report, but it wouldn't tell me what packages I needed to send a better report.
Comment 1 Laurent Montel 2012-06-26 15:32:09 UTC
backtrace ?
Comment 2 Mark Fraser 2012-07-16 06:44:20 UTC
Created attachment 72549 [details]
New crash information added by DrKonqi

akonadi_mailfilter_agent (4.8) on KDE Platform 4.8.90 (4.8.90) using Qt 4.8.1

- What I was doing when the application crashed:
Loaded up Kontact and waited for my emails to download.
- Unusual behavior I noticed:
After they were downloaded, I got an error box saying that it had crashed.

-- Backtrace (Reduced):
#7  0x002fe4e5 in typeinfo for KMime::Headers::BasePrivate () from /usr/lib/libkmime.so.4
#8  0x00373628 in MailCommon::FilterActionRewriteHeader::process (this=0xbf900ac4, context=...) at ../../mailcommon/filter/filteractionrewriteheader.cpp:76
#9  0x003a5abd in MailCommon::MailFilter::execActions (this=0x8b67688, context=..., stopIt=@0x40c501: false) at ../../mailcommon/filter/mailfilter.cpp:136
#10 0x08057086 in FilterManager::process (this=0x8a2ce60, mailFilters=..., item=..., set=FilterManager::Explicit, account=false, accountId=...) at ../../mailfilteragent/filtermanager.cpp:491
#11 0x080576f6 in FilterManager::Private::slotItemsFetchedForFilter (this=0x8aa0298, items=...) at ../../mailfilteragent/filtermanager.cpp:118
Comment 3 Laurent Montel 2012-07-16 06:58:21 UTC
Ok fixed in 4.8.5
Comment 4 Mark Fraser 2012-07-16 07:00:18 UTC
That backtrace is from KDE 4.8.90. Version 4.8.5 of what was it fixed in?
Comment 5 Laurent Montel 2012-07-16 07:22:44 UTC
Fixed in 4.8.5
4.8.5 was not release still.