~typish


#281 Panic on pasting while composing 16 days ago

Ticket created by ~typish on ~sircmpwn/aerc2

I was editing an email in neovim, and pasted some text; aerc collapsed.

The stacktrace was mangled by the terminal emulator: this is all I could recover:

internal/poll.(*FD).Read(0xc0004dfa40, 0xc00158b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.1/share/go/src/internal/poll/fd_unix.go:165 +0x131
os.(*File).read(...)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.1/share/go/src/os/file_unix.go:263
os.(*File).Read(0xc001282318, 0xc00158b000, 0x1000, 0x1000, 0x8f, 0x0, 0x0)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.1/share/go/src/os/file.go:108 +0x70
git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal.func1(0xc001b4e210, 0xc00121a640)
/build/aerc-0.2.1/widgets/terminal.go:127 +0xd4
created by git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal
/build/aerc-0.2.1/widgets/terminal.go:123 +0xf8

goroutine 853 [chan receive, 18 minutes]:
git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal.func1(0xc001b4e840, 0xc0002c0dc0)
/build/aerc-0.2.1/widgets/terminal.go:124 +0x3c
created by git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal
/build/aerc-0.2.1/widgets/terminal.go:123 +0xf8

goroutine 854 [chan receive, 18 minutes]:
git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal.func1(0xc001b4e9a0, 0xc0002c0e60)
/build/aerc-0.2.1/widgets/terminal.go:124 +0x3c
created by git.sr.ht/~sircmpwn/aerc/widgets.NewTerminal
/build/aerc-0.2.1/widgets/terminal.go:123 +0xf8
[signal SIGSEGV: segmentation violation code=0x2 addr=0x7f820c357000 pc=0x7f8226fa3ccf]

runtime stack:
runtime.throw(0x8c5949, 0x2a)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.1/share/go/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.1/share/go/src/runtime/signal_unix.go:374 +0x4a9