~sircmpwn/aerc2#284:
format: nil pointer dereference in ParseMessageFormat

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

goroutine 1 [running]:
git.sr.ht/~sircmpwn/aerc/lib/format.ParseMessageFormat(0xc00015c050, 0xe, 0xc00015e0c0, 0x13, 0x0, 0x0, 0x0, 0xc0001c22d0, 0xc0001ff400, 0x4aa2008, ...)
    /Users/elias/scratch/aerc/lib/format/format.go:127 +0x25a3
git.sr.ht/~sircmpwn/aerc/widgets.(*MessageList).Draw(0xc00015a0a0, 0xc0000b5470)
    /Users/elias/scratch/aerc/widgets/msglist.go:138 +0x24d
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc000164160, 0xc0000b4b10)
    /Users/elias/scratch/aerc/lib/ui/grid.go:140 +0x28e
git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Draw(0xc00015a0f0, 0xc0000b4b10)
    /Users/elias/scratch/aerc/widgets/account.go:124 +0x39
git.sr.ht/~sircmpwn/aerc/lib/ui.(*TabContent).Draw(0xc0000aa180, 0xc0000b4b10)
    /Users/elias/scratch/aerc/lib/ui/tab.go:225 +0x5f
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Grid).Draw(0xc0001640b0, 0xc0002dc0c0)
    /Users/elias/scratch/aerc/lib/ui/grid.go:140 +0x28e
git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Draw(0xc000162460, 0xc0002dc0c0)
    /Users/elias/scratch/aerc/widgets/aerc.go:146 +0x39
git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc0001c2050, 0xc0002ec000)
    /Users/elias/scratch/aerc/lib/ui/ui.go:91 +0x11d
main.main()
    /Users/elias/scratch/aerc/aerc.go:169 +0x5a1
Status
REPORTED
Submitter
~eliasnaur
Assigned to
No-one
Submitted
8 days ago
Updated
8 days ago
Labels
No labels applied.