~rjarry/aerc#17: 
TCP broken pipe when switching folders quickly

When switching between folders in the sidebar quickly with J, and K the connection breaks and the following error is output:

write tcp 192.168.0.153:35830->52.97.151.98:993: write: broken pipe

I am using pretty much the default aerc configuration. I'm a bit unsure what information might be useful to provide so feel free to ask if I've missed something.

OS: Void Linux x86_64-glibc Aerc: aerc 0.7.1 Step to reproduce:

1. Start aerc and load default mailbox.
2. Press J and K reasonably quickly as if trying to quickly scroll
through them.

Behaviour:

1. Above error displayed at the bottom of the screen.
2. Cannot scroll and further due to the broken connection.
3. :connect yields the message "Already connected"
4. :disconnect yields the message ":disconnectpanic: close of closed
channel" Along with the following output to stderr

panic: close of closed channel

goroutine 36 [running]: git.sr.ht/~rjarry/aerc/worker/imap.(*IMAPWorker).handleMessage(0xc0003dc000, {0xa52b78, 0xc0003d0480}) /builddir/aerc-0.7.1/worker/imap/worker.go:72 +0x9e git.sr.ht/~rjarry/aerc/worker/imap.(*IMAPWorker).Run(0xc0003dc000) /builddir/aerc-0.7.1/worker/imap/worker.go:386 +0x105 created by git.sr.ht/~rjarry/aerc/widgets.NewAccountView /builddir/aerc-0.7.1/widgets/account.go:85 +0x72f

I have also generated a log file but I am hesitant to include it here as it seems to contain information about the details of my inbox. Perhaps you can best advise how to strip out only the relevant parts. Thank you for your time and help and for this great tool.

Status
RESOLVED FIXED
Submitter
Siddhartha Menon
Assigned to
No-one
Submitted
8 months ago
Updated
2 months ago
Labels
bug imap

~konimarti 7 months ago*

panic: close of closed channel

This issue has been addressed after release 0.7.1 with the commit 022bf1a ("imap: fix panic when sending multiple connect cmds"): https://git.sr.ht/~rjarry/aerc/commit/022bf1a

~rockorager REPORTED FIXED 2 months ago

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