Comment by ~sijmen on ~sircmpwn/aerc2
~labrat no, Arch Linux/sway/alacritty/neovim
Comment by ~sijmen on ~sircmpwn/aerc2
I am regularly having the same crash. I avoid this by :read-ing a file in vim, but it's not ideal
P.S. the link above is broken due to the ., https://paste.sr.ht/~exprez135/f0f7051758e89c4ce5c400bd7d9f18eb1a91065e works
Ticket created by ~sijmen on ~sircmpwn/aerc2
I was repeatedly hitting the
q
key with an attachment:open
-ed by a GUI application (which blocks the thread), and when I quit the GUI this panic happened.I had 0.4.0 checked out when this happened.
panic: Attempted to create context with negative offset goroutine 1 [running]: git.sr.ht/~sircmpwn/aerc/lib/ui.(*Context).Subcontext(0xc0002ba390, 0x0, 0xffffffffffffffff, 0x76, 0x1, 0xc000235d70) /home/sijmen/Documents/ThirdParty/aerc/lib/ui/context.go:47 +0x1e7 git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000d00b0, 0xc0002ba390) /home/sijmen/Documents/ThirdParty/aerc/lib/ui/grid.go:141 +0x256 git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc0000d0160, 0xc0002ba390) /home/sijmen/Documents/ThirdParty/aerc/widgets/aerc.go:172 +0x3d git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc00040a230, 0xa36200) /home/sijmen/Documents/ThirdParty/aerc/lib/ui/ui.go:113 +0x1d1 main.main() /home/sijmen/Documents/ThirdParty/aerc/aerc.go:192 +0x697