~sircmpwn/aerc2#87: 
Segfault updating message store

Saw a few times now. Seems to happen when I change directories quickly after startup...

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

goroutine 9 [running]:

 git.sr.ht/~sircmpwn/aerc/lib(*MessageStore).Update(0x0, 0x8bb680, 0xc0002a54d0)
/home/robert/devel/upstream/git.sr.ht/~sircmpwn/aerc2/lib/msgstore.go:137 +0x3a

git.sr.ht/~sircmpwn/aerc2/widgets.(*AccountView).onMessage(0xc0000a0370, 0x8bb680, 0xc0002a54d0)
/home/robert/devel/upstream/git.sr.ht/~sircmpwn/aerc2/widgets/account.go:186 +0x421

git.sr.ht/~sircmpwn/aerc2/widgets.NewAccountView.func1(0xc00003a8c0, 0xc0000a0370)
/home/robert/devel/upstream/git.sr.ht/~sircmpwn/aerc2/widgets/account.go:72 +0x85
                                                                    
created by git.sr.ht/~sircmpwn/aerc2/widgets.NewAccountView
/home/robert/devel/upstream/git.sr.ht/~sircmpwn/aerc2/widgets/account.go:68 +0x4c1
Status
RESOLVED FIXED
Submitter
~robertgzr
Assigned to
No-one
Submitted
1 year, 5 months ago
Updated
1 year, 4 months ago
Labels
No labels applied.