https://bugs.kde.org/show_bug.cgi?id=461957
Bug ID: 461957 Summary: Subtitle UI can corrupt project file and cause Melt to crash Classification: Applications Product: kdenlive Version: 22.08.3 Platform: Debian testing OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Video Display & Export Assignee: j...@kdenlive.org Reporter: k...@lw1.at Target Milestone: --- SUMMARY (This was discussed in the Kdenlive Telegram channel and is summarized here) One project (that coincidentally was right after updating Melt to 7.10.0) didn't export any more when parallel processing was enabled. The log didn't show any more details, but running melt on the .mlt file manually showed that it crashed with a segmentation fault. While debugging, I realized that a newer version of the project worked fine. It turns out that some UI actions can get Kdenlive into a state where it stores ``` <property name="kdenlive:docproperties.activeTrack">-2</property> ``` in the project and the .mlt file which causes melt to crash. STEPS TO REPRODUCE (This mostly happens when randomly doing some actions with the subtitle track, but I found one method that reproduces this reliably) 1. create an empty project 2. drag an srt file into the tracks and confirm the import 3. select the subtitle track 4. save (the project file is fine) 5. undo the import 6. select the subtitle track 7. save (now `activeTrack` is set to `-2` in the project file) SOFTWARE/OS VERSIONS Linux: Debian Testing KDE Frameworks Version: 5.98.0 Qt Version: 5.56.6 Melt: 7.10.0 (with a patch for https://github.com/mltframework/mlt/issues/839 applied) ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.