AppImage / AppImage/AppImageKit

AppImage hangs on startup when using fuse

未关闭
#1,326 12 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
PR 指标待抓取

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。