AppImage hangs on startup when using fuse
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- linux
调研方向
使用提供的 strace 输出,从 AppRun 入口点开始,在 fuse 下复现自定义 aarch64 appimage_test 的卡死。比较正常执行、设置 APPIMAGE_EXTRACT_AND_RUN=1 的执行以及手动执行 AppRun;当 AppImage 无需 SIGKILL 即可成功启动时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- 没有语言数据
- 星标
- 9.5k
- 派生
- 586
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AppImage/AppImageKit 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
AppImage/AppImageKit#1428 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 68/100
AppImage/AppImageKit#1164 · 2 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
AppImage/AppImageKit#1455 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
AppImage/AppImageKit#1454 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 22/100
AppImage/AppImageKit#1453 ·
查看 AppImage/AppImageKit 的全部 Issue
相似的 Issue
-
taskmanager: a failed v1alpha1 backup leaves the partial backup behind可能已有人在做 @arshil42 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
[Cache] Downloads without symlinks fail on Windows for snapshot paths of 223-259 chars since #5354未关闭
难度 2/5 1-3 小时 新手友好度 78/100
huggingface/huggingface_hub#5481 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
danielmiessler/LifeOS#3023 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复