AppImage / AppImage/AppImageKit

AppImage hangs on startup when using fuse

Offen
#1,326 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Keine Sprachdaten
Sterne
9.4k
Forks
588
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

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
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:

1. Running by forcing extraction first via the env variable.
```
$ APPIMAGE_EXTRACT_AND_RUN=1 ./appimage_test
Success!
```

2. Mounting the image and executing `AppRun` manually.
```
$ ./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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.