Old Electron version in macOS client causes GPU system lag and crashes in Tahoe (macOS 26)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
electron
领域
desktop

调研方向

从 shared/package.json 开始,将其中的 Electron 版本与 issue 中报告的已打包 macOS 客户端版本进行比较。检查 macOS 下载包的构建方式,并根据列出的安全版本和受影响的 _cornerMask 调用验证生成的 Electron 二进制文件。已打包客户端使用未受影响的 Electron 版本即表示完成。

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

描述

Describe the bug
It appears that the Electron version packaged in the macOS desktop client triggers a widely reported issue with https://github.com/electron/electron/issues/48311. This results in system lag and WindowServer crashes that throw users out of their desktop session.

To Reproduce
shared/package.json suggests keybase should be using 38.2.2. Using ripgrep, the version in the current packaged macOS download from keybase.io (v6.5.4-20250917154415+52400b6f28) reports as 28.3.1, and includes the affected call:

f=/Applications/Keybase.app/Contents/Frameworks/Electron\ Framework.framework/Versions/A/Electron\ Framework
app=${f#/Applications/}; app=${app%%/Contents/*}

# Get Electron version
ev=$(rg -a -m1 -o -r '$1' 'Chrome/.*Electron/([0-9]+(\.[0-9]+){1,3})' -- "$f")
[ -z "$ev" ] && ev=$(rg -a -m1 -o -r '$1' 'Electron/([0-9]+(\.[0-9]+){1,3})' -- "$f")

# Ripgrep the binary for affected _cornerMask call (https://github.com/electron/electron/pull/48376)
if rg -a -q -F "_cornerMask" -- "$f"; then
  echo -e "\033[31m❌ $app \033[2m(Electron ${ev:-})\033[0m"
else
  echo -e "\033[32m✅ $app \033[2m(Electron ${ev:-})\033[0m"
fi

Expected behavior
The packaged Electron version should be one of:

  • 36.9.2
  • 37.6.0
  • 38.2.0
  • anything above 39

Additional numbers
The number 345567

主要语言
Go
星标
9.3k
派生
1.3k
平均合并
1 天 2 小时
30 天内合并 PR
99

环境准备

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

从这里开始

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

keybase/client 的其他 Issue

查看 keybase/client 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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