AppImage / AppImage/AppImageKit

AppImage hangs on startup when using fuse

Đang mở
#1,326 12 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
9.4k
Fork
588
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.