Kdenlive Crash on Startup in 24.08.1

Hey, just wanted to see if any one else was having this issue. I don’t use kdenlive often, but I was on a linux community space on lemmy and spotted someone had this issue starting with this version and I noticed that I have the same.

I tested it out in an Arch virtual machine and it works there, but my desktop and laptop running endeavourOS both have the problem.

System Info for my desktop:

System:
Host: Tatsumaki Kernel: 6.10.9-zen1-2-zen arch: x86_64 bits: 64
compiler: gcc v: 14.2.1 clocksource: tsc
Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_wayland with: krunner
vt: 1 dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7C95 v: 1.0
serial: <superuser required>
Mobo: Micro-Star model: B550M PRO-VDH WIFI (MS-7C95) v: 1.0
serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: 2.80 date: 06/22/2021
CPU:
Info: 8-core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP smt: enabled
arch: Zen 3+ rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB
Speed (MHz): avg: 2493 high: 3800 min/max: 2200/4850 boost: enabled cores:
1: 2200 2: 2200 3: 2200 4: 3015 5: 2200 6: 2200 7: 2200 8: 3800 9: 2200
10: 2200 11: 3800 12: 2200 13: 2880 14: 2200 15: 2200 16: 2200
bogomips: 121605
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3080 Lite Hash Rate] vendor: ASUSTeK
driver: nvidia v: 560.35.03 arch: Ampere pcie: speed: 16 GT/s lanes: 16
ports: active: none off: DP-2,DP-3 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 2b:00.0 chip-ID: 10de:2216 class-ID: 0300
Device-2: Sunplus Innovation Full HD webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-5.4:8
chip-ID: 1bcf:2283 class-ID: 0102 serial: 20200618001
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia d-rect: 4096x1152
display-ID: 0
Monitor-1: DP-2 pos: right res: 2048x1152 size: N/A modes: N/A
Monitor-2: DP-3 pos: primary,left res: 2048x1152 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
x11: drv: nvidia inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
display-ID: :1.0
API: Vulkan v: 1.3.295 layers: 8 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: nvidia device-ID: 10de:2216
Audio:
Device-1: NVIDIA GA102 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 2b:00.1 chip-ID: 10de:1aef class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Sunplus Innovation Full HD webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-5.4:8
chip-ID: 1bcf:2283 class-ID: 0102 serial: 20200618001
Device-4: Sony DualSense wireless controller (PS5)
driver: playstation,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 3-3:5 chip-ID: 054c:0ce6 class-ID: 0300
API: ALSA v: k6.10.9-zen1-2-zen status: kernel-api
Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp42s0 state: up speed: 1000 Mbps duplex: full mac: d8:bb:c1:0a:f1:5c
Device-2: Sony DualSense wireless controller (PS5)
driver: playstation,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 3-3:5 chip-ID: 054c:0ce6 class-ID: 0300
IF-ID-1: Atlanta state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
Device-1: TP-Link UB500 Adapter driver: btusb v: 0.8 type: USB rev: 1.1
speed: 12 Mb/s lanes: 1 bus-ID: 1-3:2 chip-ID: 2357:0604 class-ID: e001
serial: E848B8C82000
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: E8:48:B8:C8:20:00 bt-v: 5.1
lmp-v: 10
Info:
Memory: total: 64 GiB note: est. available: 62.72 GiB
used: 20.07 GiB (32.0%)
Processes: 662 Power: uptime: 2d 27m states: freeze,mem,disk suspend: deep
wakeups: 0 hibernate: platform Init: systemd v: 256 default: graphical
Packages: 2117 pm: pacman pkgs: 2077 pm: flatpak pkgs: 40 Compilers:
clang: 18.1.8 gcc: 14.2.1 alt: 13 Shell: fish v: 3.7.1 default: Bash
v: 5.2.32 running-in: yakuake inxi: 3.3.35

My laptop has an intel gpu, so I don’t think it is related to Nvidia.

Other notable changes is that the mlt package that kdenlive depends on was also updated. Downgrading this package as well as kdenlive itself did not solve the issue. Neither did any combination of the two.

Just wanting to confirm whether or not this is general Arch/Endeavour issue and if anyone else is having the problem?

no issue my side though I am on 28.08.0. Any useful output from the terminal?

Not really useful, I would say. But here is the output

kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltmovit.so
(libmovit.so.8: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltrtaudio.so
(librtaudio.so.7: cannot open shared object file: No such file or directory)
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1726231194.102438  964498 descriptor_database.cc:633] File already exists in database: versions.proto
F0000 00:00:1726231194.102463  964498 descriptor.cc:2236] Check failed: GeneratedDatabase()->Add(encoded_file_descriptor, size)
*** Check failure stack trace: ***
@     0x7628fc4c2e09  absl::lts_20240722::log_internal::LogMessage::SendToLog()
@     0x7628fc4c39ae  absl::lts_20240722::log_internal::LogMessageFatal::~LogMessageFatal()
@     0x7628c5a90955  (unknown)
@     0x7628c5bc228d  google::protobuf::internal::AddDescriptors()
@     0x7628c6c96125  (unknown)
@     0x762934f0d6ad  (unknown)
@     0x762934f0a5c2  _dl_catch_exception
@     0x762934f144fc  (unknown)
@     0x762934f0a523  _dl_catch_exception
@     0x762934f14904  (unknown)
@     0x76293109ef14  (unknown)
@     0x762934f0a523  _dl_catch_exception
@     0x762934f0a679  (unknown)
@     0x76293109e9f3  (unknown)
@     0x76293109efcf  dlopen
@     0x7628fd406c6c  mlt_register
@     0x76293407f279  mlt_repository_init
@     0x762934063f52  mlt_factory_init
@     0x76293403d5f5  Mlt::Factory::init()
@     0x5f0386bfb0d5  (unknown)
@     0x5f0386bb6285  (unknown)
@     0x5f0386613d06  (unknown)
@     0x762931034e08  (unknown)
@     0x762931034ecc  __libc_start_main
@     0x5f03866158d5  (unknown)
KCrash: Application 'kdenlive' crashing... crashRecursionCounter = 2
fish: Job 1, 'kdenlive' terminated by signal SIGABRT (Abort)`

You can safely ignore the parts about not finding stuff related to movit or rtaudio. Those are optional pacakage you can install. Installing them did not fix the problem and not having them installed doesn’t break the package in my working Arch virtual machine.

Generated a backtrace which should be more useful although debuginfod on arch doesn’t always seem to have all the needed debug symbols on Arch.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `kdenlive'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x76292b17e580 (LWP 964498))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007629310a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2  0x000076293104c120 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007629349a6711 in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kcrash/kcrash-6.5.0/src/kcrash.cpp:606
#4  <signal handler called>
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007629310a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x000076293104c120 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007629310334c3 in __GI_abort () at abort.c:79
#9  0x00007628fc4c1c09 in absl::lts_20240722::log_internal::LogMessage::FailWithoutStackTrace ()
at /usr/src/debug/abseil-cpp/abseil-cpp-20240722.0/absl/log/internal/log_message.cc:387
#10 0x00007628fc4c2d8f in absl::lts_20240722::log_internal::LogMessage::Die (this=0x7ffe3de42440)
at /usr/src/debug/abseil-cpp/abseil-cpp-20240722.0/absl/log/internal/log_message.cc:544
#11 0x00007628fc4c39ae in absl::lts_20240722::log_internal::LogMessageFatal::~LogMessageFatal (this=<optimized out>, this=<optimized out>)
at /usr/src/debug/abseil-cpp/abseil-cpp-20240722.0/absl/log/internal/log_message.cc:645
#12 0x00007628c5a90955 in google::protobuf::DescriptorPool::InternalAddGeneratedFile (encoded_file_descriptor=<optimized out>, size=169)
at /usr/src/debug/protobuf/protobuf-28.0/src/google/protobuf/descriptor.cc:2236
#13 0x00007628c5bc228d in google::protobuf::(anonymous namespace)::AddDescriptorsImpl (table=0x7628c713d8e0 <descriptor_table_versions_2eproto>)
at /usr/src/debug/protobuf/protobuf-28.0/src/google/protobuf/generated_message_reflection.cc:3663
#14 google::protobuf::internal::AddDescriptors (table=0x7628c713d8e0 <descriptor_table_versions_2eproto>)
at /usr/src/debug/protobuf/protobuf-28.0/src/google/protobuf/generated_message_reflection.cc:3678
--Type <RET> for more, q to quit, c to continue without paging--c
#15 google::protobuf::internal::AddDescriptors (table=0x7628c713d8e0 <descriptor_table_versions_2eproto>)
at /usr/src/debug/protobuf/protobuf-28.0/src/google/protobuf/generated_message_reflection.cc:3671
#16 0x00007628c6c96125 in _sub_I_00102_1.1 () from /usr/lib/libopencv_dnn.so.410
#17 0x0000762934f0d5b7 in call_init (l=<optimized out>, argc=1, argv=0x7ffe3de44a58, env=0x5f03a5169800) at dl-init.c:74
#18 call_init (l=<optimized out>, argc=1, argv=0x7ffe3de44a58, env=0x5f03a5169800) at dl-init.c:26
#19 0x0000762934f0d6ad in _dl_init (main_map=0x5f03a601b300, argc=1, argv=0x7ffe3de44a58, env=0x5f03a5169800) at dl-init.c:121
#20 0x0000762934f0a5c2 in __GI__dl_catch_exception (exception=exception@entry=0x0, operate=operate@entry=0x762934f14560 <call_dl_init>,
args=args@entry=0x7ffe3de42690) at dl-catch.c:215
#21 0x0000762934f144fc in dl_open_worker (a=a@entry=0x7ffe3de42840) at dl-open.c:829
#22 0x0000762934f0a523 in __GI__dl_catch_exception (exception=exception@entry=0x7ffe3de42820, operate=operate@entry=0x762934f14460 <dl_open_worker>,
args=args@entry=0x7ffe3de42840) at dl-catch.c:241
#23 0x0000762934f14904 in _dl_open (file=0x5f03a60242d0 "/usr/lib64/frei0r-1/facedetect.so", mode=<optimized out>,
caller_dlopen=0x7628fd406c6c <mlt_register+924>, nsid=<optimized out>, argc=1, argv=0x7ffe3de44a58, env=0x5f03a5169800) at dl-open.c:905
#24 0x000076293109ef14 in dlopen_doit (a=a@entry=0x7ffe3de42af0) at dlopen.c:56
#25 0x0000762934f0a523 in __GI__dl_catch_exception (exception=exception@entry=0x7ffe3de42a30, operate=0x76293109eeb0 <dlopen_doit>, args=0x7ffe3de42af0)
at dl-catch.c:241
#26 0x0000762934f0a679 in _dl_catch_error (objname=0x7ffe3de42a98, errstring=0x7ffe3de42aa0, mallocedp=0x7ffe3de42a97, operate=<optimized out>,
args=<optimized out>) at dl-catch.c:260
#27 0x000076293109e9f3 in _dlerror_run (operate=operate@entry=0x76293109eeb0 <dlopen_doit>, args=args@entry=0x7ffe3de42af0) at dlerror.c:138
#28 0x000076293109efcf in dlopen_implementation (file=<optimized out>, mode=<optimized out>, dl_caller=<optimized out>) at dlopen.c:71
#29 ___dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:81
#30 0x00007628fd406c6c in mlt_register (repository=<optimized out>) at /usr/src/debug/mlt/mlt/src/modules/frei0r/factory.c:549
#31 0x000076293407f279 in mlt_repository_init (directory=0x5f03a5da2a70 "/usr/lib/mlt-7") at /usr/src/debug/mlt/mlt/src/framework/mlt_repository.c:157
#32 mlt_repository_init (directory=0x5f03a5da2a70 "/usr/lib/mlt-7") at /usr/src/debug/mlt/mlt/src/framework/mlt_repository.c:62
#33 0x0000762934063f52 in mlt_factory_init (directory=0x7629340866da "/usr/lib/mlt-7") at /usr/src/debug/mlt/mlt/src/framework/mlt_factory.c:210
#34 0x000076293403d5f5 in Mlt::Factory::init (directory=directory@entry=0x0) at /usr/src/debug/mlt/mlt/src/mlt++/MltFactory.cpp:31
#35 0x00005f0386bfb0d5 in MltConnection::MltConnection (this=0x5f03a5dad930, mltPath=...) at /usr/src/debug/kdenlive/kdenlive-24.08.1/src/mltconnection.cpp:60
#36 MltConnection::construct (mltPath=...) at /usr/src/debug/kdenlive/kdenlive-24.08.1/src/mltconnection.cpp:90
#37 0x00005f0386bb6285 in MainWindow::init (this=0x5f03a5b02090, mltPath=...) at /usr/src/debug/kdenlive/kdenlive-24.08.1/src/mainwindow.cpp:246
#38 0x00005f0386613d06 in Core::initGUI (this=<optimized out>, MltPath=..., Url=..., clipsToLoad=...) at /usr/src/debug/kdenlive/kdenlive-24.08.1/src/core.cpp:202
#39 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdenlive/kdenlive-24.08.1/src/main.cpp:597

According to the stack trace it is something to do with the mlt library. Perhaps it just needs a rebuild?

Edit: Looks like someone opened an official bug report a couple hours ago. Issue might be in protobuf or opencv https://gitlab.archlinux.org/archlinux/packaging/packages/kdenlive/-/issues/8

Perhaps, wouldn’t hurt to try

Gave it a try. That didn’t work. Must be an issue in one of those dependencies from above.

Yer I was going to update and see what happens on my side but it’s a bit of a headache to do in my current state

If you need the app then hold off. I linked to a bug report and it has been confirmed. Guess it will be fixed in an update, so I’ll mark this issue as resolved.

1 Like

cool as long as you know its a bug and its being worked on

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.