Mutt stops showing mail contents
Josef Wolf
jw at raven.inka.de
Sun Dec 20 19:22:46 UTC 2020
Here I am again.
I got the problem again. More information below. First answers to questions:
On Fri, Dec 18, 2020 at 11:51:56AM -0800, Kevin J. McCarthy wrote:
> On Fri, Dec 18, 2020 at 11:16:23AM +0100, Josef Wolf wrote:
> * Try to <pipe-message> to less.
This shows the whole message, includug body.
> * Without exiting mutt, try changing $tmpdir to an existing temporary
> directory in your home dir and see if that changes anything:
> :set tmpdir = "~/tmp"
No. Body is still not shown.
> * See if the mutt process is leaking file descriptors by getting the pid and
> running `lsof -p <pid>`.
No leaked file descriptors there.
> > Mutt stops not only to show the contents, but also when replying to a mail
> > with quote, I end up in an emacs with nothing but the header. So mutt forgets
> > all the mail contents except the header.
>
> Does Mutt even show the attribution header in the reply?
Yes, attribution header is there. But no quoted content.
> > Changing to a different mail or even to a different folder don't help. The
> > only way is to quit mutt and start again. Then it works again for several
> > hours or even days, just to eventually stop showing mail contents again.
>
> So, it's able to open the new mailbox, parse it, and display the messages in
> the index,
Yes.
> but you can't view a message or its attachments?
With attachments, I have screwed a little bit up:
- when a message is shown (before pressing 'v'), the red markers like
"[-- Attachment #1 --]" are also missing.
- when pressing 'v', the attachments are shown and can even be saved.
Sorry for the confusion!
More info:
Last time, as mutt was working, memory looked like this:
raven:/ # ps axl|grep -v grep |egrep ' (mutt|COMMAND)'
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
0 1000 1135 19716 20 0 97188 21104 SyS_po S+ pts/3 0:00 mutt
0 1000 15559 6391 20 0 97260 21124 - S pts/2 0:00 mutt
raven:/ # ps axl|grep -v grep |egrep ' (mutt|COMMAND)'
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
0 1000 1135 19716 20 0 97488 21388 SyS_po S+ pts/3 0:00 mutt
0 1000 15559 6391 20 0 97352 21232 SyS_po S+ pts/2 0:01 mutt
So size has increased a little bit, but not very much
Here are the open descriptors. The deleted file is the one which is currently
shown in mutt:
raven:/ # ls -l /proc/15559/fd
total 0
lrwx------ 1 jw jw 64 Dec 20 19:50 0 -> /dev/pts/2
lrwx------ 1 jw jw 64 Dec 20 19:50 1 -> /dev/pts/2
lrwx------ 1 jw jw 64 Dec 20 19:50 2 -> /dev/pts/2
lr-x------ 1 jw jw 64 Dec 20 19:50 3 -> /tmp/mutt-raven-1000-15559-7436415611661510353 (deleted)
This deleted file is also missing the mail body:
raven:/ # cat /proc/15559/fd/3
Date: Sat, 19 Dec 2020 10:18:22 -0800
From: "Kevin J. McCarthy" <kevin at 8t8.us>
To: mutt-users at mutt.org
Subject: Re: Mutt stops showing mail contents
User-Agent: Mutt/2.0.3+43 (a832cb5a) (2020-12-15)
raven:/ #
--
Josef Wolf
jw at raven.inka.de
More information about the Mutt-users
mailing list