[kmail2] [Bug 424246] New: KMail sometimes won't exit (closes the windows but stays running)

Thiago Macieira bugzilla_noreply at kde.org
Wed Jul 15 18:41:23 BST 2020


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

            Bug ID: 424246
           Summary: KMail sometimes won't exit (closes the windows but
                    stays running)
           Product: kmail2
           Version: 5.14.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: thiago at kde.org
  Target Milestone: ---

SUMMARY
Under certain conditions I am not sure how to reproduce reliably, but can
describe, the KMail process will not exit after Ctrl+Q. All windows close, but
the process stays running in the background.

This usually happens after selecting an email that, for reasons unknown, fails
to be displayed. The KMail message window says it's fetching the email (from an
offline-cached IMAP account, so there's nothing to be fetched) and stays there
forever. No amount of time waited will get it out of this condition.

STEPS TO REPRODUCE
1. Cause the condition.
2. Exit KMail by Ctrl+Q, File > Exit or clicking the X button at the top right

OBSERVED RESULT
KMail windows close, but process stays running in the background. Forever.

EXPECTED RESULT
KMail process exits within reasonable time (less than 15 seconds).

SOFTWARE/OS VERSIONS
openSUSE Tumbleweed 20200701
Qt: 5.15.0
KDE Frameworks: 5.71.0
kf5-config: 1.0

ADDITIONAL INFORMATION
Hypothesis for the fault is the same as bug #424244: an Akonadi::Job fails to
finish, holding the reference count up from 0.

In fact, using the Akonadiconsole's job tracker, I can see there's a job that
never finishes. That is, by itself, a bug. But KMail needs to exit even if
there's a valid reason for the job to take a long time (say, you've clicked on
an email with a Blu-Ray attached on an online-IMAP account).

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


More information about the Kdepim-bugs mailing list