Bug 446203 - Wipe transition causes hard crash w core dump 21.08.3a
Summary: Wipe transition causes hard crash w core dump 21.08.3a
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 21.08.3
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-28 16:32 UTC by Dave Dixon
Modified: 2021-12-02 15:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments
Zip file containing project file, png image, and crash message screenshot (128.22 KB, application/zip)
2021-11-28 16:32 UTC, Dave Dixon
Details
crash_log.txt (13.40 KB, text/plain)
2021-12-01 16:17 UTC, emohr
Details
crash log (27.09 KB, text/plain)
2021-12-01 18:24 UTC, farid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Dixon 2021-11-28 16:32:10 UTC
Created attachment 144036 [details]
Zip file containing project file, png image, and crash message screenshot

Using the 21.08.3a patch on Ubuntu 20.04. MWE attached with just the image and the transition. Error message attached. 

I was only able to reproduce it from scratch one time. 
STEPS TO REPRODUCE
1. Start new project: HD 1080p f29.97 fps
2. Import png image (don't switch clip profile) 
3. Drag png to timeline
4. Add Wipe transition. Change to Background, wipe from center
5. Shorten duration of wipe
6. Run - crashes

OBSERVED RESULT

Crashes on run
If it doesn't crash, the wipe stops working after the duration is shortened.

EXPECTED RESULT

Run without crashing

SOFTWARE/OS VERSIONS
Ubuntu 20.04
Gnome 3.36.8 X11
Qt version 5.12.8 

ADDITIONAL INFORMATION
Comment 1 kirkkis 2021-12-01 01:57:04 UTC
I can confirm your project file crashes on 21.08.3 and 22.03.70 Nightly, but I can't replicate it in a new project with the same project settings, same picture and same transform and wipe settings.
Comment 2 emohr 2021-12-01 16:17:31 UTC
Created attachment 144122 [details]
crash_log.txt

Thank you for reporting. I can confirm the crash on Windows master. Attached the gdb log. It seems to be an MLT issue.
Comment 3 farid 2021-12-01 18:12:15 UTC
I am unable to reproduce on Kdenlive/MLT form master... I didn't find the "wipe from center" though...
Comment 4 farid 2021-12-01 18:21:10 UTC
Ok, with your project crash seems to be here:

ASSERT: "mImg == qImg->constBits()" in file /home/farid/MLT/src/mlt/src/modules/qt/common.cpp, line 63
Comment 5 farid 2021-12-01 18:24:02 UTC
Created attachment 144123 [details]
crash log
Comment 6 Jean-Baptiste Mardelle 2021-12-02 07:42:19 UTC
Git commit 66e96bc4a9e5cb54bbda3294277c45cd372ee011 by Jean-Baptiste Mardelle.
Committed on 02/12/2021 at 07:41.
Pushed by mardelle into branch 'release/21.12'.

Fix crash on misconfigured wipe composition.

M  +7    -5    src/timeline2/model/compositionmodel.cpp

https://invent.kde.org/multimedia/kdenlive/commit/66e96bc4a9e5cb54bbda3294277c45cd372ee011
Comment 7 emohr 2021-12-02 15:35:08 UTC
Fixed. No crash anymore.