[Pkg-mutt-maintainers] Bug#838720: mutt: pager segfaults when window is resized

Peter Colberg peter at colberg.org
Tue Oct 18 01:56:23 UTC 2016


On Mon, Oct 17, 2016 at 09:31:40PM -0400, Peter Colberg wrote:
> Hopefully I will send you a minimal muttrc at some point; it is not
> trivial since I cannot reproduce the segfault so far and have to wait
> for the next one.

I had another segfault just now and have a slightly better idea.

I was viewing the very message I had sent you roughly a minute ago.
After a few seconds I pressed a key to scroll the message, after which
mutt segfaulted with the same message “Sorting mailbox...”.

What had presumably happened between opening the message in the pager,
and trying to scroll a few seconds later, is mbsync synchronizing the
mailbox to the IMAP server every two minutes. When mbsync copies a new
sent message to the server, it also updates the local mail folder, which
appears to have triggered the segfault in this instance.

My muttrc begins with

set folder=~/Mail
set spoolfile=~/Mail/INBOX
set mbox_type=Maildir
set header_cache=~/.cache/mutt/headers

My mbsyncrc contains

MaildirStore local
Path ~/Mail/
Inbox ~/Mail/INBOX
Flatten .

IMAPStore remote
Host imap.example.org
User *
Pass *
UseIMAPS yes

Channel remote
Master :remote:
Slave :local:
Patterns % !Spam !Trash
Create Slave
Expunge Both

Peter



More information about the Pkg-mutt-maintainers mailing list