You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fzf/src
Junegunn Choi 019bfc4e35
Fix yet another deadlock
EventBox.Set should not be called while holding the terminal mutex

  goroutine 1 [semacquire]:
  sync.runtime_SemacquireMutex(0xc0001923bc, 0x1000001066200, 0x1)
          /usr/local/Cellar/go/1.16/libexec/src/runtime/sema.go:71 +0x47
  sync.(*Mutex).lockSlow(0xc0001923b8)
          /usr/local/Cellar/go/1.16/libexec/src/sync/mutex.go:138 +0x105
  sync.(*Mutex).Lock(...)
          /usr/local/Cellar/go/1.16/libexec/src/sync/mutex.go:81
  github.com/junegunn/fzf/src.(*Terminal).Input(0xc000192000, 0x0, 0x0, 0x0, 0x0)
          /fzf/src/terminal.go:581 +0x145
  github.com/junegunn/fzf/src.Run.func10(0xc00010c8a0, 0xc000092050, 0xa)
          /fzf/src/core.go:245 +0x37
  github.com/junegunn/fzf/src.Run.func11(0xc00011a4e0)
          /fzf/src/core.go:295 +0x5ce
  github.com/junegunn/fzf/src/util.(*EventBox).Wait(0xc00011a4e0, 0xc000127ec8)
          /fzf/src/util/eventbox.go:34 +0x5e
  github.com/junegunn/fzf/src.Run(0xc000180000, 0x11ac014, 0x6, 0x11ac158, 0x7)
          /fzf/src/core.go:251 +0xdac
  main.main()
          /fzf/main.go:13 +0x5a

  goroutine 11 [semacquire]:
  sync.runtime_SemacquireMutex(0xc00012c31c, 0xc00010e800, 0x1)
          /usr/local/Cellar/go/1.16/libexec/src/runtime/sema.go:71 +0x47
  sync.(*Mutex).lockSlow(0xc00012c318)
          /usr/local/Cellar/go/1.16/libexec/src/sync/mutex.go:138 +0x105
  sync.(*Mutex).Lock(0xc00012c318)
          /usr/local/Cellar/go/1.16/libexec/src/sync/mutex.go:81 +0x47
  github.com/junegunn/fzf/src/util.(*EventBox).Set(0xc00011a4e0, 0x7, 0x114eb40, 0x1265460)
          /fzf/src/util/eventbox.go:40 +0x3b
  github.com/junegunn/fzf/src.(*Terminal).killPreview(0xc000192000, 0x0)
          /fzf/src/terminal.go:1831 +0xa5
  github.com/junegunn/fzf/src.(*Terminal).exit(0xc000192000, 0xc000106e58)
          /fzf/src/terminal.go:1847 +0x75
  github.com/junegunn/fzf/src.(*Terminal).Loop.func8.1(0xc00011a540)
          /fzf/src/terminal.go:2148 +0x38f
  github.com/junegunn/fzf/src/util.(*EventBox).Wait(0xc00011a540, 0xc000106f90)
          /fzf/src/util/eventbox.go:34 +0x5e
  github.com/junegunn/fzf/src.(*Terminal).Loop.func8(0xc000192000, 0xc00010a2c0)
          /fzf/src/terminal.go:2077 +0xa5
  created by github.com/junegunn/fzf/src.(*Terminal).Loop
          /fzf/src/terminal.go:2072 +0x3e8
3 years ago
..
algo Accented character normalization for Vietnamese characters (#2090) 4 years ago
protector Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297) 4 years ago
tui Make search toggleable 4 years ago
util Update AtomicBool to use atomic memory operation (#1939) 4 years ago
LICENSE 0.25.0 4 years ago
ansi.go Fix segmentation fault on \x1b[0K 3 years ago
ansi_test.go Fix unit tests 4 years ago
cache.go Consolidate Result and rank structs 7 years ago
cache_test.go Check gofmt in `make test` 3 years ago
chunklist.go Experimental implementation of "reload" action 5 years ago
chunklist_test.go Remove count field from ChunkList 7 years ago
constants.go Kill input command on terminate 3 years ago
core.go Kill input command on terminate 3 years ago
history.go Code cleanup (#1640) 5 years ago
history_test.go Migrate to GitHub Actions 3 years ago
item.go Remove special nilItem 7 years ago
item_test.go Micro-optimizations 8 years ago
matcher.go Experimental implementation of "reload" action 5 years ago
merger.go Remove redundant assignment (#2356) 3 years ago
merger_test.go Further reduce unnecessary rune array conversion 7 years ago
options.go Add select and deselect actions 3 years ago
options_test.go Check gofmt in `make test` 3 years ago
pattern.go Check gofmt in `make test` 3 years ago
pattern_test.go Check gofmt in `make test` 3 years ago
reader.go [windows] Do not include directories in the list 4 years ago
reader_test.go Remove unnecessary reader barrier on --filter mode 5 years ago
result.go Fix typos in source code (#2322) 3 years ago
result_others.go Optimize rank comparison on x86 (little-endian) 7 years ago
result_test.go Check gofmt in `make test` 3 years ago
result_x86.go Optimize rank comparison on x86 (little-endian) 7 years ago
terminal.go Fix yet another deadlock 3 years ago
terminal_test.go Improvements to code quality and readability (#1737) 5 years ago
terminal_unix.go Support CTRL-Z (SIGSTOP) 7 years ago
terminal_windows.go Support CTRL-Z (SIGSTOP) 7 years ago
tokenizer.go Fix typos in source code (#2322) 3 years ago
tokenizer_test.go Code cleanup: remove unnecessary string conversions (#1642) 5 years ago