Bug 378022 - library: "Expand clip" crashes Kdenlive
Summary: library: "Expand clip" crashes Kdenlive
Status: RESOLVED MOVED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 16.12.3
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-03-24 16:17 UTC by Frantisek Fuka
Modified: 2021-03-05 14:04 UTC (History)
3 users (show)

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


Attachments
One of the library files that cause the crash (22.82 KB, video/mlt-playlist)
2017-03-24 16:17 UTC, Frantisek Fuka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frantisek Fuka 2017-03-24 16:17:37 UTC
Created attachment 104722 [details]
One of the library files that cause the crash

1. Select several clips and add selection to the library.
2. Create new Kdenlive project.
3. Move the library clip to project bin and then to Timeline.
4. Select the clip on timeline and select "Timeline / Current clip / Expand clip".

This always results in crash:

* * *CREATED PROD:  "/home/fuxoft/.local/share/kdenlive/library/AllTest.mlt"  =  "/home/fuxoft/.local/share/kdenlive/library/AllTest.mlt"
 * *PROXY PATH:  "/home/fuxoft/.cache/kdenlive/proxy/796075dfe88e94c8f2233b78371e5604.mov" ,  "consumer:/home/fuxoft/.local/share/kdenlive/library/AllTest.mlt"
 * * *Setting document xml root:  ""
 * * *Setting document xml root:  ""
originalId:  "7" , newId:  "2"
fixed resource path for producer, newId: "2" resource: "/home/fuxoft/znelka3.wav"
originalId:  "1" , newId:  "3"
fixed resource path for producer, newId: "3" resource: "/home/fuxoft/.cache/kdenlive/proxy/a0669a0e92ad1521d3c54ed54c031913.mov"
originalId:  "2" , newId:  "4"
originalId:  "3" , newId:  "5"
fixed resource path for producer, newId: "5" resource: "/home/fuxoft/.cache/kdenlive/proxy/34b078ca59c928725e9502a0e4b98872.mov"
newId:  "2" , originalId:  "7"
newId:  "3" , originalId:  "1"
newId:  "4" , originalId:  "2"
newId:  "4" , originalId:  "2"
newId:  "5" , originalId:  "3"
 / / / / /WARNING, VIDEO CONTEXT IS NULL!!!!!!!!!!!!!!
* * *CREATED PROD:  "/home/fuxoft/znelka3.wav"  =  "/home/fuxoft/znelka3.wav"
 / // error controller not found, crashing
 / // error controller not found, crashing
 / // error controller not found, crashing
"Cannot insert clip..."
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
 * * *Setting document xml root:  ""

After the crash, Kdenlive is frozen for a while and then I can continue working but the timeline is messed up (e.g. just a single WAV audio is present instead of 5 audio and video clips).

The .MLT file is attached. I tried several times, creating different library clip each time, but the crash happens always. Even before expanding the clip, it isn't exactly identical to the original group of clips when played (e.g. one of the subclips seems to be missing).
Comment 1 farid 2017-03-24 22:47:45 UTC
cannot reproduce using kdenlive-git 17.03.70 and mlt-git 6.5 in archlinux...
Comment 2 Frantisek Fuka 2017-03-24 22:53:52 UTC
(In reply to farid from comment #1)
> cannot reproduce using kdenlive-git 17.03.70 and mlt-git 6.5 in archlinux...

Are there packages newer than 16.12.3 available for Ubuntu?
Comment 3 Frantisek Fuka 2017-03-24 23:20:24 UTC
FYI This bug is also reproducible in AppImage version 16.12.2.
Comment 4 emohr 2018-10-13 13:06:05 UTC
Please try with the actual Kdenlive AppImage version 18.08.2
Comment 5 emohr 2018-12-16 16:47:15 UTC
The library function is broken since 17.04.

Solved in the actual Refactoring nightly build from 16.Dec 18: https://binary-factory.kde.org/job/Kdenlive_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/

It will not be backported to the actual versions.
I adjust the title.
Comment 6 Julius Künzel 2021-03-02 18:27:35 UTC
The issue is tracked here https://invent.kde.org/multimedia/kdenlive/-/issues/300
Comment 7 farid 2021-03-05 14:04:00 UTC
Since we area tracking this elsewhere will close it here to maintain sanity.