Install gdb if it is not present already. Instead of running appimage directly, it is necessary to run the Python binary, then run appimage-builder
with all arguments.
$ gdb /root/.local/pipx/venvs/appimage-builder/bin/python
(gdb) run /root/.local/bin/appimage-builder --appdir ./PrusaSlicer/build/AppDir --recipe AppImageBuilder-aarch64-full-version_2.9.0-beta1.yml
Once we reach the segmentation fault, we can use bt
to get a backtrace. Running strace
only revealed the call to libc
, but the backtrace shows that the Python lief dependency may be failing due to an issue either in the system locale or via a change in lief itself.