[runtime.c] Application crashes inside the AppImage, works when extracted

未关闭
#1,071 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
c, linux
领域
build-system

调研方向

在指定的 Neon ISO 上复现 continuous release 中的崩溃,并比较从 AppImage 执行与从解压后的内容执行的结果。首先检查 runtime.c 以及打印出的 mount 和 GStreamer 环境路径;当确定捆绑执行为何会发生 segfault,并记录或修复该差异后,即视为完成。

由索引模型根据 Issue 内容生成。

描述

bug help-wanted

https://github.com/probonopd/nasc/releases/tag/continuous on neon-useredition-20160609-0826-amd64.iso:

me@host:~$ /home/me/Downloads/NaSC-1a6a313-x86_64.AppImage 
GST_PLUGIN_SCANNER=/tmp/.mount_NaSC-10hb3Nw/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner
GST_PLUGIN_SYSTEM_PATH=/tmp/.mount_NaSC-10hb3Nw/lib/x86_64-linux-gnu/gstreamer-1.0
GST_PLUGIN_PATH=/tmp/.mount_NaSC-10hb3Nw/lib/x86_64-linux-gnu/gstreamer-1.0
Run experimental self-contained bundle
[INFO 23:15:48.085472] Application.vala:156: NaSC version: 0.7.4
[INFO 23:15:48.085593] Application.vala:158: Kernel version: 4.4.0-22-generic

(com.github.parnold-x.nasc:8978): Gtk-WARNING **: 23:15:48.090: Locale not supported by C library.
        Using the fallback 'C' locale.
Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected

(...)

(com.github.parnold-x.nasc:8978): Gtk-WARNING **: 23:15:48.297: Theme directory devices/48 of theme breeze has no size field

Segmentation fault (core dumped)

Now the strange part:

The same application, when extracted with --appimage-extract, runs.

Why?

主要语言
没有语言数据
星标
9.5k
派生
586
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AppImage/AppImageKit 的其他 Issue

查看 AppImage/AppImageKit 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

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