Summary: | Crash when asking for missing folder | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Frederik Schwarzer <schwarzer> |
Component: | Mail Filter Agent | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | oldium.pro |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.4 | |
Sentry Crash Report: |
Description
Frederik Schwarzer
2011-11-16 08:35:01 UTC
I see the same crash on the same line, same backtrace. I've just upgraded to 4.8 beta 1. From my quick analysis it looks like the SettingsIf (MailCommon::Kernel::self()->settingsIf()) on line 277 of foldertreewidget.cpp () is null. Git commit 90092b6b936bb1bd7ee4487e7494c8629640a8f9 by Allen Winter. Committed on 01/12/2011 at 02:14. Pushed by winterz into branch 'master'. Don't attempt to access the kernel settings if the kernel hasn't been registered yet. BUG: 286762 FIXED-IN: 4.7.4 MERGE: 4.7 M +14 -10 mailcommon/foldertreewidget.cpp M +4 -0 mailcommon/mailkernel.h http://commits.kde.org/kdepim/90092b6b936bb1bd7ee4487e7494c8629640a8f9 Git commit 6aa3d05705c03ae8591ca4810eec39525f3df7ad by Allen Winter. Committed on 01/12/2011 at 16:35. Pushed by winterz into branch 'KDE/4.7'. backport Allen Winter master * v4.7.0-1828-g90092b6 Don't attempt to access the kernel settings if the kernel hasn't been registered yet. CCBUG: 286762 M +13 -9 mailcommon/foldertreewidget.cpp M +4 -0 mailcommon/mailkernel.h http://commits.kde.org/kdepim/6aa3d05705c03ae8591ca4810eec39525f3df7ad Thanks, that should do the trick. I've removed the bad link reference directly from kmail2, so I don't encounter the problem anymore. Git commit 9a714df01c97f9922cdd0248756b3a052a055893 by Andras Mantia. Committed on 03/12/2011 at 23:17. Pushed by amantia into branch 'master'. Make mailfilter's dummykernel less dummy, and also provide a Settings interface to it. This properly fixes 286762 (the previous fix just postponed the crash to a later stage). Remove MailCommon::Kernel::settingsAreRegistered, as it doesn't make sense to have it (SettingsIf is mandatory). BUG: 286762 CCMAIL: kde-pim@kde.org M +3 -6 mailcommon/foldertreewidget.cpp M +0 -4 mailcommon/mailkernel.h M +58 -4 mailfilteragent/dummykernel.cpp M +21 -1 mailfilteragent/dummykernel.h M +1 -0 mailfilteragent/mailfilteragent.cpp http://commits.kde.org/kdepim/9a714df01c97f9922cdd0248756b3a052a055893 |