| Summary: | mail-client/mutt-1.5.21-r10 hangs in scripts/ssh | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Adam Randall <randalla> |
| Component: | Current packages | Assignee: | Fabian Groffen <grobian> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | net-mail+disabled, randalla |
| Priority: | Normal | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| URL: | http://prefix.gentooexperimental.org:8000/mutt-patches/rev/9d17f7ae243c | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | strace of mutt called through ssh | ||
|
Description
Adam Randall
2012-08-24 08:37:52 UTC
Created attachment 322086 [details]
strace of mutt called through ssh
In all cases when mutt hangs, strace always ends with this line: ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff0c72edc0) = -1 EINVAL (Invalid argument) The address at the end may change slightly between runs, of course. Muttrc:
# Some minimal Mutt settings, Gentoo-style. These reflect the Gentoo
# predilection for maildir folders.
#
# Please don't add settings to this file to change other user
# preferences (such as colors), since those can be hard for a user to
# undo if their preference doesn't match yours! For example, it is
# *impossible* currently in mutt to remove color settings from objects
# other than the index.
set mbox_type=Maildir
set folder=~/.maildir
set spoolfile=~/.maildir/
set record=~/.maildir-sent/
set move=no
# Maybe we shouldn't set index_format here, but this is a recommended
# one for maildir-style folders.
set index_format="%4C %Z %{%b %d} %-16.16L %s"
USE flags for mutt: # emerge -qvp =mail-client/mutt-1.5.21-r10 [ebuild R ] mail-client/mutt-1.5.21-r10 USE="berkdb crypt gdbm gnutls nls sasl smtp ssl -debug -doc -gpg -idn -imap -mbox -nntp -pop -qdbm (-selinux) -sidebar -smime -tokyocabinet" One final piece of information on this is that when mutt hangs, it pegs the CPU. It's one of the feature patches, without them it works fine. I think it's the xterm titles patch, since some ncurses function is being called when it hangs. mutt_ts_capability calls tigetstr, which needs a tty. When you'd call ssh with -t, you'll see it works, since ssh allocates a pseudo tty in that case. I think the fix is to simply stop trying to do terminal title stuff when mutt has no tty. fixed in mutt-1.5.21-r11 |