Bug 434575 - kdeinit crashes on screenshot previews (Segmentation fault)
Summary: kdeinit crashes on screenshot previews (Segmentation fault)
Status: RESOLVED DUPLICATE of bug 430862
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.21.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-18 11:01 UTC by Danil
Modified: 2021-03-18 21:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kdeinit5-20210318-142122.kcrash (1.10 KB, text/plain)
2021-03-18 11:36 UTC, Yaroslav Sidlovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danil 2021-03-18 11:01:33 UTC
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
Comment 1 Danil 2021-03-18 11:06:56 UTC
(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
Comment 2 Danil 2021-03-18 11:08:50 UTC
Crash on X11
Comment 3 Danil 2021-03-18 11:23:28 UTC
(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*
Comment 4 Yaroslav Sidlovsky 2021-03-18 11:36:52 UTC
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.
Comment 5 Yaroslav Sidlovsky 2021-03-18 11:38:03 UTC
kdeinit crashes on this line: https://invent.kde.org/network/kio-extras/-/blob/v20.12.3/thumbnail/thumbnail.cpp#L315
Comment 6 Ilya Bizyaev 2021-03-18 11:49:54 UTC
Can reproduce. To get Flameshot to show a preview, I have to choose saving to a file, not copying.
Comment 7 Ilya Bizyaev 2021-03-18 11:50:51 UTC
Multiple users reported on https://www.reddit.com/r/kde/comments/m5nq4r/kdeinit5_segmentation_fault_when_creating_image/, confirming.
Comment 8 Yaroslav Sidlovsky 2021-03-18 12:35:58 UTC
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.
Comment 9 Bharadwaj Raju 2021-03-18 15:10:35 UTC

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