Created attachment 115418 [details] Backtrace generated of a core dump of akonadi_imap_resource SUMMARY: When I try to fetch data from my gmail account, akonadi_imap_resource crashes. STEPS TO REPRODUCE 1. Set email account to google account, imap.gmail.com, gmail authentication 2. 3. OBSERVED RESULT The QtWebKit window appears asking for my login, I press 'Next' but the same window appears several times before it gaves up. From the akonadi debug output I see that akonadi_imap_resource crashes. EXPECTED RESULT SOFTWARE VERSIONS I'm currently at Debian/Sid, up-to-date from today. KDEPIM at 18.08.1. KDE Plasma Version: 5.13.5 KDE Frameworks Version: 5.49.0 Qt Version: 5.11.1 ADDITIONAL INFORMATION I will attach a backtrace. Please let me know if you need more information or if I should try out something.
Created attachment 115420 [details] Improved backtrace (more symbols)
Created attachment 115421 [details] Corresponding resource setting
I'm seeing similar behaviour, also on Debian Sid. I've multiple GMail/GoogleApps accounts, and they all trigger their own authentication window to open when KMail starts. I press Next, and the window disappears and reappears shortly after, three times for each account. After the three attempts I see ""/usr/bin/akonadi_imap_resources" crashed too often and will not be restarted!" in Akonadi Console's log. I thought I had found a workaround by using the Restart button in KMail's configuration dialog (only got the authentication window once - it went away after clicking Next - and in KMail the account folders are no longer red and marked as Offline), but upon closer inspection it turns out the imap resource still crashes and new mails aren't arriving. So, not a workaround, just a more silent failure than before...
I'm not experiencing this issue anymore with the latest Debian packages. I suspect it was due to a packaging incompatibility, triggered by some transitions of Qt and KDE PIM hitting Debian unstable/testing, which was causing the QtWebKit (or is it Engine, now?) to crash during the authorization process. Now the process completes normally, for me. Frank, are you still experiencing this issue?
Brendon, thanks for the heads-up. I can confirm that I no longer see these crashes. So this bug is resolved for me as well! I'm still unable to use the new XOAUTH2 method for sending E-mails to imap.gmail.com but that's a different story.