fzf: Cylance causes "fatal error: runtime: bsdthread_register error"

  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Windows Subsystem for Linux
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Hi there,

I am running fzf: stable 0.16.5 installed using Homebrew. Go version is 1.8

$ brew info fzf
fzf: stable 0.16.5 (bottled), HEAD
Command-line fuzzy finder written in Go
https://github.com/junegunn/fzf
/usr/local/Cellar/fzf/0.16.5 (17 files, 3.1M) *
  Poured from bottle on 2017-02-19 at 22:26:46
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/fzf.rb
==> Dependencies
Build: go ✔
==> Requirements
Build: git ✔
==> Caveats
To install useful keybindings and fuzzy completion:
  /usr/local/opt/fzf/install

To use fzf in Vim, add the following line to your .vimrc:
  set rtp+=/usr/local/opt/fzf
$ go version
go version go1.8 darwin/amd64

and got the following error when hitting a search (ctrl-R)

$ `__fzf_history__`fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x115d039, 0x21)
	/usr/local/Cellar/go/1.8/libexec/src/runtime/panic.go:596 +0x95 fp=0x7fff5fbfe560 sp=0x7fff5fbfe540
runtime.goenvs()
	/usr/local/Cellar/go/1.8/libexec/src/runtime/os_darwin.go:108 +0xa0 fp=0x7fff5fbfe590 sp=0x7fff5fbfe560
runtime.schedinit()
	/usr/local/Cellar/go/1.8/libexec/src/runtime/proc.go:486 +0xa1 fp=0x7fff5fbfe5d0 sp=0x7fff5fbfe590
runtime.rt0_go(0x7fff5fbfe600, 0x1, 0x7fff5fbfe600, 0x0, 0x1, 0x7fff5fbfe9a8, 0x0, 0x7fff5fbfe9ac, 0x7fff5fbfea0c, 0x7fff5fbfea44, ...)
	/usr/local/Cellar/go/1.8/libexec/src/runtime/asm_amd64.s:158 +0x183 fp=0x7fff5fbfe5d8 sp=0x7fff5fbfe5d0

Interestingly running FZF search from Vim works perfectly fine.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (8 by maintainers)

Most upvoted comments

I see, thanks for the update. Looks like there’s not much I can do at the moment. I don’t want to rebuild the binaries using Go 1.7 since I noticed that fzf binary built with Go 1.8 is roughly 5~7% faster than the one built with 1.7.

I’m having the same issues since I did a PlugUpdate. I’ve looked into the posted links and it’s not clear what the solution would be.

Previous versions of fzf (perhaps it’s go version-related) didn’t have this issue. I’ve had this company laptop with AV software for almost a year and I just ran into this issue today.