[Kde-pim] Re: process akonadi_mixedmaildir_resource crashes

Kevin Krammer kevin.krammer at gmx.at
Wed Jul 20 18:14:22 BST 2011


Hi Guy,

On Wednesday, 2011-07-20, Guy Maurel wrote:
> Hello!
> 
> At the end of the kmail-migration, the process
> akonadi_mixedmaildir_resource crashes.
> 
> This occurs in the method:
>    SpecialCollectionsRequestJobPrivate::resourceScanResult( KJob *job )

Where in the mixed maildir resource is this called?
I can't remember adding that.

> because of the test:
>   if ( resourceId != mSpecialCollections->d->defaultResourceId() ) {
> 
> The variable resourceId has the value:
>   akonadi_mixedmaildir_resource_0
> The method mSpecialCollections->d->defaultResourceId() returns the value:
>   akonadi_maildir_resource_0

You got a back trace that indicated this string comparion caused the crash?

> The problem is (I think) that the variable:
>   mDefaultResourceId
> defined in specialcollections_p.h, has no setter-method.

Which means it has its default construction value, in the case of a QString an 
empty QString object.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110720/e0f90c1f/attachment.sig>
-------------- 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