~sircmpwn/aerc2#368: 
panic: assignment to entry in nil map

When switching folders quickly aerc sometimes crashed with this message.

panic: assignment to entry in nil map

goroutine 1 [running]:
git.sr.ht/~sircmpwn/aerc/lib.(*MessageStore).Update(0xc000178e00, 0x56461a236d60, 0xc0001af260)
    /home/abuild/rpmbuild/BUILD/aerc-0.3.0/lib/msgstore.go:181 +0x3f9
git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).onMessage(0xc0000ac500, 0x56461a236d60, 0xc0001af260)
    /home/abuild/rpmbuild/BUILD/aerc-0.3.0/widgets/account.go:247 +0x27f
git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Tick(0xc0000ac500, 0xc00017be00)
    /home/abuild/rpmbuild/BUILD/aerc-0.3.0/widgets/account.go:90 +0xa3
git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Tick(0xc0000b3b80, 0xc0001fa300)
    /home/abuild/rpmbuild/BUILD/aerc-0.3.0/widgets/aerc.go:123 +0x93
main.main()
    /home/abuild/rpmbuild/BUILD/aerc-0.3.0/aerc.go:182 +0x59e
Status
REPORTED
Submitter
~zethra
Assigned to
No-one
Submitted
2 months ago
Updated
28 days ago
Labels
bug

~zethra 2 months ago

I'm using aerc 0.3.0 on OpenSUSE Tumbleweed.

~muirrum 28 days ago

I've got this issue too, it seems to be random as to when it pops up.

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