~sircmpwn/aerc2#311:
nil pointer dereference

Randomly when trying to compose mail I will get:

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

goroutine 1 [running]: git.sr.ht/~sircmpwn/pty.StartWithSize(0x0, 0xc0000cf988, 0xc0000ac018, 0x0, 0x0) /home/ndowens/go/pkg/mod/git.sr.ht/~sircmpwn/pty@v0.0.0-20190330154901-3a43678975a9/run.go:36 +0xc0 git.sr.ht/~sircmpwn/aerc/widgets.(Terminal).Draw(0xc0002ec790, 0xc000342540) /localaports/aerc/src/aerc-0.2.1/widgets/terminal.go:239 +0x872 git.sr.ht/~sircmpwn/aerc/lib/ui.(Grid).Draw(0xc0002ec6e0, 0xc000342330) /localaports/aerc/src/aerc-0.2.1/lib/ui/grid.go:140 +0x290 git.sr.ht/~sircmpwn/aerc/widgets.(Composer).Draw(0xc00016a300, 0xc000342330) /localaports/aerc/src/aerc-0.2.1/widgets/compose.go:175 +0x3b git.sr.ht/~sircmpwn/aerc/lib/ui.(TabContent).Draw(0xc0000ae960, 0xc000342330) /localaports/aerc/src/aerc-0.2.1/lib/ui/tab.go:225 +0x61 git.sr.ht/~sircmpwn/aerc/lib/ui.(Grid).Draw(0xc0000d4840, 0xc0004e00c0) /localaports/aerc/src/aerc-0.2.1/lib/ui/grid.go:140 +0x290 git.sr.ht/~sircmpwn/aerc/widgets.(Aerc).Draw(0xc00013e090, 0xc0004e00c0) /localaports/aerc/src/aerc-0.2.1/widgets/aerc.go:129 +0x3b git.sr.ht/~sircmpwn/aerc/lib/ui.(*UI).Tick(0xc0000b05a0, 0xc000093b00) /localaports/aerc/src/aerc-0.2.1/lib/ui/ui.go:97 +0x11f main.main() /localaports/aerc/src/aerc-0.2.1/aerc.go:172 +0x597

Status
REPORTED
Submitter
~ndowens
Assigned to
No-one
Submitted
18 days ago
Updated
18 days ago
Labels
No labels applied.

~ndowens 18 days ago

I've noticed, since I use Vim, if I do :wq together, that is when it tends to happen, but if I do :w first then :q then it seems not to cause an error

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