Mc Illegal instruction

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname --all
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. …mc fails
  2. …root@DietPi:~# mc
    Illegal instruction
    root@DietPi:~#

Expected behaviour

Actual behaviour

  • …mc fails with illegal instruction

Extra details

  • …G_DIETPI_VERSION_CORE=10
    G_DIETPI_VERSION_SUB=4
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

    trixie 0

    Linux DietPi 6.18.29+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.29-1+rpt1 (2026-05-12) aarch64 GNU/Lin

    arm64

    RPi 5 Model B (aarch64)

    5.1V 5A

    MVMe

I reinstalled

apt reinstall libglib2.0-0t64:arm64

and that fixed the problem

Just for context: we are talking about midnight commander?

Yes it was Midnight Commander

root@DietPi:~# gdb /usr/bin/mc
GNU gdb (Debian 16.3-1) 16.3
Copyright (C) 2024 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-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 /usr/bin/mc...
(No debugging symbols found in /usr/bin/mc)
(gdb) run
Starting program: /usr/bin/mc 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x00007ffff7948488 in g_get_prgname () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff7948488 in g_get_prgname () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff7910e38 in g_option_context_parse () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x000055555556fad4 in ?? ()
#3  0x000055555556e708 in ?? ()
#4  0x00007ffff76f225c in ?? () from /lib/aarch64-linux-gnu/libc.so.6
#5  0x00007ffff76f233c in __libc_start_main () from /lib/aarch64-linux-gnu/libc.so.6
#6  0x000055555556eef0 in ?? ()
(gdb)