[Sorry if this is a repeat; I initially tried sending it to mutt-users and
mutt-dev, but it only seems to have made it onto mutt-dev. If anyone can
help me, I would be most appreciative!]

[I apologize if it's bad form to post this to both lists in the first
place.]

Hi. I'm having a bad problem with mutt: it tends to hang whenever it decides
it says "Sorting mailbox..." (any time I try to quit, change folders, or
recall a postponed message). It simply stops responding, and only SIGKILL
seems to kill it. My version is 1.3.28-1 from Debian sid; the full output of
mutt -v follows:

Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `Mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `Mutt -vv' for details.

System: Linux 2.4.18 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_GNUTLS  +USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <[EMAIL PROTECTED]>.
To report a bug, please use the flea(1) utility.

patch-1.5.tlr.mx_open_append.2
patch-1.3.27.bse.xtitles.1
patch-1.3.26.appoct.3
patch-1.3.15.sw.pgp-outlook.1
patch-1.3.27.admcd.gnutls.19
Md.use_editor
Md.paths_mutt.man
Md.muttbug_no_list
Md.use_etc_mailname
Md.muttbug_warning
Md.gpg_status_fd
patch-1.3.24.rr.compressed.1
patch-1.3.25.cd.edit_threads.9.1
patch-1.3.23.1.ametzler.pgp_good_sign


(I also tried using the 2002-4-18 CVS unstable snapshot, with the same
results.)

I ran strace on it, and the last few lines of that
were:

open("/tmp/mutt-zapp-15233-0", O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40022000
_llseek(4, 0, [0], SEEK_CUR)            = 0
rt_sigprocmask(SIG_SETMASK, NULL, [HUP INT TERM TSTP WINCH RTMIN], 8) = 0
rt_sigsuspend([HUP INT TERM TSTP WINCH]

At this point the strace just idles; the cursor is still on the same line,
even.

I started noticing this problem a few days ago, but it was only happening
with certain mailboxes, not with my inbox. Now my inbox is affected as well,
and even a 0-byte mailbox I created makes it hang. I've tried commenting out
the sort options in my config file, but that didn't help any. That config
file follows, although I've edited out the comments and personal
information:

# begin .muttrc

ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines

macro index \eb '/~b ' 'search in message bodies'

bind editor     "\e<delete>"    kill-word
bind editor     "\e<backspace>" kill-word

bind editor     <delete>  delete-char

bind pager      "<up>"      previous-line
bind pager      "<down>"    next-line

bind pager      <delete> delete-message
bind index      <delete> delete-message
macro generic   <backspace> '<delete-message><previous-undeleted>' 'delete and move up'
macro pager     <backspace> '<delete-message><previous-undeleted>' 'delete and move up'
macro index     <backspace> '<delete-message><previous-undeleted>' 'delete and move up'

unset use_domain

color hdrdefault cyan black
color quoted    green black
color signature cyan black
color attachment brightyellow black
color indicator black cyan
color status    brightgreen blue
color tree      red black
color markers   brightred black
color tilde     blue black
color header    brightcyan black ^From:
color header    brightwhite black ^Subject:
color body      brightblue black (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
color header    brightcyan black ^Content-.*:


unset write_bcc


macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

macro generic <f1> "!zless /usr/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
macro index   <f1> "!zless /usr/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
macro pager   <f1> "!zless /usr/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"

macro generic \ef "!fetchmail\n" "Fetch POP mail"

macro generic i "c=inbox\n" "Change to inbox"
macro index   i "c=inbox\n" "Change to inbox"

macro generic \ea "| uudeview -a -i +o -p ~/download/email -\n" "Extract all 
attachments"
macro index   \ea "| uudeview -a -i +o -p ~/download/email -\n" "Extract all 
attachments"
macro pager   \ea "| uudeview -a -i +o -p ~/download/email -\n" "Extract all 
attachments"

set abort_unmodified=no
set ascii_chars
unset beep
set charset="latin-1"
unset confirmappend
set delete=yes
set editor="joe -wordwrap"
set folder_format="%N %8s %d %f"
set index_format="%4C %Z %{%b %d} %-15.15F (%4l) %s"
set mbox="~/Mail/inbox"
set pager_context=1
set pager_index_lines=4
set pager_stop
set postponed="~/Mail/drafts"
set record="~/Mail/sent"
set reverse_alias
set reverse_name
set sort=threads
set sort_aux=date-sent
set tilde
set visual="joe -wordwrap"
unset wrap_search

# end .muttrc


Anyone know what might be going wrong?

-- 
Eric Christopherson, a.k.a. Contrarian Conlanger Rakko ^_^

Reply via email to