SUMMARY Using 0 video streams crashes the application after an amount of seconds STEPS TO REPRODUCE 1. Go to Settings -> Configure Kdenlive -> Project Defaults 2. Change the number of video tracks to 0 3. Apply 4. Close kdenlive 5. Start kdenlive It probably also triggers when you just change the current project settings. The only way to get into the Settings at all after setting 0 as a Default is by deleting ~/.config/kdenliverc OBSERVED RESULT The application crashes after a few seconds. If not, just do something like importing a few clips, that should trigger it. EXPECTED RESULT The application works SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 19.12.3-1 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Might be a bug in a dependency instead, as I did system updates and before that I could use 0 video tracks just fine, but kdenlive itself didn't update. Logs give a std::out_of_range error just before the crash
Good catch. Thank you for reporting. We should fix this. Either make it not possible to set the default video/audio track to 0 (zero) or when importing a clip show a waring.
Git commit f9ab7e3e6648ebb7cd5e04216ef361d40cbeca2f by Jean-Baptiste Mardelle. Committed on 22/03/2020 at 20:31. Pushed by mardelle into branch 'release/20.04'. Ensure we cannot create a project with 0 tracks M +10 -0 src/dialogs/kdenlivesettingsdialog.cpp M +10 -0 src/project/dialogs/projectsettings.cpp M +1 -1 src/timeline2/view/dialogs/trackdialog.cpp M +1 -1 src/timeline2/view/timelinecontroller.cpp https://invent.kde.org/kde/kdenlive/commit/f9ab7e3e6648ebb7cd5e04216ef361d40cbeca2f
*** Bug 421980 has been marked as a duplicate of this bug. ***