This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Segmentation fault on project

Tags: None
(comma "," separated)
User avatar
ChameleonScales
Registered Member
Posts
104
Karma
1
OS

Segmentation fault on project

Sun Jun 21, 2020 12:44 am
Hi,
I've been using Kdenlive for a while now and I just rendered a video I've been working on for a few days. Now when I try to reopen this particular project, Kdenlive crashes at some point while loading clips and I get this error:
Code: Select all
CLIPS COUNT:  256
REGISTRATION  269 ptr count 3
XML parsing of  "mirror" . found :  2
 = = SET EFFECT PARAM:  "mirror"  =  "flip"
END parsing of  "mirror" . Number of found parameters 2
Segmentation fault (core dumped)

I did nothing out of the ordinary. Just waited for the render to be over and clicked on File > Quit.

Any chance I can recover my work?

Specs :
Kdenlive 20.04.1 appimage
Manjaro KDE
GPU : AMD Radeon VII

Last edited by ChameleonScales on Sun Jun 21, 2020 3:01 am, edited 1 time in total.
User avatar
ChameleonScales
Registered Member
Posts
104
Karma
1
OS

Re: Segmentation fault on project

Sun Jun 21, 2020 2:48 am
Thanks to the fact that kdenlive files are readable text, I could narrow down the issue through iterative diffs with an old backup.
More precisely, I went like this :
  1. Using Meld, replace half of the differing lines in the old working version by the corresponding lines from the broken version
  2. check if the modified old version still works:
    • if so, repeat with half of the remaining different parts
    • if it crashes, go back to the version that still worked and replace the other half

The file is 85700 lines long but in just 10 of these iterations, I found the single line that caused the crash :
Code: Select all
<entry producer="producer534" in="00:37:02,419" out="00:37:05,255">

replacing just the 534 by 514 (number from the old backup) made the broken file open again, even though a few clips got shifted for some reason.

My takeaway : From now on I will create versioned backups at least twice a day and keep at least the last 5 versions.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]