Summary: | Kontact crashed after deleting an Akonadi ressource | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Florian <floeschie> |
Component: | KResource compat bridges | Assignee: | Kevin Krammer <krammer> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | christophe, craig.magina, mtadeunet, vkrause |
Priority: | NOR | ||
Version: | 1.1.90 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Florian
2009-06-11 15:35:45 UTC
*** Bug 196238 has been marked as a duplicate of this bug. *** *** Bug 200209 has been marked as a duplicate of this bug. *** I tried to reproduce it but couldn't, which most likely means that I did not do the exact same thing. Maybe one of you can help me to better understand the circumstances. You have the Akonadi resource in KAddressBook and it has at least two sub folders, correct? And then you remove one and then it crashed? Did you do the remove from within KAddressBook ("Manager Address Book Sources") or from System Settings? I did the removal by going through kontact->contacts->Resource Configuration->Manage Address Book Sources Thanks. I will try to do it within Kontact as well, maybe it is just not triggered in stand-alone KAddressBook. Do you have any other resource for contacts other than the Akonadi one and if yes was it enabled at the time? Did you add the Akonadi contacts resource to Kontact during this invocation or was it already loaded when you started it? I have the Default Address Book resource as well, which was there to begin with. No, I did not add any more resources. I can reproduce it now, not always though. It could actually be a bug in KAddressBook, I'll investigate SVN commit 998203 by krake: Resource view items might be added/removed during resource configuration, so the item pointer might become invalid. Keep the resource pointer instead, the item itself isn't used anyway. With this change I can no longer reproduce bug #196038, but maybe it just made it harder to trigger. BUG: 196038 M +9 -4 resourceselection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=998203 SVN commit 998205 by krake: Backport of revision 998203 Resource view items might be added/removed during resource configuration, so the item pointer might become invalid. Keep the resource pointer instead, the item itself isn't used anyway. With this change I can no longer reproduce bug #196038, but maybe it just made it harder to trigger. CCBUG: 196038 M +9 -4 resourceselection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=998205 |