fzf icon indicating copy to clipboard operation
fzf copied to clipboard

panic: runtime error: invalid memory address or nil pointer dereference

Open wanglumeng opened this issue 9 months ago • 2 comments

Checklist

  • [x] I have read through the manual page (man fzf)
  • [x] I have searched through the existing issues
  • [ ] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.61.1 (93cb3758)

OS

  • [x] Linux
  • [ ] macOS
  • [ ] Windows
  • [ ] Etc.

Shell

  • [ ] bash
  • [x] zsh
  • [ ] fish

Problem / Steps to reproduce

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1a pc=0x5a5752]

goroutine 1 [running]: main.exit(0x2, {0x2?, 0xb?}) github.com/junegunn/fzf/main.go:43 +0x32 main.main() github.com/junegunn/fzf/main.go:100 +0x40a

wanglumeng avatar Apr 18 '25 04:04 wanglumeng

Could you provide the steps to reproduce the issue?

junegunn avatar Apr 18 '25 11:04 junegunn

Could you provide the steps to reproduce the issue?

I was just using ctrl+R and 'fzf', everything with fzf would reproduce this. Then I uninstalled fzf and install with apt

wanglumeng avatar Apr 22 '25 02:04 wanglumeng