Bug 497447

Summary: Kdenlive crashes when I click on a subtitle clip.
Product: [Applications] kdenlive Reporter: antimidia
Component: Title Clips & SubtitlesAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: crash CC: fritzibaby
Priority: NOR Keywords: triaged
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Project file
Output of thread apply all bt full

Description antimidia 2024-12-14 10:01:38 UTC
Created attachment 176591 [details]
Project file

I was working normally on this project yesterday. But today everytime I open the project and click on a subtitle clip on the timeline to edit it, Kdenlive crashes. This happens either on the Debian repository version or in the Appimage.

I'm attaching my project file and below is what I get from the debug:

"[Thread 0x7ffe30ff96c0 (LWP 29236) exited]
qml: ENTER MOUSE END AREA
qml: ENTER MOUSE END AREA
qml: ENTERED SUBTITLE MOUSE AREA
qml: ENTER MOUSE END AREA
qml: ENTERED SUBTITLE MOUSE AREA
qml: ENTERED ITEM CLCKD: Even though the pipeline has gone through in the Witsuwatin territory, I see so many successes in  ID:  3591 START FRM:  5527
::: REQUESTING SELECTION CLEAR!!!!!!
::: SHOWING SUBTITLE:  3591
terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at

Thread 1 "kdenlive" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, 
    no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
warning: 44	./nptl/pthread_kill.c: Arquivo ou diretório inexistente
(gdb) "
Comment 1 antimidia 2024-12-14 10:06:21 UTC
Created attachment 176592 [details]
Output of thread apply all bt full
Comment 2 emohr 2024-12-14 16:49:03 UTC
The crash log shows nothing related to Kdenlive. 

It seems your project get corrupted. Please open a backup file. Project -> Open Backup File -> choose an older version. Does an older project file works?
Comment 3 antimidia 2024-12-14 19:46:12 UTC
(In reply to emohr from comment #2)
> The crash log shows nothing related to Kdenlive. 
> 
> It seems your project get corrupted. Please open a backup file. Project ->
> Open Backup File -> choose an older version. Does an older project file
> works?

An older project works apparently seems to be working. But weirdly I cannot copy and paste the clips from the newest project to the older. It keeps saying it's not possible even though I tried to paste it on a new sequence with more than enough empty tracks.

I don't know what you mean about the crash log doesn't showing nothing related to Kdenlive. I followed the instructions on https://kdenlive.org/en/bug-reports/ and the document I attached here is the output of "thread apply all bt full" and it contains tons of "kdenlive" threads.