[Kde-pim] [Patch]KMail crashes in the configure filters dialog (trunk)
Thomas McGuire
Thomas.McGuire at gmx.net
Fri Mar 30 16:22:04 BST 2007
Hi,
KMail crashes when using Settings->Configure filters.
The reason is an error in kdepimlibs/kresources, introduced by commit 643999.
A KConfigGroup without a master is created in factory.h, which is invalid and
leads to the crash.
This patch fixes that by using a pointer again.
Because there are changes in KPluginFactoryBase, knotes needs to be adjusted
as well. That patch is also attached.
I also tried adding asserts to KConfigGroup to detect further errors of this
kind, however this breaks the build of kdepim, because kode is used in the
build process and triggers that assert. My guess is that this is an error in
kode.
Because the build breaks, the kdelibs part should probably not (yet?) be
commited.
Please review the patch and commit. I don't have a SVN account.
Thanks.
--
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs.patch
Type: text/x-diff
Size: 1012 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070330/e434fa5b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdepim.patch
Type: text/x-diff
Size: 633 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070330/e434fa5b/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdepimlibs.patch
Type: text/x-diff
Size: 2831 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070330/e434fa5b/attachment-0002.patch>
-------------- next part --------------
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
More information about the kde-pim
mailing list