Bug 357155 - Deleting any video/audio track causes kdenlive to crash with a segmentation fault
Summary: Deleting any video/audio track causes kdenlive to crash with a segmentation f...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-25 17:34 UTC by Anton Eliasson
Modified: 2016-01-02 11:49 UTC (History)
0 users

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


Attachments
stack trace (9.00 KB, text/plain)
2015-12-25 17:36 UTC, Anton Eliasson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Eliasson 2015-12-25 17:34:59 UTC
See summary and steps to reproduce.

Reproducible: Always

Steps to Reproduce:
1. Start kdenlive.
2. In the empty default project (in my case HD 1080p 29.97 fps), right click any video or audio track and select delete.
3. Confirm in the popup.
4. kdenlive crashes.



Using version 4:15.12.0-0ubuntu0~sunab~vivid1 from sunab's PPA. OS is Ubuntu 15.04 64-bit.

Attaching stacktrace from gdb. The segfault is at

0x00007ffff561ab6c in mlt_service_connect_producer () from /usr/lib/libmlt.so.6
Comment 1 Anton Eliasson 2015-12-25 17:36:37 UTC
Created attachment 96297 [details]
stack trace
Comment 2 Anton Eliasson 2015-12-25 17:40:46 UTC
Also tested in an empty DV/DVD PAL project with the same result.

Desktop environment is Unity. Until I installed kdenlive I didn't have many KDE packages installed, so I could possibly be missing some.
Comment 3 Jean-Baptiste Mardelle 2015-12-25 20:29:43 UTC
Git commit d38f09b584a2ab0d793b64b7fd013e6a2ab82769 by Jean-Baptiste Mardelle.
Committed on 25/12/2015 at 20:29.
Pushed by mardelle into branch 'Applications/15.12'.

Fix crash on add/delete track when frei0r cairoblend transition is not available

M  +6    -4    src/renderer.cpp
M  +4    -0    src/timeline/customtrackview.cpp

http://commits.kde.org/kdenlive/d38f09b584a2ab0d793b64b7fd013e6a2ab82769
Comment 4 Jean-Baptiste Mardelle 2015-12-25 20:31:24 UTC
Thanks for your report. The crash happens because an item from the frei0r package is missing. I just fixed the crash in git. As a workaround, try installing the "frei0r-plugins" package, it should solve your problem.
Comment 5 Anton Eliasson 2015-12-26 10:36:31 UTC
That was quick! I already had frei0r-plugins installed, version 1.4.0+git20151222.2bef628f-0ubuntu0~sunab~vivid1 from the PPA. I found that it lacks the cairoblend transition (/usr/lib/frei0r-1/cairoblend.so). Downgrading to version 1.4-3 from vivid/universe made the crash go away. I'll talk to sunab about why it is missing from his package.
Comment 6 Anton Eliasson 2015-12-27 17:07:29 UTC
According to sunab frei0r-plugins was built without libcairo and libopencv as they had previously caused problems. New version 1.4.0+git20151226.cea68c2b-0ubuntu0~sunab~vivid2 builds with those packages and so avoids this bug.