When installing Keybase using Homebrew on macOS, I encountered a segmentation fault (SIGSEGV) during the installation process, specifically while installing command-line tools. This appears to be caused by a nil pointer dereference in the Go code.
Steps to Reproduce:
Run brew install keybase on macOS.
Observe the panic during the installation process.
Expected behavior:
The installation should complete without errors.
Actual behavior:
The installation fails with a segmentation fault.
Environment:
macOS Version:Darwin Darwin Kernel Version 24.0.0 arm64
Description:
When installing Keybase using Homebrew on macOS, I encountered a segmentation fault (SIGSEGV) during the installation process, specifically while installing command-line tools. This appears to be caused by a nil pointer dereference in the Go code.
Steps to Reproduce:
brew install keybase
on macOS.Expected behavior:
The installation should complete without errors.
Actual behavior:
The installation fails with a segmentation fault.
Environment:
macOS Version:
Darwin Darwin Kernel Version 24.0.0 arm64
Homebrew Version: Homebrew 4.4.2
Keybase Version: 6.5.0
Error Logs:
Additional Context:
The installation process seems to fail while checking
/usr/local/bin/keybase
. It appears related to the Go code at this point: