| Summary: | Segmentation fault when loading a project (on Linux but not on Windows) | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Linuxus <linuxus> |
| Component: | Project Bin & Import | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | REPORTED --- | ||
| Severity: | crash | CC: | linuxus |
| Priority: | NOR | ||
| Version First Reported In: | 25.08.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Full console log of kdenlive | ||
Created attachment 184775 [details] Full console log of kdenlive SUMMARY On Manjaro Linux, I was working on a large video project with about 2000 files. For about 1.5 weeks it all worked fine, until kdenlive didn't highlight a video clip when clicking on it with the left mouse key. It still worked with the right mouse key though. I saved the project, restarted kdenlive and reloaded the project. Then it crashed with a segmentation fault every time. I have attached the full console log of the project loading procedure. I then tried it on Windows 11 and could load and edit the project without problems. Downgrading kdenlive on Manjaro to older versions, using Flatpak and other Linux distributions didn't help either and neither did using other kernel versions. STEPS TO REPRODUCE Since this only happens with special video projects and not with every one, I cannot really give instructions to reproduce the crash other than what I already described in the summary. OBSERVED RESULT Segmentation fault when loading my video project on Linux EXPECTED RESULT Being able to load the project without crashes SOFTWARE/OS VERSIONS Linux/Xfce: Manjaro Linux (Kernel 6.15.11-2) Qt Version: 5.15.17 (According to qmake --version) ADDITIONAL INFORMATION Here is the gdb backtrace of the segmentation fault: #0 0x00007fffb403003f in producer_open (self=self@entry=0x7fffa014efc0, profile=<optimized out>, URL=URL@entry=0x7fffa02ac730 "/run/media/jonas/PortableSSD/Rohmaterial/Reisen/2025_Schottland_Scotland/Aufnahmen/03/00216.MTS", take_lock=take_lock@entry=0, test_open=test_open@entry=0) at /usr/src/debug/mlt/mlt/src/modules/avformat/producer_avformat.c:1241 #1 0x00007fffb4030d5c in producer_set_up_video (self=0x7fffa014efc0, frame=0x7fffa01e5a00) at /usr/src/debug/mlt/mlt/src/modules/avformat/producer_avformat.c:2988 #2 producer_get_frame (producer=0x7fffa01e5600, frame=0x7fff5bbddbd0, index=<optimized out>) at /usr/src/debug/mlt/mlt/src/modules/avformat/producer_avformat.c:3909 #3 0x00007ffff710e254 in producer_get_frame (service=0x7fffa01e5600, frame=0x7fff5bbddbd0, index=0) at /usr/src/debug/mlt/mlt/src/framework/mlt_producer.c:679 #4 0x00007ffff711fcc8 in mlt_service_get_frame (self=0x7fffa01e5600, frame=0x7fff5bbddbd0, index=0) at /usr/src/debug/mlt/mlt/src/framework/mlt_service.c:590 #5 0x00007ffff70ddbeb in Mlt::Service::get_frame (this=<optimized out>, index=index@entry=0) at /usr/src/debug/mlt/mlt/src/mlt++/MltService.cpp:136 #6 0x0000555555aa02f1 in ClipLoadTask::generateThumbnail (this=this@entry=0x555572c62070, binClip=std::shared_ptr<ProjectClip> (use count 4, weak count 2) = {...}, producer=std::shared_ptr<Mlt::Producer> (use count 2, weak count 1) = {...}) at /usr/include/c++/15.2.1/bits/unique_ptr.h:193 #7 0x0000555555aa1fea in ClipLoadTask::run (this=0x555572c62070) at /usr/src/debug/kdenlive/kdenlive-25.08.0/src/jobs/cliploadtask.cpp:312 #8 0x00007ffff1927b65 in ??? () at /usr/lib/libQt6Core.so.6 #9 0x00007ffff191ee69 in ??? () at /usr/lib/libQt6Core.so.6 #10 0x00007ffff0e969cb in start_thread (arg=<optimized out>) at pthread_create.c:448 #11 0x00007ffff0f1aa0c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 The crash always happens at the same code line but with different files.