Bug 481064

Summary: Crash after pasting nested sequence
Product: [Applications] kdenlive Reporter: red_Arti <jijiliu35>
Component: Timeline & EditingAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: crash CC: fritzibaby
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: paste nested seq crash

Description red_Arti 2024-02-08 16:00:23 UTC
Created attachment 165672 [details]
paste nested seq crash

SUMMARY
Paste a nested sequence from project 1 to project 2. 
Then project 2 will make Kdenlive crash.
(watch the video in attachment)

STEPS TO REPRODUCE
1. Run 2 Kdenlive instances
2. In 1st Kdenlive
  1). Create title clip, with text. Add it to Seq 1
  2). Create Seq 2. Add Seq 1 into Seq 2
  3). Create Seq 3. Add Seq 2 into Seq 3
  4). Copy Seq 2 from Seq 3's timeline
3. Paste into 2nd Kdenlive's timeline (notice: after pasting, 2nd Kdenlive's bin doesn't show Seq 1 !!)
4. In 2nd Kdenlive, Save. Reopen. Crash !!

OBSERVED RESULT
The 2nd Kdenlive's project makes Kdenlive crash on opening

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Latest git master ci build kdenlive-master-7417-linux-gcc-x86_64.AppImage (Qt6)

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2024-02-09 10:17:40 UTC
Git commit 8b5f5216f74d350907d6c611321899a610aca2e8 by Jean-Baptiste Mardelle.
Committed on 09/02/2024 at 10:16.
Pushed by mardelle into branch 'release/24.02'.

Fix sequence copy

M  +1    -1    src/mltcontroller/clipcontroller.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/8b5f5216f74d350907d6c611321899a610aca2e8