lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Regular crashes while lazygit is in the background

Open peppy opened this issue 3 years ago • 0 comments

I'm not sure what triggers this, but it happens when I'm off in my IDE working away.

Occurring on ef82f394312e6f1c100f5153187d5537d701384f. Started maybe a day or three ago.


github.com/jesseduffield/lazygit/pkg/tasks.(*ViewBufferManager).NewCmdTask.func1.2()
/Users/dean/Projects/lazygit/
pkg/tasks/tasks.go:112 +0x70
github.com/jesseduffield/lazygit/pkg/utils.Safe.func1()
/Users/dean/Projects/lazygit/pkg/util
s/utils.go:108 +0x1b
github.com/jesseduffield/lazygit/pkg/utils.SafeWithError(0x1040205?)
/Users/dean/Projects/lazygit/
pkg/utils/utils.go:119 +0x67
github.com/jesseduffield/lazygit/pkg/utils.Safe(0x64?)
/Users/dean/Projects/lazygit/pkg/util
s/utils.go:108 +0x35
created by github.com/jesseduffield/lazygit/pkg/tasks.(*ViewBufferManager).NewCmdTask.func1
/Users/dean/P
rojects/lazygit/pkg/tasks/tasks.go:111 +0x2ea

goroutine 14527 [select, 17 minutes]:
github.com/gdamore/tcell/v2.(*devTty).Start
.func1(0xc001fc8300)
/Users/dean/Projects/lazygit/vendor/github.com/gdamore/tcell/v2/tty_unix.go:92 +0xbf
created by github
.com/gdamore/tcell/v2.(*devTty).Start
/Users/dean/Projects/lazygit/vendor/github.com/gdamore/tcell/v2/tty_unix.go:89 +0x239
goroutine 16798 [runnable]:
github.com/jesseduffield/lazygit/pkg/tasks.(*ViewBufferManager).NewTask.func1.1()
/Users/dean/P
rojects/lazygit/pkg/tasks/tasks.go:275 +0x26
sync.(*Once).doSlow(0x1039307?, 0x0?)
/usr/local/Cellar/go/1.19/libexec/src
/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
/usr/local/Cellar/go/1.19/libexec/src/sync/once.go:65
github.com/jesseduffield
/lazygit/pkg/tasks.(*ViewBufferManager).NewTask.func1.2()
/Users/dean/Projects/lazygit/pkg/tasks/tasks.go:279 +0x29
gith
ub.com/jesseduffield/lazygit/pkg/tasks.(*ViewBufferManager).NewTask.func1()
/Users/dean/Projects/lazygit/pkg/tasks/tasks.
go:267 +0x1ef
github.com/jesseduffield/lazygit/pkg/utils.Safe.func1()

Also of note, the error output is quite broken. In a tmux session if that means anything

JetBrains Rider 2022-08-16 at 06 50 04

peppy avatar Aug 16 '22 06:08 peppy