Bug 379641

Summary: IMAP gmail, OAuth unable to autenticate
Product: [Frameworks and Libraries] Akonadi Reporter: Luca Giambonini <luca86>
Component: Gmail resourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: crash log

Description Luca Giambonini 2017-05-08 21:59:12 UTC
When I try to add a new IMAP agent in Akonadi I'm not able to login with my google credentials (I use 2 factor autentication).
I'm on Chakra Linux, with apps 17.04.0 with the new gmail protocol patches on both kdepim-runtime and libkgapi.
https://cgit.kde.org/libkgapi.git/patch/?id=68b89bce
https://cgit.kde.org/kdepim-runtime.git/patch/?id=c9ae1636

The video attached shows the behavior. That window continue to popup once per minute.
https://media.giphy.com/media/l4FGnJ7zZYAgbjTBm/giphy.gif

Any suggestion how to debug more deeply are welcome.
Comment 1 Daniel Vrátil 2017-05-09 20:22:22 UTC
Can you please restart Akonadi from terminal (open Konsole and run "akonadictl restart") and see if there's any debug output that might help us figure out what's going on?
Comment 2 Christoph Feck 2017-05-17 13:32:17 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Luca Giambonini 2017-05-17 19:58:34 UTC
Created attachment 105609 [details]
crash log

crash log of qtwebengine when trying to display the google login page
Comment 4 Luca Giambonini 2017-05-17 19:59:50 UTC
As discussed in IRC with Daniel, the issue is qtwebengine. I want to keep it open until I find a solution on our qtwebengine pkg so I can share the fix.
Comment 5 Luca Giambonini 2017-05-23 20:42:05 UTC
Solution found, I had to build qtwebengine (against gcc6) by adding "-fno-delete-null-pointer-checks" to CFLAGS and CXXFLAGS flags.