https://bugs.kde.org/show_bug.cgi?id=440065
Nick Farrow <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #14 from Nick Farrow <[email protected]> --- I've experienced what seems to be the same underlying issue on Kdenlive 25.12.2, Arch Linux, MLT 7.36.1, ffmpeg 8.0.1. My project has ~300 sound effect WAVs imported into the bin (most unused on the timeline). The project loads fine from a backup, but every time I save and try to reopen the saved file, it segfaults during load. The backtrace is the same -- crash in `avformat_find_stream_info` called from `producer_avformat_init` during XML project parsing. What I found: * Backup file loads fine every time * Save the project -- kdenlive reorders the producers/chains in the XML (alphabetically sorts bin clips before the timeline block) * Try to reopen the saved file-- segfault * melt-7 loads the crashing file without issues, so the crash is kdenlive-specific * Removing the ~300 unused bin clips and saving again fixes the issue completely This looks like the same producer cache race condition described in comment #4 -- the large number of bin clips overwhelms the cache, and producers get evicted/closed while still being initialized. The reordering on save changes which producers get loaded first, changing the eviction timing enough to trigger the crash...? -- You are receiving this mail because: You are watching all bug changes.
