Skip to content

Failed to run (null): Bad address [with APPIMAGE_EXTRACT_AND_RUN=1] #96

@probonopd

Description

@probonopd

This happens on GitHub Actions and can be reproduced in GitHub Codespaces:

$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
(...)

# https://github.com/AppImage/appimagetool/releases/tag/continuous
wget https://github.com/probonopd/PrusaSlicer/releases/download/mk1/PrusaSlicer-2.9.0-alpha1-x86_64.AppImage
chmod +x PrusaSlicer-2.9.0-alpha1-x86_64.AppImage 
./PrusaSlicer-2.9.0-alpha1-x86_64.AppImage --appimage-extract
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
chmod  +x appimagetool-x86_64.AppImage 
rm PrusaSlicer-2.9.0-alpha1-x86_64.AppImage 

export APPIMAGE_EXTRACT_AND_RUN=1
./appimagetool-x86_64.AppImage squashfs-root/
Failed to run (null): Bad address

sudo ./appimagetool-x86_64.AppImage squashfs-root/
# WORKS

sudo -E ./appimagetool-x86_64.AppImage squashfs-root/
# FAILS

unset APPIMAGE_EXTRACT_AND_RUN
sudo -E ./appimagetool-x86_64.AppImage squashfs-root/
# WORKS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions