Summary: | akonadi_imap_resource: segfault on authentication | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Victor Mataré <vmatare+kdebug> |
Component: | IMAP resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | fmdefrancesco, thiago.bauermann |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kdepim-runtime/commit/9cfc0f6a5c53fc3c7dbe9d25ceea1f8ec1110d59 | Version Fixed In: | 23.04.1 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Victor Mataré
2021-04-06 14:45:46 UTC
Created attachment 137453 [details]
New crash information added by DrKonqi
akonadi_kolab_resource (5.15.1 (20.08.1)) using Qt 5.14.2
- What I was doing when the application crashed:
I wasn't doing anything related to KMail or Akonadi. This just happens by itself (during periodic mail check, I would assume).
It has happened a couple of times. This last time the machine was idle for a while and it went to sleep. When I came back to it, there was this crash. On the first time, I don't remember if it was a similar situation.
-- Backtrace (Reduced):
#4 ImapAccount::authenticationMode() const (this=0x0) at ./resources/imap/imapaccount.cpp:85
#5 0x000056006d9402fa in SessionPool::requestPassword() (this=0x56006f0f0600) at ./resources/imap/sessionpool.cpp:88
#6 0x00007f4edb561651 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007f4edc4e1013 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007f4edb5351ca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
This has become an intermittently recurring problem now for one particular account I have. It's not linked to anything visibly happening on the server, i.e. it's not triggered by particular emails. It'll simply start at some (apparently random) point, then the resource will go into a crash loop (sometimes for hours) and after a while it will start working again (again for no apparent reason). Strangely, another account I have with the exact same settings on the same server is working fine. This crash just happened again, with the exact same backtrace. The last time it happened was when I added my previous comment to this bug. Again, the machine was idle for a long while (about 1h30m), but it didn't go to sleep this time. The common factor seems to be the machine being idle for a while. Perhaps there's a bug when periodic mail check is triggered while the screensaver is active? A possibly relevant merge request was started @ https://invent.kde.org/pim/kdepim-runtime/-/merge_requests/109 *** Bug 453092 has been marked as a duplicate of this bug. *** Git commit 8344e0cc25d71267e684bf03d658b7f9d05b2d89 by Christophe Marin, on behalf of Carl Schwan. Committed on 29/04/2023 at 08:49. Pushed by krop into branch 'master'. Fix crash trying to access password of empty account The connect method of SessionPool discard the ImapAccount if it is not empty the requestPassword method will try to fetch the password for the empty account and this crash due to a null pointer dereference. M +1 -1 resources/imap/sessionpool.cpp https://invent.kde.org/pim/kdepim-runtime/commit/8344e0cc25d71267e684bf03d658b7f9d05b2d89 Git commit 9cfc0f6a5c53fc3c7dbe9d25ceea1f8ec1110d59 by Christophe Marin, on behalf of Carl Schwan. Committed on 29/04/2023 at 09:54. Pushed by krop into branch 'release/23.04'. Fix crash trying to access password of empty account The connect method of SessionPool discard the ImapAccount if it is not empty the requestPassword method will try to fetch the password for the empty account and this crash due to a null pointer dereference. (cherry picked from commit 8344e0cc25d71267e684bf03d658b7f9d05b2d89) M +1 -1 resources/imap/sessionpool.cpp https://invent.kde.org/pim/kdepim-runtime/commit/9cfc0f6a5c53fc3c7dbe9d25ceea1f8ec1110d59 |