illegal instruction in makemkv

The place to discuss linux version of MakeMKV
Message
Author
feedc0de
Posts: 2
Joined: Wed Nov 30, 2022 11:03 am

illegal instruction in makemkv

#1 Post by feedc0de » Wed Nov 30, 2022 11:48 am

I installed makemkv from the archlinux AUR on my raspberrypi3 (https://aur.archlinux.org/packages/makemkv), and I launched makemkv from the start menu.

I was greeted with a NO_ANSWER_FROM_MAKEMKVCON

So I tried the cmdline only tool instead, which works like a charm:

Code: Select all

[feedc0de@raspberrypi3-00 ~]$ makemkvcon --help
makemkvcon: unrecognized option '--help'
Use: makemkvcon [switches] Command [Parameters]

Commands:
  info <source>
      prints info about disc
  mkv <source> <title id> <destination folder>
      saves a single title to mkv file
  backup <source> <destination folder>
      backs up disc to a hard drive
  f <args>
      run universal firmware tool
  reg <key string or file name>
      enter registration key into program

Source specification:
  iso:<FileName>    - open iso image <FileName>
  file:<FolderName> - open files in folder <FolderName>
  disc:<DiscId>     - open disc with id <DiscId> (see list Command)
  dev:<DeviceName>  - open disc with OS device name <DeviceName>

Switches:
  -r --robot        - turn on "robot" mode, see http://www.makemkv.com/developers
Then I tried reading in my ISO I want to convert:

Code: Select all

[feedc0de@raspberrypi3-00 ~]$ makemkvcon info STAR_TREK_THE_MOTION_PICTURE.ISO 
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)
Which resulted in an illegal instruction?? What?

I try again with gdb attached:

Code: Select all

$ gdb --args makemkvcon info STAR_TREK_THE_MOTION_PICTURE.ISO 
GNU gdb (GDB) 12.1
Copyright (C) 2022 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 "aarch64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 makemkvcon...

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org 
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(No debugging symbols found in makemkvcon)
(gdb) r
Starting program: /usr/bin/makemkvcon info STAR_TREK_THE_MOTION_PICTURE.ISO
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xfffff15feba0 (LWP 120378)]

Thread 1 "makemkvcon" received signal SIGILL, Illegal instruction.
0x0000aaaaaaed908c in ?? ()
(gdb) bt
#0  0x0000aaaaaaed908c in  ()
#1  0x0000aaaaaaec4870 in  ()
#2  0x0000aaaaaaec4870 in  ()
#3  0x0000aaaaaac44a24 in  ()
#4  0x0000aaaaaac15440 in  ()
#5  0x0000fffff7d07b80 in  () at /usr/lib/libc.so.6
#6  0x0000fffff7d07c60 in __libc_start_main () at /usr/lib/libc.so.6
#7  0x0000aaaaaac15ef0 in  ()
(gdb) 
Is makemkv broken at the moment? Is there anything else I could try?

wmcclain
Posts: 86
Joined: Tue Jun 07, 2016 8:23 pm
Contact:

Re: illegal instruction in makemkv

#2 Post by wmcclain » Wed Nov 30, 2022 4:56 pm

What does ldd on /usr/bin/makemkv show?

For example:

ldd /usr/bin/makemkv
linux-vdso.so.1 (0x00007fff869fa000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f5972200000)
libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f5971a00000)
libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f5971200000)
libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0x00007f5972553000)
libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f5970c00000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f597433b000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f5970a19000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f5972533000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f597244b000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f5974357000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f597217a000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f5972141000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f5971914000)
libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x00007f597212b000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f59720da000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f5971124000)
libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007f59720c4000)
libicui18n.so.72 => /usr/lib/libicui18n.so.72 (0x00007f5970600000)
libicuuc.so.72 => /usr/lib/libicuuc.so.72 (0x00007f5970200000)
libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007f5971886000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f5970970000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f59704c1000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f5970409000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f597093e000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f5970131000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f597010f000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f5972439000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f596ffc7000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f596ff9d000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f596ff7b000)
libicudata.so.72 => /usr/lib/libicudata.so.72 (0x00007f596e000000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f596fee0000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f596debd000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f5971873000)
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f596fed2000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f596feac000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f596fe81000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f596fe5e000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f59720bd000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f597186b000)
Capsule film reviews: Strange Picture Scroll

Ezatoka
Posts: 409
Joined: Fri Dec 06, 2019 6:55 pm

Re: illegal instruction in makemkv

#3 Post by Ezatoka » Wed Nov 30, 2022 5:25 pm

Didn't you forget something?
Source specification:
iso:<FileName> - open iso image <FileName>
so shouldn't it be makemkvcon info iso:STAR_TREK_THE_MOTION_PICTURE.ISO?

feedc0de
Posts: 2
Joined: Wed Nov 30, 2022 11:03 am

Re: illegal instruction in makemkv

#4 Post by feedc0de » Thu Dec 01, 2022 12:25 pm

Thanks for your replies!

ldd output as follows:

Code: Select all

[feedc0de@raspberrypi3-00 ~]$ ldd /usr/bin/makemkv
	linux-vdso.so.1 (0x0000ffff8b205000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000ffff891f0000)
	libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x0000ffff88a80000)
	libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x0000ffff88380000)
	libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0x0000ffff882c0000)
	libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x0000ffff87cf0000)
	libz.so.1 => /usr/lib/libz.so.1 (0x0000ffff87cc0000)
	libc.so.6 => /usr/lib/libc.so.6 (0x0000ffff87b00000)
	/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000ffff8b1cc000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000ffff87ad0000)
	libm.so.6 => /usr/lib/libm.so.6 (0x0000ffff87a20000)
	libGL.so.1 => /usr/lib/libGL.so.1 (0x0000ffff87920000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000ffff878d0000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x0000ffff877b0000)
	libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x0000ffff87780000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x0000ffff87700000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x0000ffff875d0000)
	libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x0000ffff875a0000)
	libicui18n.so.72 => /usr/lib/libicui18n.so.72 (0x0000ffff87210000)
	libicuuc.so.72 => /usr/lib/libicuuc.so.72 (0x0000ffff86fe0000)
	libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x0000ffff86f50000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000ffff86eb0000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000ffff86d30000)
	libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x0000ffff86ba0000)
	libGLX.so.0 => /usr/lib/libGLX.so.0 (0x0000ffff86b50000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0000ffff86a60000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x0000ffff86a20000)
	libcap.so.2 => /usr/lib/libcap.so.2 (0x0000ffff86a00000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x0000ffff868f0000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000ffff868b0000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x0000ffff86870000)
	libicudata.so.72 => /usr/lib/libicudata.so.72 (0x0000ffff84a80000)
	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x0000ffff849e0000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x0000ffff84880000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x0000ffff84850000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x0000ffff84830000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x0000ffff847f0000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0000ffff847b0000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x0000ffff84770000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x0000ffff84750000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0000ffff84730000)
	
[feedc0de@raspberrypi3-00 ~]$ ldd /usr/bin/makemkvcon 
	linux-vdso.so.1 (0x0000ffff8e381000)
	libmakemkv.so.1 => /usr/lib/libmakemkv.so.1 (0x0000ffff8daa0000)
	libdriveio.so.0 => /usr/lib/libdriveio.so.0 (0x0000ffff8da80000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000ffff8da60000)
	libc.so.6 => /usr/lib/libc.so.6 (0x0000ffff8d8a0000)
	/lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000ffff8e348000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x0000ffff8d880000)
	librt.so.1 => /usr/lib/librt.so.1 (0x0000ffff8d860000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000ffff8d600000)
	libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x0000ffff8d180000)
	libz.so.1 => /usr/lib/libz.so.1 (0x0000ffff8d150000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0000ffff8d110000)
	libavcodec.so.59 => /usr/lib/libavcodec.so.59 (0x0000ffff8bf90000)
	libavutil.so.57 => /usr/lib/libavutil.so.57 (0x0000ffff8bda0000)
	libm.so.6 => /usr/lib/libm.so.6 (0x0000ffff8bcf0000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000ffff8bcc0000)
	libswresample.so.4 => /usr/lib/libswresample.so.4 (0x0000ffff8bc90000)
	libvpx.so.7 => /usr/lib/libvpx.so.7 (0x0000ffff8ba60000)
	libwebpmux.so.3 => /usr/lib/libwebpmux.so.3 (0x0000ffff8ba40000)
	libwebp.so.7 => /usr/lib/libwebp.so.7 (0x0000ffff8b9d0000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000ffff8b990000)
	libdav1d.so.6 => /usr/lib/libdav1d.so.6 (0x0000ffff8b880000)
	libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x0000ffff8b850000)
	librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0x0000ffff8b070000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x0000ffff8aff0000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000ffff8ae70000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x0000ffff8ad30000)
	libgsm.so.1 => /usr/lib/libgsm.so.1 (0x0000ffff8ad10000)
	libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x0000ffff8ac80000)
	libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x0000ffff8ac40000)
	libopenjp2.so.7 => /usr/lib/libopenjp2.so.7 (0x0000ffff8abc0000)
	libopus.so.0 => /usr/lib/libopus.so.0 (0x0000ffff8ab50000)
	libspeex.so.1 => /usr/lib/libspeex.so.1 (0x0000ffff8ab20000)
	libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x0000ffff8aad0000)
	libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x0000ffff8aaa0000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x0000ffff8aa60000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x0000ffff8a9a0000)
	libx264.so.164 => /usr/lib/libx264.so.164 (0x0000ffff8a740000)
	libx265.so.199 => /usr/lib/libx265.so.199 (0x0000ffff8a520000)
	libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x0000ffff8a420000)
	libva.so.2 => /usr/lib/libva.so.2 (0x0000ffff8a3d0000)
	libva-drm.so.2 => /usr/lib/libva-drm.so.2 (0x0000ffff8a3b0000)
	libva-x11.so.2 => /usr/lib/libva-x11.so.2 (0x0000ffff8a390000)
	libvdpau.so.1 => /usr/lib/libvdpau.so.1 (0x0000ffff8a370000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x0000ffff8a210000)
	libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000ffff8a1e0000)
	libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0x0000ffff8a190000)
	libsoxr.so.0 => /usr/lib/libsoxr.so.0 (0x0000ffff8a110000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x0000ffff8a0f0000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x0000ffff8a090000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x0000ffff89e30000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0000ffff89ca0000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x0000ffff89c80000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0000ffff89bf0000)
	libffi.so.8 => /usr/lib/libffi.so.8 (0x0000ffff89bd0000)
	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x0000ffff89b30000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000ffff89ae0000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0000ffff89a70000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0000ffff89980000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x0000ffff89950000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0000ffff89930000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0000ffff898f0000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x0000ffff898d0000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x0000ffff898b0000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x0000ffff89830000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x0000ffff89810000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x0000ffff897f0000)
	libgomp.so.1 => /usr/lib/libgomp.so.1 (0x0000ffff89790000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x0000ffff89770000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x0000ffff89700000)
	libtiff.so.5 => /usr/lib/libtiff.so.5 (0x0000ffff89660000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x0000ffff895d0000)
	libicuuc.so.72 => /usr/lib/libicuuc.so.72 (0x0000ffff893a0000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0000ffff89370000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x0000ffff89250000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x0000ffff89220000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x0000ffff89200000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x0000ffff891d0000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x0000ffff891b0000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x0000ffff89190000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0000ffff89170000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000ffff890d0000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x0000ffff89050000)
	libicudata.so.72 => /usr/lib/libicudata.so.72 (0x0000ffff87260000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x0000ffff87220000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x0000ffff87200000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x0000ffff871c0000)
Might be that I forgot the iso: prefix, thanks for pointing out, I get the same signal with iso: prefix:

Code: Select all

[feedc0de@raspberrypi3-00 ~]$ gdb --args makemkvcon info iso:/mnt/komposthaufen/multimedia/Videos/Filme_deutsch/Star.Trek.The.Motion.Picture.The.Directors.Edition.1979.COMPLETE.UHD.BLURAY-SURCODE/STAR_TREK_THE_MOTION_PICTURE.ISO 
GNU gdb (GDB) 12.1
Copyright (C) 2022 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 "aarch64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 makemkvcon...

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org 
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(No debugging symbols found in makemkvcon)
(gdb) r
Starting program: /usr/bin/makemkvcon info iso:/mnt/komposthaufen/multimedia/Videos/Filme_deutsch/Star.Trek.The.Motion.Picture.The.Directors.Edition.1979.COMPLETE.UHD.BLURAY-SURCODE/STAR_TREK_THE_MOTION_PICTURE.ISO
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xfffff15feba0 (LWP 182321)]

Thread 1 "makemkvcon" received signal SIGILL, Illegal instruction.
0x0000aaaaaaed908c in ?? ()
(gdb) bt
#0  0x0000aaaaaaed908c in  ()
#1  0x0000aaaaaaec4870 in  ()
#2  0x0000aaaaaaec4870 in  ()
#3  0x0000aaaaaac44a24 in  ()
#4  0x0000aaaaaac15440 in  ()
#5  0x0000fffff7d07b80 in  () at /usr/lib/libc.so.6
#6  0x0000fffff7d07c60 in __libc_start_main () at /usr/lib/libc.so.6
#7  0x0000aaaaaac15ef0 in  ()
(gdb) 
Also my main goal here is to get the GUI working, I was just guessing that NO_ANSWER_FROM_MAKEMKVCON happens because of the sigill to the cmdline tool. Maybe another error like UNEXPECTED_EXIT_FROM_MAKEMKVCON would be more detailed on what the problem is in that case.

is makemkvcon open-source or compilable? I have not looked in the archlinux aur PKGBUILD yet, but if I compile it with debug info enabled we might get more insights, right?
Last edited by feedc0de on Fri Dec 02, 2022 9:03 am, edited 1 time in total.

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: illegal instruction in makemkv

#5 Post by mike admin » Thu Dec 01, 2022 1:40 pm

Please do collect the core dump and send to support@makemkv.com . Thanks!

darkblade
Posts: 1
Joined: Sun Jan 15, 2023 3:49 pm

Re: illegal instruction in makemkv

#6 Post by darkblade » Sun Jan 15, 2023 4:13 pm

I think I have the same issue. I am on a raspberry 4 and I dont have a GUI but on cli I get the same error. I couldnt firgure out how to collect the dump but I can add that I've also got a copy of version 1.16.7 and it looks like it doesnt suffer the same issue.

I hope this little bit of information helps on firguring the issue!

Version 1.17.2

Code: Select all

makemkvcon -r info disc:999

Code: Select all

Illegal instruction (core dumped)
Version 1.16.7:

Code: Select all

makemkvcon -r info disc:999

Code: Select all

MSG:1005,0,1,"MakeMKV v1.16.7 linux(arm64-release) started","%1 started","MakeMKV v1.16.7 linux(arm64-release)"
MSG:5075,131072,2,"The new version 1.17.2 is available for download at http://www.makemkv.com/download/","The new version %1 is available for download at %2","1.17.2","http://www.makemkv.com/download/"                                       DRV:0,1,999,0,"BD-RE PIONEER BD-RW   BDR-UD04 1.14 ALDL094451WL","","/dev/sr0"                  DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""                        DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""                        DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""                        DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""                       DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""                       DRV:15,256,999,0,"","",""
MSG:5021,131332,1,"This application version is too old.  Please download the latest version at http://www.makemkv.com/ or enter a registration key to continue using the current version.","This application version is too old.  Please download the latest version at %1 or enter a registration key to continue using the current version.","http://www.makemkv.com/"

Prototype8588
Posts: 2
Joined: Sun Jan 22, 2023 12:09 pm

Re: illegal instruction in makemkv

#7 Post by Prototype8588 » Sun Jan 22, 2023 12:29 pm

I have the same issue on a Raspberry Pi 4 as well.

Version 1.17.2:

Code: Select all

#> makemkvcon list
Illegal instruction (core dumped)
Version 1.17.1:

Code: Select all

#> makemkvcon list
MakeMKV v1.17.1 linux(arm64-release) started
Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server.
The program can't find any usable optical drives.
This application version is too old.  Please download the latest version at http://www.makemkv.com/ or enter a registration key to continue using the current version.
Therefore this appears to me as being a regression in the latest version.

alexindigo
Posts: 2
Joined: Sat Feb 04, 2023 6:39 am

Re: illegal instruction in makemkv

#8 Post by alexindigo » Sat Feb 04, 2023 6:41 am

Seeing the same issue with 1.17.3.

```
$ makemkvcon list
MakeMKV v1.17.3 linux(arm64-release) started
Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server.
Illegal instruction
```

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: illegal instruction in makemkv

#9 Post by mike admin » Sat Feb 04, 2023 8:02 am

alexindigo wrote:
Sat Feb 04, 2023 6:41 am
Seeing the same issue with 1.17.3.
It was explicitly fixed :((((
Please send the dump again then. Is there any simple way to emulate RPI3 environment with qemu or something similar?

Prototype8588
Posts: 2
Joined: Sun Jan 22, 2023 12:09 pm

Re: illegal instruction in makemkv

#10 Post by Prototype8588 » Sun Feb 05, 2023 7:16 pm

alexindigo wrote:
Sat Feb 04, 2023 6:41 am

Code: Select all

$ makemkvcon list 
MakeMKV v1.17.3 linux(arm64-release) started
Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server.
Illegal instruction
I think it is more of a similar issue. Note that now the 'Illegal Instruction' is not printed immediately but after the version header. This leads me to the assumption that fixing the issue in v1.17.2 was successful and revealed a different issue with the same error message.

alexindigo
Posts: 2
Joined: Sat Feb 04, 2023 6:39 am

Re: illegal instruction in makemkv

#11 Post by alexindigo » Mon Feb 06, 2023 1:22 am

How do I get dump and send it to you?
Thanks.

PS. For RPI, not sure how to emulate it.
Also, I kind of managed to run it on Synology, via docker.

Funky
Posts: 1
Joined: Mon Apr 03, 2023 6:27 pm

Re: illegal instruction in makemkv

#12 Post by Funky » Mon Apr 03, 2023 6:36 pm

Exactly the same thing happening here. RPi4 (4GB), 1.17.3 and same error message. 1.17.2 also did not work - as noted above, may well have been a different error.

This is all after the fix in this post incidentally: viewtopic.php?f=3&t=30396

Happy to send a coredump file if it helps - how do I do that for linux (found instructions on the site but for Windows and OSX)

sfatula
Posts: 10
Joined: Tue Oct 27, 2015 6:51 pm

Re: illegal instruction in makemkv

#13 Post by sfatula » Tue Apr 04, 2023 6:25 pm

Same problem here on a Rpi4 using flathub. Not sure what computer admin is using, but, here's how on linux to emulate:

https://gist.github.com/plembo/c4920016 ... 5cb9a3a25e

deinvater
Posts: 1
Joined: Tue Jun 13, 2023 5:12 pm

Re: illegal instruction in makemkv

#14 Post by deinvater » Tue Jun 13, 2023 5:19 pm

Having the same issue on my Pi4 running Debian.

My ldd shows:

Code: Select all

        linux-vdso.so.1 (0x0000007fafc09000)
        libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007fadcb9000)
        libQt5Widgets.so.5 => /lib/aarch64-linux-gnu/libQt5Widgets.so.5 (0x0000007fad5f7000)
        libQt5Gui.so.5 => /lib/aarch64-linux-gnu/libQt5Gui.so.5 (0x0000007facf68000)
        libQt5DBus.so.5 => /lib/aarch64-linux-gnu/libQt5DBus.so.5 (0x0000007facecd000)
        libQt5Core.so.5 => /lib/aarch64-linux-gnu/libQt5Core.so.5 (0x0000007fac965000)
        libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007fac934000)
        libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007fac90a000)
        librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007fac8f2000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fac77d000)
        libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007fac759000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fac6ae000)
        /lib/ld-linux-aarch64.so.1 (0x0000007fafbd9000)
        libGL.so.1 => /lib/aarch64-linux-gnu/libGL.so.1 (0x0000007fac5b7000)
        libpng16.so.16 => /lib/aarch64-linux-gnu/libpng16.so.16 (0x0000007fac570000)
        libharfbuzz.so.0 => /lib/aarch64-linux-gnu/libharfbuzz.so.0 (0x0000007fac480000)
        libmd4c.so.0 => /lib/aarch64-linux-gnu/libmd4c.so.0 (0x0000007fac461000)
        libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007fac3fb000)
        libdouble-conversion.so.3 => /lib/aarch64-linux-gnu/libdouble-conversion.so.3 (0x0000007fac3d7000)
        libicui18n.so.67 => /lib/aarch64-linux-gnu/libicui18n.so.67 (0x0000007fac0cd000)
        libicuuc.so.67 => /lib/aarch64-linux-gnu/libicuuc.so.67 (0x0000007fabed5000)
        libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fabec1000)
        libpcre2-16.so.0 => /lib/aarch64-linux-gnu/libpcre2-16.so.0 (0x0000007fabe39000)
        libzstd.so.1 => /lib/aarch64-linux-gnu/libzstd.so.1 (0x0000007fabd6d000)
        libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000007fabc2a000)
        libGLdispatch.so.0 => /lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000007faba9f000)
        libGLX.so.0 => /lib/aarch64-linux-gnu/libGLX.so.0 (0x0000007faba5c000)
        libfreetype.so.6 => /lib/aarch64-linux-gnu/libfreetype.so.6 (0x0000007fab997000)
        libgraphite2.so.3 => /lib/aarch64-linux-gnu/libgraphite2.so.3 (0x0000007fab965000)
        libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000007fab89f000)
        libicudata.so.67 => /lib/aarch64-linux-gnu/libicudata.so.67 (0x0000007fa9d78000)
        libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007fa9d06000)
        libX11.so.6 => /lib/aarch64-linux-gnu/libX11.so.6 (0x0000007fa9bb9000)
        libbrotlidec.so.1 => /lib/aarch64-linux-gnu/libbrotlidec.so.1 (0x0000007fa9b9e000)
        liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007fa9b66000)
        liblz4.so.1 => /lib/aarch64-linux-gnu/liblz4.so.1 (0x0000007fa9b37000)
        libgcrypt.so.20 => /lib/aarch64-linux-gnu/libgcrypt.so.20 (0x0000007fa9a67000)
        libxcb.so.1 => /lib/aarch64-linux-gnu/libxcb.so.1 (0x0000007fa9a2f000)
        libbrotlicommon.so.1 => /lib/aarch64-linux-gnu/libbrotlicommon.so.1 (0x0000007fa99fe000)
        libgpg-error.so.0 => /lib/aarch64-linux-gnu/libgpg-error.so.0 (0x0000007fa99c9000)
        libXau.so.6 => /lib/aarch64-linux-gnu/libXau.so.6 (0x0000007fa99b5000)
        libXdmcp.so.6 => /lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000007fa999f000)
        libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x0000007fa997a000)
        libmd.so.0 => /lib/aarch64-linux-gnu/libmd.so.0 (0x0000007fa995e000)

itsjado
Posts: 1
Joined: Fri Jul 21, 2023 12:32 am

Re: illegal instruction in makemkv

#15 Post by itsjado » Fri Jul 21, 2023 12:34 am

Same deal here with a Pi4 running Arch.

Code: Select all

 
 	linux-vdso.so.1 (0x0000007fb0169000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000007fae170000)
        libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x0000007fada00000)
        libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x0000007fad2f0000)
        libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0x0000007fad230000)
        libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x0000007facc60000)
        libz.so.1 => /usr/lib/libz.so.1 (0x0000007facc30000)
        libc.so.6 => /usr/lib/libc.so.6 (0x0000007faca70000)
        /lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000007fb0130000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000007faca40000)
        libm.so.6 => /usr/lib/libm.so.6 (0x0000007fac990000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x0000007fac890000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x0000007fac840000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x0000007fac700000)
        libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x0000007fac6d0000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x0000007fac650000)
        libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x0000007fac520000)
        libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x0000007fac4f0000)
        libicui18n.so.73 => /usr/lib/libicui18n.so.73 (0x0000007fac160000)
        libicuuc.so.73 => /usr/lib/libicuuc.so.73 (0x0000007fabf20000)
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x0000007fabe80000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000007fabdb0000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000007fabc30000)
        libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x0000007fabaa0000)
        libGLX.so.0 => /usr/lib/libGLX.so.0 (0x0000007faba50000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0000007fab970000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x0000007fab930000)
        libcap.so.2 => /usr/lib/libcap.so.2 (0x0000007fab910000)
        libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x0000007fab800000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000007fab7c0000)
        liblz4.so.1 => /usr/lib/liblz4.so.1 (0x0000007fab780000)
        libicudata.so.73 => /usr/lib/libicudata.so.73 (0x0000007fa98e0000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x0000007fa9840000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x0000007fa96e0000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x0000007fa96b0000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x0000007fa9690000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x0000007fa9650000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0000007fa9610000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x0000007fa95d0000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x0000007fa95b0000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0000007fa9590000) 

Post Reply