hi,
Just caught this panic on main c2048ef, I have not managed to reproduce it yet.
kind regards, Maarten
################################################################################
PANIC CAUGHT!
2024-12-10T09:17:55.988342+0100
################################################################################
aerc has encountered a critical error and has terminated. Please help us fix
this by sending this log and the steps to reproduce the crash to:
~rjarry/aerc-devel@lists.sr.ht
Thank you
Version: HEAD-c2048ef +notmuch-5.6.0 (go1.23.3 arm64 darwin 2024-12-02)
Error: runtime error: invalid memory address or nil pointer dereference
goroutine 1 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:26 +0x64
git.sr.ht/~rjarry/aerc/lib/log.PanicHandler()
git.sr.ht/~rjarry/aerc/lib/log/panic-logger.go:49 +0x500
panic({0x1013a6680?, 0x1018f11d0?})
runtime/panic.go:785 +0x124
github.com/emersion/go-message/mail.(*Header).MsgIDList(0x1400032a958?, {0x1011edae7?, 0x8?})
github.com/emersion/go-message@v0.18.0/mail/header.go:302 +0x20
git.sr.ht/~rjarry/aerc/lib/parse.MsgIDList(0x0, {0x1011edae7, 0xa})
git.sr.ht/~rjarry/aerc/lib/parse/header.go:18 +0x30
git.sr.ht/~rjarry/aerc/commands/msg.setReferencesHeader(0x14000866320, 0x0)
git.sr.ht/~rjarry/aerc/commands/msg/reply.go:329 +0x34
git.sr.ht/~rjarry/aerc/commands/msg.reply.Execute({0x1, 0x0, 0x1, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0}}, {0x14000866300, ...})
git.sr.ht/~rjarry/aerc/commands/msg/reply.go:158 +0x4e8
git.sr.ht/~rjarry/aerc/commands.ExecuteCommand({0x10148c070, 0x140002a5800}, {0x140014f8060?, 0x101168398?})
git.sr.ht/~rjarry/aerc/commands/commands.go:212 +0x378
main.execCommand({0x140014f8050?, 0x10?}, 0x8?, 0x10?)
git.sr.ht/~rjarry/aerc/main.go:45 +0x40
git.sr.ht/~rjarry/aerc/app.(*Aerc).BeginExCommand.func1({0x140014f8050, 0x9})
git.sr.ht/~rjarry/aerc/app/aerc.go:645 +0x3c
git.sr.ht/~rjarry/aerc/app.(*ExLine).Event(0x14000356270, {0x101443a80, 0x140003569f0})
git.sr.ht/~rjarry/aerc/app/exline.go:92 +0x4e4
git.sr.ht/~rjarry/aerc/app.(*Aerc).Event(0x101a45ce0, {0x101443a80?, 0x140003569f0?})
git.sr.ht/~rjarry/aerc/app/aerc.go:344 +0x41c
git.sr.ht/~rjarry/aerc/app.(*Aerc).simulate(0x101a45ce0, {0x140000ffc00, 0xb, 0x8?})
git.sr.ht/~rjarry/aerc/app/aerc.go:315 +0x1b4
git.sr.ht/~rjarry/aerc/app.(*Aerc).Event(0x101a45ce0, {0x101443a80?, 0x140003561e0?})
git.sr.ht/~rjarry/aerc/app/aerc.go:377 +0x60c
git.sr.ht/~rjarry/aerc/lib/ui.HandleEvent({0x101443a80?, 0x140003561b0?})
git.sr.ht/~rjarry/aerc/lib/ui/ui.go:183 +0x2b8
main.main()
git.sr.ht/~rjarry/aerc/main.go:297 +0x830