~sircmpwn/aerc2#410: 
Crash as I was pasting

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:

                                                                   

/home/cas/go/pkg/mod/github.com/emersion/go-imap@v1.0.4/client/client .go:151 +0x50

                                                                   
    github.com/emersion/go-

imap/client.(*Client).reader(0xc0004200a0)

                                                                   
                                                                   
/home/cas/go/pkg/mod/github.com/emersion/go-imap@v1.0.4/client/clie

nt.go:136 +0x6d

                                                                   
      created by github.com/emersion/go-

imap/client.(*Client).handleGreetAndStartReading

                    

/home/cas/go/pkg/mod/github.com/emersion/go-imap@v1.0.4/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)

                                                                   
                                                                   

/home/cas/go/pkg/mod/github.com/emersion/go-imap@v1.0.4/client/client .go:284 +0x3b9

                                                                   
     github.com/emersion/go-imap/client.(*Client).Execute(...)
                                                                   
                                                                   

/home/cas/go/pkg/mod/github.com/emersion/go-imap@v1.0.4/client/client .go:340

                                                                   

github.com/emersion/go-imap-idle.(*Client).idle(0xc0002cc990, 0xc00008cb40, 0x43a166, 0xa8d870)

                    

/home/cas/go/pkg/mod/github.com/emersion/go-imap-idle@v0.0.0-20190519112320-2704abd7050e /client.go:38 +0xb1

                                                                   
                                                        github.com/

emersion/go-imap-idle.(*Client).Idle.func1(0xc0004e00c0, 0xc0002cc990, 0xc00008cb40)

                                                                   
     

/home/cas/go/pkg/mod/github.com/emersion/go-imap-idle@v0.0.0-20190519112320-2704abd7050e /client.go:60 +0x35 created by github.com/emersion/go-imap-idle.(*Client).Idle

                                                                   
                             

/home/cas/go/pkg/mod/github.com/emersion/go-imap-idle@v0.0.0-20190519112320-2704abd7050e /client.go:59 +0x10c [signa l SIGSEGV: segmentation violation code=0x2 addr=0x7fb8a8024000 pc=0x7fb8d867a995]

 runtime stack:
               runtime.throw(0xa7dac5, 0x2a)
                                                    /usr/lib/golang

/src/runtime/panic.go:774 +0x72

                                                                   
                           runtime.sigpanic()
                                                                   
                                                     /usr/lib/golan

g/src/runtime/signal_unix.go:378 +0x47c alex@melanobombus:~$

Status
REPORTED
Submitter
Alex Schroeder
Assigned to
No-one
Submitted
3 months ago
Updated
27 days ago
Labels
No labels applied.

~exprez135 27 days ago

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.

~sijmen 27 days ago

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

~labrat 27 days ago

~sijmen are you on OSX as well? (or whatever the mac os is called nowdays)

~sijmen 27 days ago

~labrat no, Arch Linux/sway/alacritty/neovim

~benburwell 27 days ago

I’ve experienced this as well a few times recently but haven’t had the chance to debug it at all.

Macos/Alacritty/vim

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