~rjarry/aerc-devel

panic involving app.(*AccountView).updateSplitView.func1()

Maarten Aertsen <maarten@nlnetlabs.nl>
Details
Message ID
<D3VN8BGVUBGW.3AWDMSQDW5D6Z@nlnetlabs.nl>
DKIM signature
pass
Download raw message
Found this panic in my kitty term when logging back in this morning, in 
a long-running aerc instance (MacOS). Never seen before, sharing in the 
hope it's useful to someone else:

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: 0.18.2 +notmuch-5.6.0 (go1.22.5 arm64 darwin 2024-08-05)

This error was also written to: /tmp/aerc-crash-20240901-163200.log
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x100729e94]

goroutine 1 [running]:
git.sr.ht/~rjarry/aerc/lib/log.PanicHandler()
	git.sr.ht/~rjarry/aerc/lib/log/panic-logger.go:51 +0x57c
panic({0x100d56d00?, 0x101261190?})
	runtime/panic.go:770 +0x124
os/exec.closeDescriptors(...)
	os/exec/exec.go:586
os/exec.(*Cmd).Wait(0x140009e8600)
	os/exec/exec.go:925 +0x1f4
git.sr.ht/~rockorager/vaxis/widgets/term.(*Model).Close(0x14003112008)
	git.sr.ht/~rockorager/vaxis@v0.10.3/widgets/term/term.go:540 +0xf0
git.sr.ht/~rjarry/aerc/app.(*Terminal).closeErr(0x14003110050, {0x0, 0x0})
	git.sr.ht/~rjarry/aerc/app/terminal.go:62 +0x7c
git.sr.ht/~rjarry/aerc/app.(*Terminal).Close(...)
	git.sr.ht/~rjarry/aerc/app/terminal.go:45
git.sr.ht/~rjarry/aerc/app.(*PartViewer).Cleanup(0x14003114000)
	git.sr.ht/~rjarry/aerc/app/msgviewer.go:813 +0x38
git.sr.ht/~rjarry/aerc/app.(*PartSwitcher).Cleanup(...)
	git.sr.ht/~rjarry/aerc/app/partswitcher.go:205
git.sr.ht/~rjarry/aerc/app.(*MessageViewer).Close(...)
	git.sr.ht/~rjarry/aerc/app/msgviewer.go:396
git.sr.ht/~rjarry/aerc/app.(*AccountView).updateSplitView.func1()
	git.sr.ht/~rjarry/aerc/app/account.go:620 +0x128
main.main()
	git.sr.ht/~rjarry/aerc/main.go:289 +0x7ec
Reply to thread Export thread (mbox)