Bug 439849 - Crash upon inserting a multi-audio clip while some tracks are locked.
Summary: Crash upon inserting a multi-audio clip while some tracks are locked.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 20.12.3
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-14 19:18 UTC by Bauke
Modified: 2021-07-19 12:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bauke 2021-07-14 19:18:05 UTC
SUMMARY
Kdenlive crashes while inserting a clip with multiple audio tracks while some timeline tracks are locked for editing.

STEPS TO REPRODUCE
1. Open Kdenlive
2. Add 4 audio tracks
3. lock tracks V1, A1, A2 and A3.
4. Add a clip containing 1 video and 3 audio tracks.

OBSERVED RESULT
5. Kdenlive crashes.


EXPECTED RESULT
5. Kdenlive allows the user to insert the clip into the non-locked tracks.

SOFTWARE/OS VERSIONS
Ubuntu 21.04
KDE Frameworks 5.80.0
Qt 5.15.2 (built against 5.15.2)
The xcb windowing system

ADDITIONAL INFORMATION
Comment 1 emohr 2021-07-18 12:48:26 UTC
Thank you for reporting. I can confirm the crash (with version 21.04.3). 

Lock all needed video and audio tracks the clip needs. Insert the clip into the timeline. Nothing happen. Unlock the video track and insert the clip again -> Kdenlive crash. I could not create a gdb log as Kdenlive is frozen.
Comment 2 Jean-Baptiste Mardelle 2021-07-19 12:28:54 UTC
Git commit 6c37857ead305a43f330517983c3c040dd67e696 by Jean-Baptiste Mardelle.
Committed on 19/07/2021 at 12:28.
Pushed by mardelle into branch 'release/21.0'.

Fix crash dragging multiple audio streams clip in timeline with locked tracks

M  +28   -9    src/timeline2/model/timelinemodel.cpp

https://invent.kde.org/multimedia/kdenlive/commit/6c37857ead305a43f330517983c3c040dd67e696