~sircmpwn/aerc2#407: 
crash when changing to gmail tab

I've got a few email accounts hooked up to aerc, and at least 3 times now when I've switched from my first (non-gmail) tab to my second (gmail) tab, aerc crashes. This is pasting REALLY weird and I don't know how to make it look normal, so sorry for that.

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x559912cae34b]

goroutine 1 [running]: git.sr.ht/~sircmpwn/aerc/widgets.(*MessageList).Draw(0xc00007f560, 0xc000ad80f0) git.sr.ht/~sircmpwn/aerc/widgets/msglist.go:112 +0x2cb git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000c6630, 0xc000ad8060) git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x257 git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Draw(0xc000224380, 0xc000ad8060) git.sr.ht/~sircmpwn/aerc/widgets/account.go:142 +0x3b git.sr.ht/~sircmpwn/aerc/lib/ui.(*TabContent).Draw(0xc0002241c0, 0xc000ad8060) git.sr.ht/~sircmpwn/aerc/lib/ui/tab.go:393 +0x61 git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0000c6420, 0xc00009cbd0) git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x257 git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc0000c64d0, 0xc00009cbd0) git.sr.ht/~sircmpwn/aerc/widgets/aerc.go:172 +0x3f git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc0000900f0, 0x559912d10400) git.sr.ht/~sircmpwn/aerc/lib/ui/ui.go:113 +0xf8 main.main() git.sr.ht/~sircmpwn/aerc/aerc.go:192 +0x674

Status
REPORTED
Submitter
bdju@tilde.team
Assigned to
No-one
Submitted
3 months ago
Updated
2 months ago
Labels
No labels applied.

bdju@tilde.team 2 months ago ยท edit

I think this was the same kind of crash, but I don't remember for sure which account I was viewing and which I ended up on. Crash from hitting ctrl-p, though.

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x5644e329934b]

goroutine 1 [running]: git.sr.ht/~sircmpwn/aerc/widgets.(*MessageList).Draw(0xc000133500, 0xc0002105a0) git.sr.ht/~sircmpwn/aerc/widgets/msglist.go:112 +0x2cb git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc000152630, 0xc000210450) git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x257 git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Draw(0xc00023a380, 0xc000210450) git.sr.ht/~sircmpwn/aerc/widgets/account.go:142 +0x3b git.sr.ht/~sircmpwn/aerc/lib/ui.(*TabContent).Draw(0xc00023a1c0, 0xc000210450) git.sr.ht/~sircmpwn/aerc/lib/ui/tab.go:393 +0x61 git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc000152420, 0xc0002263c0) git.sr.ht/~sircmpwn/aerc/lib/ui/grid.go:142 +0x257 git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc0001524d0, 0xc0002263c0) git.sr.ht/~sircmpwn/aerc/widgets/aerc.go:172 +0x3f git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc0000900a0, 0x5644e32fb400) git.sr.ht/~sircmpwn/aerc/lib/ui/ui.go:113 +0xf8 main.main() git.sr.ht/~sircmpwn/aerc/aerc.go:192 +0x674

Register here or Log in to comment, or comment via email.