Created attachment 167367 [details] reload-crash-project SUMMARY Crash when manually reloading clip STEPS TO REPRODUCE 1. Open the simple project I uploaded , which has Two sequences Seq1: One color clip with many instances (They're grouped) Some subtitles (The color group then grouped again with subtitles) One audio clip Seq2: Seq1 2. Switch to Seq 1 3. Ungroup the color clips and subtitles 4. Ungroup the color clips (do ungroup twice) 5. Switch to Seq2 6. Right click audio.mp3 in bin, choose "reload clip" OBSERVED RESULT crash EXPECTED RESULT SOFTWARE/OS VERSIONS Git master ci build kdenlive-master-7641-linux-gcc-x86_64.AppImage ADDITIONAL INFORMATION [mp3float @ 0x7fc6c40f0800] Could not update timestamps for skipped samples. ======= SETTING AUDIO DATA IN MONITOR NOT EMPTY!!! ====== OPENING CLIP: "audio.mp3" TRACK NOT IN TARGET : 17 = QList() TRACK NOT IN TARGET : 17 = QList(17) // SETTING CLIP PROPERTIES: QMap(("kdenlive:duration", "00:01:13.280")("kdenlive:maxduration", "1832")("length", "1832")("out", "1831")) ========== READY FOR TASK DISCARD ON: 3 === AUDIO NOT FOUND MLT: "[producer_xml] parse fatal: Opening and ending tag mismatch: property line 0 and prty\trow: 190\tcol: 49" qrc:/qml/kdenliveclipmonitor.qml:728:21: QML Rectangle: Binding loop detected for property "width" Segmentation fault (core dumped)
I cannot reproduce with current git. Could you check if you can still reproduce ? Is it crashing everytime ? If it is still crashing for you, can you attach a picture of your Kdenlive window (to see which widgets are visible in case that is relevant)
Created attachment 167407 [details] kdenlive window screenshot
I just tried some times. It doesn't crash everytime. It crashes sometimes. I haven't found the key to reproduce. I'll post here if I get something. I upload a screenshot picture. ======================================================== But ... !! Another crash: During the tests just now, I found another crash: If you start kdenlive first, then open the project, it doesn't crash on opening. If you start kdenlive with the project as argument, it crashes immediatly My system: KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 5.14.21-150500.55.44-default (64-bit) Graphics Platform: X11 Graphics Processor: Mesa Intel® HD Graphics 4000 Termnal log of the opening crash: $ /home/xxx/xxx/kdenlive-master-7684-linux-gcc-x86_64.AppImage /tmp/reload-crash-project/123.kdenlive Loaded icon theme: "breeze" Loaded icon theme: "breeze-dark" kf.config.core: Watching absolute paths is not supported "/tmp/.mount_kdenli8K6pQx/usr/share/color-schemes/BreezeLight.colors" Starting render server profilePath from $MLT_PROFILES_PATH: "/tmp/.mount_kdenli8K6pQx/usr/share/mlt-7/profiles/" meltPath from KdenliveSetting::meltPath: "/tmp/.mount_kdenli8K6pQx/usr/bin/melt" plugin not available: "region" Empty metadata for "glsl.manager" Empty metadata for "telecide" plugin not available: "avfilter.acompressor" ...... ...... plugin not available: "movit.unsharp_mask" plugin not available: "timewarp" === /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" begin OpenGL vendor "Intel" OpenGL renderer "Mesa Intel(R) HD Graphics 4000 (IVB GT2)" OpenGL threaded? true OpenGL ES? false OpenGL maximum texture size = 16384 OpenGL maximum viewport size = 16384 x 16384 end begin OpenGL vendor "Intel" OpenGL renderer "Mesa Intel(R) HD Graphics 4000 (IVB GT2)" OpenGL threaded? true OpenGL ES? false OpenGL maximum texture size = 16384 OpenGL maximum viewport size = 16384 x 16384 end kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" "Not connected to D-Bus server" ...... ...... qml: loaded clip with Astream: 0 qrc:/qml/timeline.qml:509: ReferenceError: proxy is not defined qrc:/qml/timeline.qml:489: ReferenceError: proxy is not defined ==== NO PREVIOUS TIMELINE ::::::::::: connecting timeline: QUuid("{406d633c-193e-4980-97dd-be3fb1bf8c90}") , DUR: 1832 segment fault
Created attachment 167552 [details] reload-crash-record Please try following steps, it shoud reproduce a crash 1. Open the simple project I uploaded (123.kdenlive) 2. Switch to Seq 1 3. Cut the audio near the end 4. Cut the color clips group at the 3rd color clip 5. Ungroup the left group (color clips and subtitles) 6. Ungroup the left color clips group (do ungroup again) 7. Switch to Seq2 8. Right click audio.mp3 in bin, choose "reload clip" (wathch the video I uploaded) Tested on kdenlive-master-7710-linux-gcc-x86_64.AppImage
Thanks, I can reproduce with your last instructions
Git commit 5814f7b9aa664e9c3e3e06c747cf94d63b073bc9 by Jean-Baptiste Mardelle. Committed on 23/03/2024 at 05:47. Pushed by mardelle into branch 'master'. Fix crash in sequence clip thumbnails M +2 -2 src/bin/bin.cpp M +5 -9 src/bin/projectclip.cpp M +1 -1 src/bin/projectclip.h M +2 -2 src/jobs/cliploadtask.cpp M +4 -4 src/mltcontroller/clipcontroller.cpp M +1 -1 src/mltcontroller/clipcontroller.h https://invent.kde.org/multimedia/kdenlive/-/commit/5814f7b9aa664e9c3e3e06c747cf94d63b073bc9
I think it is now fixed with my last commit. Could you please confirm ?
Git commit 1bef4dad70ce4fe7689e8faa9931537b1ff6ac99 by Jean-Baptiste Mardelle. Committed on 24/03/2024 at 14:01. Pushed by mardelle into branch 'release/24.02'. Fix crash in sequence clip thumbnails M +2 -2 src/bin/bin.cpp M +5 -9 src/bin/projectclip.cpp M +1 -1 src/bin/projectclip.h M +2 -2 src/jobs/cliploadtask.cpp M +4 -4 src/mltcontroller/clipcontroller.cpp M +1 -1 src/mltcontroller/clipcontroller.h https://invent.kde.org/multimedia/kdenlive/-/commit/1bef4dad70ce4fe7689e8faa9931537b1ff6ac99