[kmail2] [Bug 495233] New: Kmail crashed after removing Local Folder

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Oct 23 10:40:43 BST 2024


https://bugs.kde.org/show_bug.cgi?id=495233

            Bug ID: 495233
           Summary: Kmail crashed after removing Local Folder
    Classification: Applications
           Product: kmail2
           Version: 5.24.5
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: changyaowen19980629 at gmail.com
  Target Milestone: ---

Created attachment 175135
  --> https://bugs.kde.org/attachment.cgi?id=175135&action=edit
Kmail crash

SUMMARY
The Kmail is crashed when the user delete the Local folder in the side bar.
The cannot recover from the error even reinstalling Kmail.
When running the crashed Kmail, the error message is as this: 
```
Comparators already registered for type MetaEnumVariable
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult
"Failed to fetch the resource collection."
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will
terminate now.\nThe error was:\nFailed to fetch the resource collection."
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult
"Failed to fetch the resource collection."
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will
terminate now.\nThe error was:\nFailed to fetch the resource collection."
org.kde.pim.akonadicore: Failed to request resource
"akonadi_maildir_resource_0" : "Failed to fetch the resource collection."
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult
"Failed to fetch the resource collection."
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will
terminate now.\nThe error was:\nFailed to fetch the resource collection."
org.kde.pim.akonadicore: Failed to request resource
"akonadi_maildir_resource_0" : "Failed to fetch the resource collection."
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult
"Failed to fetch the resource collection."
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will
terminate now.\nThe error was:\nFailed to fetch the resource collection."
org.kde.pim.akonadicore: Failed to request resource
"akonadi_maildir_resource_0" : "Failed to fetch the resource collection."
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult
"Failed to fetch the resource collection."
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will
terminate now.\nThe error was:\nFailed to fetch the resource collection."
org.kde.pim.akonadicore: Failed to request resource
"akonadi_maildir_resource_0" : "Failed to fetch the resource collection."
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult
"Failed to fetch the resource collection."
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will
terminate now.\nThe error was:\nFailed to fetch the resource collection."
org.kde.pim.akonadicore: Failed to request resource
"akonadi_maildir_resource_0" : "Failed to fetch the resource collection.
```

STEPS TO REPRODUCE
1. Open Kmail
2. Delete the Local folder in the side bar

OBSERVED RESULT
The kmail crashed and shut down. 
Restart Kmail is not able to recover from the error. 

EXPECTED RESULT
Should work even after delete the Local folder.
Also, Kmail should handle the error, or even not allow the user to delete that
folder.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.8.0-47-generic / 5.27.1
KDE Plasma Version:  5.27.1
KDE Frameworks Version:  Not sure
Qt Version: Not sure

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list