SUMMARY STEPS TO REPRODUCE 1. open flameshot gui 2. copy the screenshot OBSERVED RESULT notify with crashing of kdeinit5 with segmentation fault EXPECTED RESULT nothing SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Arch Linux 5.11.6-zen1-1-zen (available in About System) KDE Plasma Version: Plasma 5.21.3 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2
(In reply to Danil from comment #0) > SUMMARY > > > STEPS TO REPRODUCE > 1. open flameshot gui > 2. copy the screenshot > > OBSERVED RESULT > notify with crashing of kdeinit5 with segmentation fault > > EXPECTED RESULT > nothing > > SOFTWARE/OS VERSIONS > Windows: > macOS: > Linux/KDE Plasma: Arch Linux 5.11.6-zen1-1-zen > (available in About System) > KDE Plasma Version: Plasma 5.21.3 > KDE Frameworks Version: 5.80.0 > Qt Version: 5.15.2 Flameshot version v0.9.0
Crash on X11
(In reply to Danil from comment #0) > SUMMARY > > > STEPS TO REPRODUCE > 1. open flameshot gui > 2. copy the screenshot > > OBSERVED RESULT > notify with crashing of kdeinit5 with segmentation fault > > EXPECTED RESULT > nothing > > SOFTWARE/OS VERSIONS > Windows: > macOS: > Linux/KDE Plasma: Arch Linux 5.11.6-zen1-1-zen > (available in About System) > KDE Plasma Version: Plasma 5.21.3 > KDE Frameworks Version: 5.80.0 > Qt Version: 5.15.2 2. save the screenshot*
Created attachment 136817 [details] kdeinit5-20210318-142122.kcrash I'm able to reproduce this bug on the Fedora 33 after enabling this option in the flameshot settings: `Save image after copy`. Looks like kdeinit5 crashing when trying to make preview of taken screenshot. Here is stacktrace of the crash.
kdeinit crashes on this line: https://invent.kde.org/network/kio-extras/-/blob/v20.12.3/thumbnail/thumbnail.cpp#L315
Can reproduce. To get Flameshot to show a preview, I have to choose saving to a file, not copying.
Multiple users reported on https://www.reddit.com/r/kde/comments/m5nq4r/kdeinit5_segmentation_fault_when_creating_image/, confirming.
Probably bug was introduced in this commit: https://invent.kde.org/frameworks/kio/-/commit/ee3d4e0e275bc8cf62757fd4b5e9ed400525dd8e. On my machine crash is gone after reverting it & rebuilding libKF5KIOWidgets.so.
*** This bug has been marked as a duplicate of bug 430862 ***