Skip to content

Instantly share code, notes, and snippets.

@lukaspiatkowski
Created May 26, 2022 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaspiatkowski/390d2c52eb3c6f59b1639aff3a0680f4 to your computer and use it in GitHub Desktop.
Save lukaspiatkowski/390d2c52eb3c6f59b1639aff3a0680f4 to your computer and use it in GitHub Desktop.
panic: open /dev/null: too many open files
goroutine 364 [running]:
github.com/jesseduffield/lazygit/pkg/commands/loaders.(*BranchLoader).obtainBranches(0x14000324ba0)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/commands/loaders/branches.go:112 +0x57c
github.com/jesseduffield/lazygit/pkg/commands/loaders.(*BranchLoader).Load(0x14000324ba0, {0x140003741a0, 0x1, 0x1})
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/commands/loaders/branches.go:52 +0x30
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).refreshBranches(0x140002c25a0)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/gui/branches_panel.go:63 +0xe8
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).refreshCommits.func1()
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/gui/commits_panel.go:89 +0x40
github.com/jesseduffield/lazygit/pkg/utils.Safe.func1()
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/utils/utils.go:95 +0x28
github.com/jesseduffield/lazygit/pkg/utils.SafeWithError(0x14000b877b8)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/utils/utils.go:106 +0x5c
github.com/jesseduffield/lazygit/pkg/utils.Safe(0x1400015d830)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/utils/utils.go:95 +0x40
created by github.com/jesseduffield/lazygit/pkg/gui.(*Gui).refreshCommits
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/gui/commits_panel.go:86 +0xbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment