Bug 425545

Summary: The process for the gdrive protocol died unexpectedly
Product: [Frameworks and Libraries] kio-gdrive Reporter: rhubeny76
Component: generalAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: david, elvis.angelaccio, jr, neon-bugs, r.lyapunov, sitter, texstar, w
Priority: NOR    
Version First Reported In: 20.07.80   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rhubeny76 2020-08-19 12:10:47 UTC
SUMMARY


STEPS TO REPRODUCE
1. Install latest updates to KDE (and Ubuntu in KDE Neon?)
2. Open Dolphin
3. Click on Google Drive in Network
4. "The process for the gdrive protocol died unexpectedly" appears at top of window
5. Unable to access Google Drive
6. Re-install does not help problem

OBSERVED RESULT
Error message (see above)


EXPECTED RESULT
See Google Drive contents


SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2
Kernel Version: 5.4.0-42-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU M 350 @ 2.27GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics

ADDITIONAL INFORMATION
Same failure on my desktop running same version of this laptop
Comment 1 David Barchiesi 2020-08-24 20:47:12 UTC
Could you attach your logs? You can get them by running dolphin like:

> QT_LOGGING_RULES="org.kde.kgapi=true;kf5.kio.gdrive=true" KDE_FORK_SLAVES=1 dolphin
Comment 2 rhubeny76 2020-08-25 12:11:47 UTC
QT_LOGGING_RULES="org.kde.kgapi=true;kf5.kio.gdrive=true" KDE_FORK_SLAVES=1 dolphin
Qt: Session management error: networkIdsList argument is NULL
kf5.kio.gdrive: Found google-provided account: "google1"
kf5.kio.gdrive: "google1" supports gdrive!
/usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/gdrive.so: undefined symbol: _ZN17GetCredentialsJobC1ERKjP7QObject
kf5.kio.gdrive: Found google-provided account: "google1"
kf5.kio.gdrive: "google1" supports gdrive!
/usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/gdrive.so: undefined symbol: _ZN17GetCredentialsJobC1ERKjP7QObject
kf5.kio.gdrive: Found google-provided account: "google1"
kf5.kio.gdrive: "google1" supports gdrive!
/usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5: symbol lookup error: /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/gdrive.so: undefined symbol: _ZN17GetCredentialsJobC1ERKjP7QObject
Comment 3 David Barchiesi 2020-08-25 15:02:15 UTC
> /usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5: symbol lookup error:
> /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/gdrive.so: undefined symbol:
> _ZN17GetCredentialsJobC1ERKjP7QObject

Seems like a linking issue, best directed at KDE Neon bugtracker.
Comment 4 Ilya w495 Nikitin 2020-11-13 22:32:47 UTC
I have very the same

Application: kdeinit5 (kdeinit5), signal: Aborted

[KCrash Handler]
#4  0x00007f8858780615 in raise () at /usr/lib/libc.so.6
#5  0x00007f8858769862 in abort () at /usr/lib/libc.so.6
#6  0x00007f885899c9ac in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f885899bdb6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f8854f8c367 in KIO::SlaveBase::error(int, QString const&) () at /usr/lib/libKF5KIOCore.so.5
#9  0x00007f885978cd52 in  () at /usr/lib/qt/plugins/kf5/kio/gdrive.so
#10 0x00007f885978ff13 in  () at /usr/lib/qt/plugins/kf5/kio/gdrive.so
#11 0x00007f8859792dbf in  () at /usr/lib/qt/plugins/kf5/kio/gdrive.so
#12 0x00007f8854f8f777 in KIO::SlaveBase::dispatch(int, QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#13 0x00007f8854f906ee in KIO::SlaveBase::dispatchLoop() () at /usr/lib/libKF5KIOCore.so.5
#14 0x00007f885978e68a in kdemain () at /usr/lib/qt/plugins/kf5/kio/gdrive.so
#15 0x000056394f29d5bd in  ()
#16 0x000056394f29ea59 in  ()
#17 0x000056394f29f237 in  ()
#18 0x000056394f29ab54 in  ()
#19 0x00007f885876b152 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000056394f29b6be in  ()
[Inferior 1 (process 341516) detached]

---

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Kernel Version: 5.9.3-1-MANJARO
OS Type: 64-bit
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 125,7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 5 Texstar 2020-11-15 23:49:53 UTC
I have the same error.

PCLinuxOS
KDE 5.20.3, 20.08.3, 5.76.0.
Comment 6 Texstar 2020-11-16 00:00:24 UTC
[tex@localhost ~]$ QT_LOGGING_RULES="org.kde.kgapi=true;kf5.kio.gdrive=true" KDE_FORK_SLAVES=1 dolphin
Qt: Session management error: networkIdsList argument is NULL
kf5.kio.gdrive: KIO GDrive ready: version 20.08.3
kf5.kio.gdrive: Going to list QUrl("gdrive:/")
kf5.kio.gdrive: Waiting for kcmshell process...
kf5.kio.gdrive: No new account created.
kf5.kio.gdrive: fileSystemFreeSpace is not supported for gdrive root url
kf5.kio.gdrive: Going to stat() QUrl("gdrive:/")
Comment 7 Texstar 2020-11-16 00:22:26 UTC
signon 8.60 needs to be compiled with CONFIG+=rtti with gcc 10.2.0 (thanks arch linux)

%qmake_qt5 signon.pro LIBDIR=%{_libdir} CONFIG+=rtti

Now google drive works and everybody happy in PCLinuxOS land.
Comment 8 Texstar 2020-11-16 02:22:04 UTC
Well setup works only once. On reboot I get a message that I need to authorize the gdrive again in online accounts. I have to remove the existing gdrive account and add it back then it works again during that login session only. Oh well maybe next year.
Comment 9 Elvis Angelaccio 2022-09-15 22:43:22 UTC
Closing as this is an old distro-specific issue.