~sircmpwn/aerc2#395: 
panic: runtime error: invalid memory address or nil pointer dereference

Hi all!

I opened message, waited until it loaded, then pressed probably Rq.

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

goroutine 1 [running]:
git.sr.ht/~sircmpwn/aerc/lib/ui.(*Context).HideCursor(...)
    /home/eugene/Downloads/aerc-0.4.0/lib/ui/context.go:115
git.sr.ht/~sircmpwn/aerc/widgets.(*Terminal).Close(0xc00012b290, 0xb0b400, 0xc0000200d0)
    /home/eugene/Downloads/aerc-0.4.0/widgets/terminal.go:191 +0x7f
git.sr.ht/~sircmpwn/aerc/widgets.(*Terminal).flushTerminal(0xc00012b290)
    /home/eugene/Downloads/aerc-0.4.0/widgets/terminal.go:167 +0xf8
git.sr.ht/~sircmpwn/aerc/widgets.(*Terminal).Event(0xc00012b290, 0xb0bc60, 0xc0003aaac0, 0x7fdd8130fac8)
    /home/eugene/Downloads/aerc-0.4.0/widgets/terminal.go:391 +0xdd
git.sr.ht/~sircmpwn/aerc/widgets.(*Composer).Event(0xc0001b2700, 0xb0bc60, 0xc0003aaac0, 0x7fdd8130fac8)
    /home/eugene/Downloads/aerc-0.4.0/widgets/compose.go:339 +0x72
git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Event(0xc00012a4d0, 0xb0bc60, 0xc0003aaac0, 0x9a1d80)
    /home/eugene/Downloads/aerc-0.4.0/widgets/aerc.go:267 +0x2da
git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc000284050, 0xc000298000)
    /home/eugene/Downloads/aerc-0.4.0/lib/ui/ui.go:98 +0x190
main.main()
    /home/eugene/Downloads/aerc-0.4.0/aerc.go:192 +0x672

But later I could not reproduce it.

Status
REPORTED
Submitter
~eugene120520
Assigned to
No-one
Submitted
17 days ago
Updated
17 days ago
Labels
bug