Bug 471270

Summary: Application crashes on editing while rendering: segmentation fault
Product: [Applications] kdenlive Reporter: Narcis Garcia <narcisgarcia>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: crash CC: fritzibaby
Priority: NOR    
Version: 23.04.2   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Narcis Garcia 2023-06-20 19:36:26 UTC
SUMMARY
***
Application crashed when "Cut" action is done on a clip in timeline. Most of times when clip itself is not selected.
***


STEPS TO REPRODUCE
1. Launch kdenlive-23.04.2-x86_64.AppImage
2. Add clips to project
3. Add one clip to timeline
4. Set cursor position to the middle of used timeline, by clicking on empty area (not clip itself).
5. Right-click to open context menu -> Cut

OBSERVED RESULT
clip not ready or not compatible PlaylistState::VideoOnly false
Segmentation fault


EXPECTED RESULT
Continue working on project.

SOFTWARE/OS VERSIONS
Debian GNU/Linux 11 +Gnome

ADDITIONAL INFORMATION
MJPEG clips
Comment 1 Narcis Garcia 2023-07-12 19:46:54 UTC
I've observed most times this breaking behaviour when a render is already running:
1. Launch kdenlive-23.04.2-x86_64.AppImage
2. Add clips to project
3. Add one clip to timeline
4. Cut timeline's clip into various segments. Remove some of them and stick temains between them.
5. Render project (to eg. VP9)
6. While project is being rendered at that point, reuse session and save same project to a different name.
7. Clean timeline and insert there a clip again (from project's clips area)
8. Cut timeline's clip into various segments.
CRASH.

I don't know if number of queued renders is a factor.
* I've used MJPEG clips only.
Comment 2 Narcis Garcia 2024-06-11 09:34:04 UTC
I can't test it with newer Kdenlive versions due to be using Debian GNU/Linux 11:
https://discuss.kde.org/t/kdenlive-24-02-0-a-x86-64-appimage-doesnt-work-on-porteus-5-01-slackware-15-based-distr/12302