[Akonadi] [Bug 421930] Crash when asking to input password

Ahmad Samir bugzilla_noreply at kde.org
Mon Sep 7 14:41:36 BST 2020


Ahmad Samir <a.samirh78 at gmail.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |kmailtransport/commit/14894
                   |                            |befa0274e124cdde611dfb7ada8
                   |                            |b1131b07
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Ahmad Samir <a.samirh78 at gmail.com> ---
Git commit 14894befa0274e124cdde611dfb7ada8b1131b07 by Ahmad Samir.
Committed on 07/09/2020 at 12:56.
Pushed by ahmadsamir into branch 'release/20.08'.

SmtpJob: Fix crash in startLoginJob

- The user tries to connect to an smtp server, the password dialog is shown
  starting a nested eventloop with exec()
- the connection is lost, the smtpjob is killed (due to connect() in
- the dialog::exec returns, and the code tries to setError(KilledJobError)
  on an already killed job which leads to a crash

fix the issue by using QDialog::open() to make the code async.


M  +33   -21   src/kmailtransport/plugins/smtp/smtpjob.cpp


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

More information about the Kdepim-bugs mailing list