Bug 381110 - Consistent Crashing in Kdenlive when using Custom Wipe Transition
Summary: Consistent Crashing in Kdenlive when using Custom Wipe Transition
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 17.04.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-11 20:02 UTC by Michael Tunnell
Modified: 2018-04-13 08:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace data (13.70 KB, text/plain)
2017-06-11 20:02 UTC, Michael Tunnell
Details
Working 3-o-clock wipe (405.05 KB, image/x-portable-graymap)
2017-08-31 22:42 UTC, alcinos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tunnell 2017-06-11 20:02:35 UTC
Created attachment 106047 [details]
backtrace data

This bug occurs with Kdenlive 17.04.2 on KDE Neon with Plasma 5.10.1

I created a custom pgm wipe for the clock wipe to be started at 3 (right side) rather that from 12 (top). When selecting the wipe, Kdenlive crashes every time just from the selection of the wipe.

I created a video to dmeonstrate the issue: https://youtu.be/G4H5Wy0Spl4
Comment 1 Michael Tunnell 2017-08-27 03:45:17 UTC
Anyone interested in addressing this?
Comment 2 alcinos 2017-08-27 22:02:46 UTC
On a glance, this might be coming from MLT. Could you provide the wipe you used ?
Comment 3 Michael Tunnell 2017-08-30 17:36:36 UTC
@alcinos, here is the wipe file. Unfortunately, I couldn't attach it because of the silly 4MB max limit for attachments.

http://michaeltunnell.com/files/clock-at-3.pgm
Comment 4 alcinos 2017-08-31 22:40:58 UTC
Ok, I can reproduce.
It seems that there is a problem with your wipe, but I am not sure which. Maybe format. Anyways, when using Melt on standalone, the pgm file is just ignored, and it crashes kdenlive.

I will attach a working wipe for your use-case
Comment 5 alcinos 2017-08-31 22:42:19 UTC
Created attachment 107634 [details]
Working 3-o-clock wipe
Comment 6 Vincent PINON 2018-01-26 13:21:10 UTC
Hello,
The buggy file actually has a "P6" header, meaning it is a color binary image (PPM), while MLT's producer_pgm looks for "P5" header, for grey scale binary images (PGM).
https://en.wikipedia.org/wiki/Netpbm_format
MLT & Kdenlive shouldn't just crash on it, ideally it should fallback to a smarter producer if it doesn't understand the image...
Comment 8 Jean-Baptiste Mardelle 2018-04-13 08:01:32 UTC
Fixed in MLT git master