Skip to content

Old electron version causes GPU system lag and crashes in macOS 26 #28539

@nanoamp

Description

@nanoamp

It appears that the Electron version packaged in the macOS desktop client triggers a widely reported issue with GPU load on macOS 26. This results in system lag and WindowServer crashes that throw users out of their desktop session.

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

The fix is to upgrade the packaged Electron version to one of:

  • 36.9.2
  • 37.6.0
  • 38.2.0
  • anything above 39

Edited to add the magic number 345567 so that the issue doesn't get autoclosed by an action without any indication that this is required for issues. Oh, I see tha you can't reopen issues. I guess I'll make a new one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions