I am running emacsclient -t to compose my mail, that is Emacs. I'm using Tilix as my terminal emulator. I pasted some text using Ctrl+Shift+C into the message I was composing and got the following:
/email@example.com/client/client .go:151 +0x50
created by github.com/emersion/go-
/firstname.lastname@example.org/client/client.g o:525 +0x16b
goroutine 78 [select, 11 minutes]: g
ithub.com/emersion/go-imap/client.(*Client).execute(0xc0004200a0, 0xb271e0, 0xfaf538, 0xb27200, 0xc000278100, 0x459380, 0xc0001d73e0, 0xc000385f90)
/email@example.com/client/client .go:284 +0x3b9
github.com/emersion/go-imap-idle.(*Client).idle(0xc0002cc990, 0xc00008cb40, 0x43a166, 0xa8d870)
emersion/go-imap-idle.(*Client).Idle.func1(0xc0004e00c0, 0xc0002cc990, 0xc00008cb40)
/firstname.lastname@example.org /client.go:60 +0x35 created by github.com/emersion/go-imap-idle.(*Client).Idle
/email@example.com /client.go:59 +0x10c [signa l SIGSEGV: segmentation violation code=0x2 addr=0x7fb8a8024000 pc=0x7fb8d867a995]
runtime stack: runtime.throw(0xa7dac5, 0x2a) /usr/lib/golang
g/src/runtime/signal_unix.go:378 +0x47c alex@melanobombus:~$
I continue to experience a panic when I paste drafted text into aerc's compose window. One workaround I've found is switching over to iTerm2 on my mac. If I use iTerm's "paste slowly" feature, I can usually get the whole thing pasted without the panic. Otherwise, the content begins to paste but after a certain amount the panic occurs.
I put what I could recover from the panic message at https://paste.sr.ht/~exprez135/f0f7051758e89c4ce5c400bd7d9f18eb1a91065e.
I am regularly having the same crash. I avoid this by :read-ing a file in vim, but it's not ideal
P.S. the link above is broken due to the ., https://paste.sr.ht/~exprez135/f0f7051758e89c4ce5c400bd7d9f18eb1a91065e works
I’ve experienced this as well a few times recently but haven’t had the chance to debug it at all.
I also experienced it on Manjaro Linux/XFCE/alacritty and xfce4-terminal/neovim and nano.
Steps to reproduce:
- Copy a lot of data into your clipboard (
python3 -c 'print("A"*9999)' | clipcopyshould do it )
- Start aerc, and compose a new email
- Directly go to the plaintext editor ( Press Tab two times )
- Paste your clipboard and then press enter
- Repeat step 4 until aerc crashes