Created attachment 168428 [details] Project file *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY STEPS TO REPRODUCE 1. Load Project 2. Make changes 3. Save project 4. Scrub timeline - Start playback - Click on button, toggle; assets. OBSERVED RESULT Kdenlive hangs and crashes after or during save when still editing. EXPECTED RESULT Saves, and doesn't hang or crash. Can resume editing. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Linux Mint (available in About System) KDE Plasma Version: KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION I've provided a screen capture and project-file. The crash happen more once the project becomes loaded or heavy. Link to screen capture on Github: https://github.com/nuxttux/Kdenlive_Crashes.git Kdenlive Version 24.04.70 (rev. c3be2e0c6)
Git commit b2f03c8063f6579949763fdf2ca34519486b9017 by Jean-Baptiste Mardelle. Committed on 13/04/2024 at 00:39. Pushed by mardelle into branch 'master'. Fix Bin initialized twice on project opening causing various crashes. M +6 -1 src/bin/bin.cpp M +1 -1 src/bin/bin.h https://invent.kde.org/multimedia/kdenlive/-/commit/b2f03c8063f6579949763fdf2ca34519486b9017
The AppImage crashed twice while trying to open the same project. The Flatpak worked smoother compared to previously. It crashed on two instances: 1. While scrubbing, shortly after saving. 2. While trying to changes sequence, right after saving. Link to screen capture: https://github.com/nuxttux/Kdenlive_Crashes
Git commit 595065b36d9334956e0fcf314309e0e1ba415b90 by Jean-Baptiste Mardelle. Committed on 19/04/2024 at 11:38. Pushed by mardelle into branch 'master'. Fix crash after save in sequence thumbnails M +15 -5 src/bin/projectclip.cpp M +2 -3 src/jobs/cliploadtask.cpp M +24 -22 src/project/projectmanager.cpp https://invent.kde.org/multimedia/kdenlive/-/commit/595065b36d9334956e0fcf314309e0e1ba415b90
Confirmed. Happening on 24.04.1, 24.04.2, 24.10 and the latest 25.04. For all versions I was using Kdenlive 24.12.1 which shows after reopening as 25.03.70 I test with a single project that I had before and when saving it crashes. My latest case which is why I ended up upgrading to 25.04 to see if the previous attempts were solved did not work. Currently I have a 600GB project with 150 videos to process, but the same saving crash happens when I have a single 28MB video. Kdenlive does detect my Nvidia RTX 4090 and everything works perfectly except saving. I was even able to transcode 72 videos (which is about 300GB of videos from the variable frame rate to the constant one without a single issue. I was able to change project settings from 1080p to 4K@60 without any issues and even started editing during 20 minues the videos with no issues at all. It is only when I save that it crashes. dmesg did show some info if it helps [22898.019800] loop43: detected capacity change from 0 to 16376 [22922.933276] kdenlive[81748]: segfault at 56c990c299b1 ip 00007780b761975e sp 00007ffe007c8550 error 4 in libmount.so.1.1.0[3375e,7780b75ef000+34000] likely on CPU 0 (core 0, socket 0) [22922.933285] Code: 41 8b 4c 24 04 85 d2 48 0f 44 03 48 89 45 c0 85 c9 78 0d 31 d2 4c 89 f6 4c 89 e7 e8 ac f7 ff ff 48 8b 43 f0 4c 89 f6 4c 89 e7 <ff> 50 08 48 8b 45 c8 48 85 c0 75 b6 8b 75 d0 49 8b 5c 24 10 4c 89 [22940.838291] kdenlive[84715]: segfault at 7dc68b793408 ip 00007dc6871f8f45 sp 00007ffedba78b40 error 7 in libmount.so.1.1.0[32f45,7dc6871cf000+34000] likely on CPU 12 (core 24, socket 0) [22940.838298] Code: c0 48 85 ff 0f 84 04 02 00 00 48 89 f3 48 85 f6 0f 84 d4 01 00 00 0f b6 46 20 49 89 fc 8b 7f 04 83 e0 fc 85 d2 0f 95 c1 09 c8 <88> 46 20 85 ff 78 64 85 d2 0f 84 7c 00 00 00 8b 46 14 48 c7 45 c4 [23598.940434] loop22: detected capacity change from 0 to 270768 [23798.329463] kdenlive[95651]: segfault at 8 ip 00007a2825dd472c sp 00007fff8999ffd0 error 4 in libmount.so.1.1.0[3372c,7a2825daa000+34000] likely on CPU 8 (core 16, socket 0) [23798.329470] Code: 48 85 ff 0f 84 0f 01 00 00 49 89 fc 31 f6 48 8d 7d c0 e8 17 9b fd ff 4d 8d 6c 24 08 eb 41 48 8b 5d c0 48 39 d8 74 61 8b 55 d0 <48> 8b 43 08 4c 8d 73 d8 41 8b 4c 24 04 85 d2 48 0f 44 03 48 89 45 [24335.770281] kdenlive[96788]: segfault at 8 ip 000072960882372c sp 00007ffef5b98c60 error 4 in libmount.so.1.1.0[3372c,7296087f9000+34000] likely on CPU 14 (core 28, socket 0) [24335.770290] Code: 48 85 ff 0f 84 0f 01 00 00 49 89 fc 31 f6 48 8d 7d c0 e8 17 9b fd ff 4d 8d 6c 24 08 eb 41 48 8b 5d c0 48 39 d8 74 61 8b 55 d0 <48> 8b 43 08 4c 8d 73 d8 41 8b 4c 24 04 85 d2 48 0f 44 03 48 89 45 [24853.051561] nvidia 0000:01:00.0: Using 39-bit DMA addresses [29329.261818] perf: interrupt took too long (3929 > 3908), lowering kernel.perf_event_max_sample_rate to 50000 [36142.014300] traps: kdenlive[103734] trap int3 ip:780a532d30df sp:7ffc47dbbae0 error:0 in libglib-2.0.so.0.8000.0[620df,780a5328f000+a0000] [36171.764118] traps: kdenlive[134747] trap int3 ip:78180ca590df sp:7fff9f439a30 error:0 in libglib-2.0.so.0.8000.0[620df,78180ca15000+a0000] [36330.052782] traps: kdenlive[136644] trap int3 ip:78a2bf4cb0df sp:7ffdd6892bc0 error:0 in libglib-2.0.so.0.8000.0[620df,78a2bf487000+a0000] My hardware is # System Details Report --- ## Report details - **Date generated:** 2025-02-22 19:05:41 ## Hardware Information: - **Hardware Model:** ASUS ROG MAXIMUS Z790 HERO - **Memory:** 128.0 GiB - **Processor:** 13th Gen Intel® Core™ i9-13900K × 32 - **Graphics:** NVIDIA GeForce RTX™ 4090 - **Disk Capacity:** 16.0 TB ## Software Information: - **Firmware Version:** 2801 - **OS Name:** Ubuntu Plucky Puffin (development branch) - **OS Build:** (null) - **OS Type:** 64-bit - **GNOME Version:** 48 - **Windowing System:** X11 - **Kernel Version:** Linux 6.13.2-061302-generic Note that this happens with all version from 24.04 to 25.04 and from all Kernels from 6.8 till the latest one I was desperate to test which is 6.13.2
Could the crash be related to the X11 windowing system? Do you use the official Kdenlive Flatpak or AppImage version?
Sorry for some reason I lost how to reply here. It was not until you wrote. So I found, not the issue, but the version with the issue. If we use the snap kdenlive, it goes to 25.03.70, this is the version with the issue. For all Ubuntu versions I tested, I installed the 24.12.1 but after opening it again it would show 25.03.70. The 25.03.70 is the one with the crashing issue. I now used flatpak and it worked correctly. I have been able to work perfectly since then.
Thank you for your feedback. Snap is not an official Kdenlive package anymore. Glad to here it works. I close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.