AppImage hangs on startup when using fuse
まだ誰も着手していません。
評価
- 難易度
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AppImage/AppImageKit のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
AppImage/AppImageKit#1428 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AppImage/AppImageKit#1164 · コメント 2 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AppImage/AppImageKit#1455 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 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
anomalyco/hex#3067 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信