-
-
Notifications
You must be signed in to change notification settings - Fork 578
Open
Labels
Description
I have a custom built aarch64 AppImage that won't launch using fuse. The problem seems to persist even with a minimal program:
Here's the contents of the program appimage_test:
#include <iostream>
int main()
{
std::cout << "Success!\n";
return 0;
}
If I simply run
$ ./appimage_test
then the program will hang and requires a SIGKILL.
Upon killing it with pkill -9 appimage_test, I get the following:
/tmp/.mount_appimaglNoJB/AppRun: 10: exec: ./kits/appimages/tests/appimage_test: Transport endpoint is not connected
Not sure if that failure is real or not given it was killed with SIGKILL.
However, when running it under strace, it seems to hang on executing the binary:
$ strace ./appimage_test
...
execve("./kits/appimages/tests/appimage_test", ["./kits/appimages/tests/appimage_"...], 0x5573a97bb8 /* 30 vars */
(Happy to provide more output from the strace if its helpful)
As manual work arounds, both of the following work as expected:
- Running by forcing extraction first via the env variable.
$ APPIMAGE_EXTRACT_AND_RUN=1 ./appimage_test
Success!
- Mounting the image and executing
AppRunmanually.
$ ./appimage_test --appimage-mount
/tmp/.mount_appimadpHoPp
$ cd /tmp/.mount_appimadpHoPp/
$ ./AppRun
Success!
Version of installed libfuse2:
nmeyer@jnano:~$ sudo apt list --installed | grep -i libfuse2
libfuse2/bionic,now 2.9.7-1ubuntu1 arm64 [installed]
Any suggestions for debugging this?