Bug 461744 - Kdenlive crashes when creating new audio track
Summary: Kdenlive crashes when creating new audio track
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 20.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-12 21:41 UTC by Chris Diamand
Modified: 2022-11-17 13:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Backtrack from KDE's crash handler (174.21 KB, text/vnd.kde.kcrash-report)
2022-11-12 21:41 UTC, Chris Diamand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Diamand 2022-11-12 21:41:52 UTC
Created attachment 153698 [details]
Backtrack from KDE's crash handler

STEPS TO REPRODUCE
* Started a new blank Kdenlive project
* Import 3 video clips (h265 mp4) and one audio clip (wav) into the project bin
* Created a new AV track (as well as the two existing AV tracks that are there by default) by right-clicking on the existing track and using the "insert track" dialog
* Dragged each video clip from the project bin to a corresponding track
* Tried to create a new audio track for the WAV file - but when I hit "OK" in the "insert track" dialog Kdenlive exits immediately

After restarting Kdenlive and using the recover-from-crash feature, everything works perfectly.

OBSERVED RESULT

Kdenlive crashes

EXPECTED RESULT

New audio track added

I've attached the file generated by KDE's crash handler with the backtrace - I tried to raise the bug through there originally but it failed.
Comment 1 erjiang 2022-11-12 22:01:55 UTC
Two things from glancing at the crash report briefly:

1. It looks like the crash was in the movit library. Can you try going into the Kdenlive settings -> Playback -> disabling "Use GPU Processing"?
2. You are using Kdenlive 20.12.3 and many things have changed since then. I would suggest using the AppImage from kdenlive.org if it does not cause problems for your current project. Sometimes the distribution packages can have bugs with dependencies.
Comment 2 Chris Diamand 2022-11-17 13:44:59 UTC
(In reply to erjiang from comment #1)
> Two things from glancing at the crash report briefly:
> 
> 1. It looks like the crash was in the movit library. Can you try going into
> the Kdenlive settings -> Playback -> disabling "Use GPU Processing"?
> 2. You are using Kdenlive 20.12.3 and many things have changed since then. I
> would suggest using the AppImage from kdenlive.org if it does not cause
> problems for your current project. Sometimes the distribution packages can
> have bugs with dependencies.

Thanks for the quick reply! I can't reproduce this with the latest AppImage or with GPU Processing disabled so I think it would be OK to close this for now then.