Bug 428826

Summary: libkgapi-20.08.1 built with LTO support causes crashes in kio-gdrive
Product: [Frameworks and Libraries] libkgapi Reporter: Yaroslav Sidlovsky <zawertun>
Component: GeneralAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Yaroslav Sidlovsky 2020-11-08 09:36:10 UTC
SUMMARY
If libkgapi was built with LTO support kio-gdrive crashes on the start.

STEPS TO REPRODUCE
1. Run `kioclient5 ls gdrive:/`.

OBSERVED RESULT
kf.kio.core: couldn't create slave: "klauncher said: Error loading '/usr/lib64/qt5/plugins/kf5/kio/gdrive.so'."
"Unable to create io-slave. klauncher said: Error loading '/usr/lib64/qt5/plugins/kf5/kio/gdrive.so'."

EXPECTED RESULT
No crashes.

SOFTWARE/OS VERSIONS
Operating System: Fedora 33
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.17-300.fc33.x86_64
OS Type: 64-bit
Processors: 2 × AMD FX(tm)-9590 Eight-Core Processor
Memory: 3.8 GiB of RAM
Graphics Processor: llvmpipe

Maybe there is some errors in the code that causes such crash when library was built with LTO?
Comment 1 Antonio Rojas 2022-01-30 13:37:22 UTC

*** This bug has been marked as a duplicate of bug 411425 ***