Bug 430122 - Crash of kdeinit5 when saving (version 20.11.90)
Summary: Crash of kdeinit5 when saving (version 20.11.90)
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 21:24 UTC by Martin Riethmayer
Modified: 2021-03-24 04:33 UTC (History)
1 user (show)

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


Attachments
kdeinit5 crashlog with debug info (7.98 KB, text/vnd.kde.kcrash-report)
2020-12-07 21:24 UTC, Martin Riethmayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Riethmayer 2020-12-07 21:24:56 UTC
Created attachment 133927 [details]
kdeinit5 crashlog with debug info

SUMMARY

STEPS TO REPRODUCE
1. Create a new project
2. Import anything (e.g. an mp3, a jpg, mp4 video) by drag and drop from dolphin
3. Press CTRL+S to save the project

OBSERVED RESULT

Crash of kdeinit5, saving works, kdenlive continues to work

EXPECTED RESULT

No crash of kdeinit5

Note: This crash even happens after removing the mp3 file again from the timeline and project.

Default project is 1080p25

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-lp152.57-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics

MLT Version 6.22.1
FFmpeg
Qt 5.15.2 (compiled against 5.15.2)
xcb window system
Comment 1 Martin Riethmayer 2020-12-08 20:18:17 UTC
Reassining to kio-extras:

Looking into this a bit more: This only happens, when the "Preview" is enabled in the "Save File"-dialog. 

It seems to be an issue with the "oldfilm" effect that I applied to one kdenlive-file and the settings of that effect: 

The crash occurs for any value less than 12 (e.g. "4" or "11"), but not for values larger than 12 (e.g. the default "14" or "31" etc.) for the "Y-Delta". 

The above is only true for a preview size of 96px or larger in Dolphin or the "Save"-dialog. For a smaller preview size (e.g. 80px), the crash still occurs. 

For a 1080p video, this somehow probably makes sense:
1080/12 = 90 (which is smaller than 96px preview size, but bigger than 80px preview size)
1080/11 = 98.18181 (bigger than 96px preview size).

Maybe this can help someone figure out, what's going on in the thumbnailer?
Comment 2 Jean-Baptiste Mardelle 2020-12-09 12:24:38 UTC
Git commit a6e04898cf4dcfa563196da866199ae58eede471 by Jean-Baptiste Mardelle.
Committed on 09/12/2020 at 12:24.
Pushed by mardelle into branch 'master'.

Add normalizers to MLT thumbcreator, fixing Kdeinit crash

M  +23   -12   thumbnailer/mltpreview.cpp
M  +2    -2    thumbnailer/mltpreview.h

https://invent.kde.org/multimedia/kdenlive/commit/a6e04898cf4dcfa563196da866199ae58eede471
Comment 3 Martin Riethmayer 2020-12-09 12:43:40 UTC
Wow, thanks for the quick fix, I'll check if this works as soon as I get newer packages (sorry, can't compile myself...)
Comment 4 Jean-Baptiste Mardelle 2021-01-03 18:27:12 UTC
Git commit a2cb2600670142c647485e2a3f1e06d7199d0b7a by Jean-Baptiste Mardelle.
Committed on 03/01/2021 at 18:10.
Pushed by mardelle into branch 'release/20.12'.

Add normalizers to MLT thumbcreator, fixing Kdeinit crash

M  +23   -12   thumbnailer/mltpreview.cpp
M  +2    -2    thumbnailer/mltpreview.h

https://invent.kde.org/multimedia/kdenlive/commit/a2cb2600670142c647485e2a3f1e06d7199d0b7a
Comment 5 Julius Künzel 2021-02-22 19:43:14 UTC
New version is available, can you please test with  >= 20.12.2?
Comment 6 Bug Janitor Service 2021-03-09 04:33:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-03-24 04:33:51 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!