Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Instant crash on launch, segmentation fault

未关闭
#246 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

首先在 Fedora 上重现启动失败,并比较 issue 中提供的 Flatpak 和 RPM 日志。检查应用的启动路径以及 camera/GStreamer 设置;当 Camera 应用能够启动且不再出现报告中的 segmentation fault 或 GStreamer 和 GTK 错误时,即表示完成。

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

描述

What Happened?

App crashes on launch.

Steps to Reproduce

Launch Camera app.

Expected Behavior

OS: Fedora release
Kernel: 5.19.15-201.fc36.x86_64
GNOME Shell 42.5

OS Version

Other Linux

Software Version

Latest release (I have run all updates)

Log Output
Flatpak run error:
(io.elementary.camera:2): Gdk-WARNING **: 11:55:07.846: eglMakeCurrent failed
-----
Started app-flatpak-io.elementary.camera-11648.scope.
Process 11659 (io.elementary.camera) crashed in ??()

Fedora rpm run error:
(io.elementary.camera:12556): GStreamer-CRITICAL **: 12:01:20.445: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(io.elementary.camera:12556): GStreamer-CRITICAL **: 12:01:20.445: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (dest)' failed
(io.elementary.camera:12556): GLib-GObject-CRITICAL **: 12:01:20.445: g_object_get: assertion 'G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)
-----
Started app-gnome-io.elementary.camera-12429.scope - Application launched by gnome-shell.
Process 6420 (io.elementary.camera) crashed in gtk_container_add()
Hardware Info

No response

主要语言
Vala
星标
68
派生
19
平均合并
1 天 2 小时
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

elementary/camera 的其他 Issue

查看 elementary/camera 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

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