Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: all goroutines are asleep - deadlock! #3880

Open
beetol opened this issue Sep 1, 2024 · 2 comments
Open

fatal error: all goroutines are asleep - deadlock! #3880

beetol opened this issue Sep 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@beetol
Copy link

beetol commented Sep 1, 2024

Describe the bug

fatal error: all goroutines are asleep - deadlock!

To Reproduce
Steps to reproduce the behavior (macOS Sonoma latest version, latest go installation from its website):

  1. go install github.com/jesseduffield/lazygit@latest

Expected behavior
Open LazyGit interface

Version info:

lazygit version
commit=, build date=, build source=unknown, version=unversioned, os=darwin, arch=amd64, git version=2.46.0

git version
git version 2.46.0

Additional context
Running on macOS Sonoma 14.6
Have added ~/go/bin to $PATH as instructed.

POTENTIAL DEADLOCK: Recursive locking: when running lazygit --debug

@beetol beetol added the bug Something isn't working label Sep 1, 2024
@stefanhaller
Copy link
Collaborator

Your reproduction recipe shows pretty much basic, normal lazygit usage as far as I can tell. There must be something more that is specific to your setup, otherwise lazygit would be unusable for everybody.

Are you starting lazygit from within a git repo? Does the problem happen for all your repos, or only certain ones? Have you checked if an official build (e.g. the homebrew version) has the same problem?

@beetol
Copy link
Author

beetol commented Sep 2, 2024

Are you starting lazygit from within a git repo?

Yes, a good example is the mantinedev/mantine repo I've cloned. It also happens to one of my own repos.

Have you checked if an official build (e.g. the homebrew version) has the same problem?

Yes, have tried using the Homebrew version and I still get the same error.

On a tangent, with the steps above, I don't get this error on an Apple Silicon. Though when running lazygit --debug, it just hangs without any output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants