https://bugs.kde.org/show_bug.cgi?id=463588

            Bug ID: 463588
           Summary: AppImage fails to start with message "Illegal
                    instruction"
    Classification: Applications
           Product: kdenlive
           Version: 22.12.0
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Installation
          Assignee: j...@kdenlive.org
          Reporter: hansd...@yahoo.no
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to