https://bugs.kde.org/show_bug.cgi?id=404046
Bug ID: 404046 Summary: getTracksInfo() tries to read past end of tracks list Product: kdenlive Version: 18.12.1 Platform: Appimage OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: User Interface Assignee: j...@kdenlive.org Reporter: mazin07+...@gmail.com Target Milestone: --- Created attachment 117905 --> https://bugs.kde.org/attachment.cgi?id=117905&action=edit kdenlive project file that causes kdenlive to crash SUMMARY When opening a certain .kdenlive project file, kdenlive crashes in getTracksInfo() when it tries to get a track for an index that doesn't exist. Seems to be a mismatch between tracksCount() and the actual number of elements in m_tracks. The project file was created by kdenlive 17.12.3 but crash exhibits on 17.12.3 and 18.*. Could be bugginess in kdenlive internal data model that produces bad project file. STEPS TO REPRODUCE 1. Open attached kdenlive project file. 2. Observe SIGSEGV in Mlt::Properties::get() OBSERVED RESULT Backtrace sample: #0 0x00007ffff6dcfef0 in Mlt::Properties::get(char const*) () at /usr/lib/x86_64-linux-gnu/libmlt++.so.3 #1 0x0000555555744dda in Track::info() (this=0x0) at ./src/timeline/track.cpp:604 #2 0x0000555555735760 in Timeline::getTracksInfo() (this=0x55555917daa0) at ./src/timeline/timeline.cpp:710 #3 0x00005555556aad0e in TransitionSettings::updateProjectFormat() (this=0x5555587c81f0) at ./src/project/transitionsettings.cpp:131 #4 0x00005555559bfec2 in MainWindow::connectDocument() (this=0x555555ec0d40) at ./src/mainwindow.cpp:1951 EXPECTED RESULT The file should load properly or, if it is corrupted, an error should be printed saying what went wrong and the application should exit gracefully. -- You are receiving this mail because: You are watching all bug changes.