jesseduffield / jesseduffield/lazygit
`syscall.Errno bad file descriptor`
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
lazygit dies with the following:
```
2022/01/29 13:45:11 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues
syscall.Errno bad file descriptor
github.com/jesseduffield/lazygit/main.go:145 (0x555f4d362cb9)
runtime/proc.go:255 (0x555f4cdec107)
runtime/asm_amd64.s:1581 (0x555f4ce1a181)
```
**To Reproduce**
It happened 3 times across the last couple of days, but I couldn't recreate it on purpose so far.
The last time it happened I was just switching tabs - from 3 to 4, I think. Nothing special. I think I just completed a rebase before.
Some jest tests were running at the same time and there was a snapshot updated at the same time. Might be related. Might be not. Can't remember whether that was the case before, too.
**Expected behavior**
Don't die, lazygit!
**Desktop:**
- OS: Arch Linux
- Lazygit Version: commit=d13a6481, build date=20220128.090800, build source=unknown, version=v0.32.1.d13a6481, os=linux, arch=amd64
**Additional context**
Lazygit is great. Thanks a lot!
Contributor guide
Assessment
This issue has not been assessed yet.