Bug 428826 - libkgapi-20.08.1 built with LTO support causes crashes in kio-gdrive
Summary: libkgapi-20.08.1 built with LTO support causes crashes in kio-gdrive
Status: RESOLVED DUPLICATE of bug 411425
Alias: None
Product: libkgapi
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-08 09:36 UTC by Yaroslav Sidlovsky
Modified: 2022-01-30 13:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***