Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Bug]: OpenScreen crashes when starting a recording on Ubuntu 24.04

未關閉
#1,340 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
42/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
electron, linux, typescript
領域
desktop

研究方向

Start by tracing how the Linux capture helper opens the video codec and how the bundled FFmpeg library is configured; the report points to avcodec_open2 in libavcodec.so.62. Reproduce on Ubuntu 24.04 with AMD graphics and VA-API H.264 encoding available, then compare the crash behavior with other codec paths. Done means recording starts without the helper crashing and the cause is identified.

由索引模型根據 Issue 內容生成。

描述

bug
Search existing issues
  • I have searched the existing issues
Describe the bug

I installed OpenScreen 2.1.1 on Ubuntu 24.04. When I select the screen and start recording, the application crashes with this error:
The Linux capture helper exited (code=null, signal=SIGSEGV)
The crash report shows a segmentation fault inside OpenScreen's bundled FFmpeg library (libavcodec.so.62) while opening a video codec (avcodec_open2).
My system has AMD Radeon graphics. VA-API is available and reports H.264 encoding support.
Could you help identify the cause and advise how to fix this?
Thank you.

Expected behavior

...

To Reproduce

No response

Screenshots
Image
OS

Linux

OS Version

Ubuntu 22.04

Other OS

No response

Browser

Chrome

Browser Version

155.0.8059.84 (Official Build) (x86_64)

Other Browser

No response

Device Type

Laptop

Other Device

No response

Additional context

No response

主要語言
TypeScript
星號
3.7k
分支
231
平均合併
16 小時 38 分鐘
30 天內合併 PR
327

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getopenscreen/openscreen 的其他 Issue

查看 getopenscreen/openscreen 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。