SUMMARY Linux-64bit, ubuntu20, kdenlive-22.04.3-x86_x64.AppImage fails with "Illegal instruction" in the command line when I try to start it. The same for all newer versions, including master version. Program starts fine in kdenlive-22.04.2-x86_x64.AppImage and older. Did you change the build computer, or compiler? Perhaps there is a cflag you can set to enable older cpu's ? Perhaps a new pre-built library that includes illegal instructions? Should I get a new computer? It's from 2011. I've been using kdenlive regularly, and i only wanted to update it because I kept getting rendering-crashed. My /proc/cpuinfo model name : Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz ... flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid dtherm ida flush_l1d ... Backtrace $ gdb ./kdenlive-22.04.3-x86_x64.AppImage GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./kdenlive-22.04.3-x86_x64.AppImage... (No debugging symbols found in ./kdenlive-22.04.3-x86_x64.AppImage) (gdb) run Starting program: /home/hans/Downloads/kdenlive-22.04.3-x86_x64.AppImage [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after fork from child process 16631] process 16627 is executing new program: /usr/bin/env process 16627 is executing new program: /usr/bin/bash [Detaching after fork from child process 16636] process 16627 is executing new program: /tmp/.mount_kdenlilFDgJq/usr/bin/kdenlive [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe9d96700 (LWP 16638)] [New Thread 0x7fffe9361700 (LWP 16640)] QPaintDevice: Cannot destroy paint device that is being painted Loaded icon theme: "breeze" Loaded icon theme: "breeze-dark" === /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER Starting render server Thread 1 "AppRun.wrapped" received signal SIGILL, Illegal instruction. 0x00007fffd6dd9d55 in ?? () from /tmp/.mount_kdenlilFDgJq/usr/lib/frei0r-1/bigsh0t_eq_mask.so (gdb) backtrace #0 0x00007fffd6dd9d55 in ?? () from /tmp/.mount_kdenlilFDgJq/usr/lib/frei0r-1/bigsh0t_eq_mask.so #1 0x00007ffff7fe0b8a in ?? () from /lib64/ld-linux-x86-64.so.2 #2 0x00007ffff7fe0c91 in ?? () from /lib64/ld-linux-x86-64.so.2 #3 0x00007ffff4656785 in __GI__dl_catch_exception (exception=<optimized out>, operate=<optimized out>, args=<optimized out>) at dl-error-skeleton.c:182 #4 0x00007ffff7fe50bf in ?? () from /lib64/ld-linux-x86-64.so.2 #5 0x00007ffff4656728 in __GI__dl_catch_exception (exception=<optimized out>, operate=<optimized out>, args=<optimized out>) at dl-error-skeleton.c:208 #6 0x00007ffff7fe45fa in ?? () from /lib64/ld-linux-x86-64.so.2 #7 0x00007ffff6d5834c in dlopen_doit (a=a@entry=0x7fffffffbaf0) at dlopen.c:66 #8 0x00007ffff4656728 in __GI__dl_catch_exception (exception=exception@entry=0x7fffffffba90, operate=<optimized out>, args=<optimized out>) at dl-error-skeleton.c:208 #9 0x00007ffff46567f3 in __GI__dl_catch_error (objname=0xcb8950, errstring=0xcb8958, mallocedp=0xcb8948, operate=<optimized out>, args=<optimized out>) at dl-error-skeleton.c:227 #10 0x00007ffff6d58b59 in _dlerror_run (operate=operate@entry=0x7ffff6d582f0 <dlopen_doit>, args=args@entry=0x7fffffffbaf0) at dlerror.c:170 #11 0x00007ffff6d583da in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87 #12 0x00007fffe0009e2c in mlt_register () from /tmp/.mount_kdenlilFDgJq/usr/lib/mlt-7/libmltfrei0r.so #13 0x00007ffff6db9f76 in mlt_repository_init () from /tmp/.mount_kdenlilFDgJq/usr/lib/libmlt-7.so.7 #14 0x00007ffff6da514d in mlt_factory_init () from /tmp/.mount_kdenlilFDgJq/usr/lib/libmlt-7.so.7 #15 0x00007ffff6d74e3c in Mlt::Factory::init(char const*) () from /tmp/.mount_kdenlilFDgJq/usr/lib/libmlt++-7.so.7 #16 0x00000000009ee63a in ?? () #17 0x00000000009ee9bb in ?? () #18 0x00000000009dbc51 in ?? () #19 0x00000000009b3bb3 in ?? () #20 0x00000000004775dd in ?? () #21 0x00007ffff451a0b3 in __libc_start_main (main=0x475cf0, argc=1, argv=0x7fffffffdad8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdac8) at ../csu/libc-start.c:308 --Type <RET> for more, q to quit, c to continue without paging--c #22 0x0000000000479058 in ?? () (gdb) STEPS TO REPRODUCE 1. Test on an old cpu (?) 2. Get kdenlive-22.04.3-x86_x64.AppImage (or the latest) 3. chmod +x kdenlive-22.04.3-x86_x64.AppImage 4. ./kdenlive-22.04.3-x86_x64.AppImage --mlt-log debug OBSERVED RESULT $ ./kdenlive-22.04.3-x86_x64.AppImage --mlt-log debug QPaintDevice: Cannot destroy paint device that is being painted Loaded icon theme: "breeze" Loaded icon theme: "breeze-dark" === /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER Starting render server mlt_repository_init: processing plugin at /tmp/.mount_kdenliFmjAps/usr/lib/mlt-7/libmltavformat.so mlt_repository_init: processing plugin at /tmp/.mount_kdenliFmjAps/usr/lib/mlt-7/libmltcore.so mlt_repository_init: processing plugin at /tmp/.mount_kdenliFmjAps/usr/lib/mlt-7/libmltfrei0r.so Illegal instruction (core dumped) EXPECTED RESULT Should start SOFTWARE/OS VERSIONS Kdenlive: 21.12.3 (This is the one I've been using before, not the one that fails to start. hope it helps) MLT: 7.5.0 Qt: 5.15.2 (built against 5.15.2 x86_64-little_endian-lp64) Frameworks: 5.91.0 System: Ubuntu 20.04.1 LTS Kernel: linux 5.4.0-56-generic CPU: x86_64 Windowing System: xcb Movit (GPU): disabled Track Compositing: frei0r.cairoblend ADDITIONAL INFORMATION
Might be related https://github.com/blakeblackshear/frigate/issues/1999
frei0r-plugins causes pidgin not to start. Could be related: https://bugs.archlinux.org/task/16389?project=0&order=id&sort=desc&status%5B0%5D=closed&string=frei0r-plugins
I have exactly the same issue. Running the AppImage 22.04.3 in a virtual box. My computer is from 2011 too. On a newer computer the 22.04.3 AppImage runs in a virtual machine. I guess it’s a hardware incompatibility.
The difference is that my PC run on BIOS and the other PC run on UEFI. How old is your PC and does it run on UEFI?
*** Bug 461770 has been marked as a duplicate of this bug. ***
(In reply to emohr from comment #4) > The difference is that my PC run on BIOS and the other PC run on UEFI. How > old is your PC and does it run on UEFI? It's almost been a year since I reported this issue. I have BIOS only. The problem seems to be caused by changing the way kde builds Kdenlive. It could just probably be fixed with a simple CFLAG unless it will affect the performance of those computers that utilize this (illegal) instruction.
Funnily, I got it started. It got me thinking, that this libfrei0r bigsh0t plugin was loaded in runtime, and if I just removed it it would work. So I did Downloads/kdenlive-22.12.2-x86_64.AppImage --appimage-extract cd squashfs-root find usr -name big* find usr -name big* -delete ./AppRun and it runs! LOL
Interesting. Could you test with the actual 23.08.4 version if it happens as well. Maybe update to Ubuntu 22.04.3 LTS or 23.10.1 first as some parts from the OS is needed to run the AppImage.
(In reply to emohr from comment #8) > Interesting. Could you test with the actual 23.08.4 version if it happens as > well. Maybe update to Ubuntu 22.04.3 LTS or 23.10.1 first as some parts from > the OS is needed to run the AppImage. $ Downloads/kdenlive-23.08.4-x86_64-A.AppImage The X11 connection broke: No error (code 0) XIO: fatal IO error 2 (No such file or directory) on X server ":1" after 354 requests (354 known processed) with 0 events remaining. hans@marvin:~$ I'm on Ubuntu 20. I think I will let this machine stay at that. I also tested this at work, on my workstation with ubuntu22, and a Intel i5-7600. There, this appimage, and the one originally mentioned, starts fine. Ps. nig_sh0t does not exist in this new appimage.
Created attachment 164537 [details] kdenlive-23.08.4-x86_64-A.AppImage starts with X.org display setting
Created attachment 164538 [details] My display drivers and GFX card
(In reply to emohr from comment #8) > Interesting. Could you test with the actual 23.08.4 version if it happens as > well. Maybe update to Ubuntu 22.04.3 LTS or 23.10.1 first as some parts from > the OS is needed to run the AppImage. I managed to get 23.08.4 started after changing to X.org display driver (see attachments). It also did render a video clip just fine. Now, with X.org driver running, I have low display resolution and video tearing effect on videoplayback (vlc, youtube etc). I get an error in "addition settings" on ubuntu when trying to apply the nvidia driver that used to use. I'll figure it out eventually, but it is a bit daunting at the moment thinking of how to get my display back in order. other observation, echo $DISPLAY shows :1. I vaguely remember that this variable was not set, and I also remember that my nvidia configuration had :0 as display id. Hence the error message "XIO: fatal IO error 2 (No such file or directory) on X server ":1"".
I'm sorry, DISPLAY variable shows :1 with nvidia driver settings as well. I managed to switch back to my nvidia driver now.
I have a similar issue on my Desktop PC with an NVidia card. Could you test if the following workaround works for you: ./kdenlive-23.08.4-A-x86_64.AppImage --appimage-extract cd squashfs-root source ./apprun-hooks/craft-runenv-hook.sh ./usr/bin/kdenlive
OK I tried. hans@marvin:~/Downloads$ cd squashfs-root/ hans@marvin:~/Downloads/squashfs-root$ source ./apprun-hooks/craft-runenv-hook.sh hans@marvin:~/Downloads/squashfs-root$ ./usr/bin/kdenlive ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./usr/bin/kdenlive) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libKF5KIOCore.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libKF5Service.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libKF5WindowSystem.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libKF5ConfigWidgets.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Xml.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libKF5ConfigCore.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libKF5CoreAddons.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Quick.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Widgets.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Qml.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Network.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Core.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5Core.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libQt5WaylandClient.so.5) ./usr/bin/kdenlive: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/hans/Downloads/squashfs-root/usr/bin/../lib/libicuuc.so.71) (the program ends here) I also tried using libstdc++ that comes with the appimage hans@marvin:~/Downloads/squashfs-root$ source ./apprun-hooks/linuxdeploy-plugin-checkrt.sh hans@marvin:~/Downloads/squashfs-root$ ./usr/bin/kdenlive The X11 connection broke: No error (code 0) XIO: fatal IO error 39 (Directory not empty) on X server ":1" after 355 requests (355 known processed) with 0 events remaining.
I have installed Ubuntu 24 on my old computer, and now kdenlive latest appimage is working fine. You can close this issue if you like.
Thank you for the feedback. I close this bug for the time beeing. If it still appears in the latest version, please feel free to re-open it and update the affected version number.