Skip to content

panic: gocui: userEvents channel full; refusing to block or reorder #5772

Description

@rokkerruslan

Describe the bug

Panic

To Reproduce

Steps to reproduce the behavior:

  1. $ lazygit
  2. Press 1
  3. Press e
  4. Close editor

Expected behavior

Program must work

Screenshots

 ~/w/udf $ lazygit

+ /bin/zsh -c hx -- "/Users/rrokker/Library/Application Support/lazygit/config.yml"


Press enter to return to lazygit
panic: gocui: userEvents channel full; refusing to block or reorder

goroutine 370 [running]:
github.com/jesseduffield/lazygit/pkg/gocui.(*Gui).Update(0x367bec2d01e0, 0x367bed01b440)
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gocui/gui.go:636 +0x80
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).onUIThread(...)
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gui/gui.go:1187
github.com/jesseduffield/lazygit/pkg/gui.(*guiCommon).OnUIThread(0x20?, 0x367bec5bf4e0)
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gui/gui_common.go:124 +0x7c
github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers.(*RefreshHelper).refreshView(...)
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gui/controllers/helpers/refresh_helper.go:1003
github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers.(*RefreshHelper).refreshStashEntries(0x367bec6a8960)
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gui/controllers/helpers/refresh_helper.go:960 +0x134
github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers.(*RefreshHelper).Refresh.func2.10()
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gui/controllers/helpers/refresh_helper.go:212 +0x20
github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers.(*RefreshHelper).Refresh.func2.1.1({0x367bec0b4000?, 0x33c85e994f60?})
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gui/controllers/helpers/refresh_helper.go:148 +0x24
github.com/jesseduffield/lazygit/pkg/gocui.(*Gui).onWorkerAux(0x367bec2d01e0, 0x40ec284000000000?, {0x101d65cf8?, 0x367bec7841c0?})
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gocui/gui.go:668 +0x68
github.com/jesseduffield/lazygit/pkg/gocui.(*Gui).OnWorker.func1()
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gocui/gui.go:655 +0x30
created by github.com/jesseduffield/lazygit/pkg/gocui.(*Gui).OnWorker in goroutine 1
        /Users/rrokker/go/pkg/mod/github.com/jesseduffield/lazygit@v0.63.0/pkg/gocui/gui.go:654 +0x90

Version info:

  • Run lazygit --version and paste the result here
$ lazygit --version
commit=, build date=, build source=unknown, version=unversioned, os=darwin, arch=arm64, git version=2.50.1 (Apple Git-155)

Terminal info:

What terminal are you using, and which version? For some types of bugs this information can be relevant.

Wave Terminal
Open-Source AI-Integrated Terminal
Built for Seamless Workflows
Client Version 0.14.5 (202604161535)
Update Channel: latest

Additional context

Add any other context about the problem here.

Note

Please try updating to the latest version or manually building the latest master to see if the issue still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions