~sircmpwn/aerc2#390: 
Panic while changing folders

When changing IMAP folders, there is a chance that aerc will panic with the following error.

panic: assignment to entry in nil map

goroutine 1 [running]: git.sr.ht/~sircmpwn/aerc/lib.(*MessageStore).Update(0xc000224200, 0xa76220, 0xc0004a1be0)

/var/tmp/pamac-build-owen/aerc/src/aerc-0.3.0/lib/msgstore.go:181 +0x685 git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).onMessage(0xc00007a500, 0xa76220, 0xc0004a1be0)

/var/tmp/pamac-build-owen/aerc/src/aerc-0.3.0/widgets/account.go:247 +0x19d git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Tick(0xc00007a500, 0xc0001e0630)

/var/tmp/pamac-build-owen/aerc/src/aerc-0.3.0/widgets/account.go:90 +0xa1 git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Tick(0xc0001de1e0, 0x9cc300)

/var/tmp/pamac-build-owen/aerc/src/aerc-0.3.0/widgets/aerc.go:123 +0x91 main.main() /var/tmp/pamac-build-owen/aerc/src/aerc-0.3.0/aerc.go:182 +0x5b4 `

Status
RESOLVED DUPLICATE
Submitter
~muirrum
Assigned to
No-one
Submitted
3 months ago
Updated
3 months ago
Labels
No labels applied.

~muirrum REPORTED DUPLICATE 3 months ago

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