During an attempt to sign a message with mutt it entered an endless loop with no obvious way to escape. I replied to an email, then hit 'S', the sign/encrypt question appeared. I selected 's' (I think) to just sign the thing. Then a question 'Sign as:' appeared. Whatever I enter there, the question is asked again and again. strace shows:
... read(0, "\177", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER|SA_RESTART, 0x7f5af991ece0}, NULL, 8) = 0 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER, 0x7f5af991ece0}, NULL, 8) = 0 poll([{fd=0, events=POLLIN}], 1, 300000) = 1 ([{fd=0, revents=POLLIN}]) read(0, "\r", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER|SA_RESTART, 0x7f5af991ece0}, NULL, 8) = 0 open("/.index", O_RDONLY) = -1 ENOENT (No such file or directory) write(1, "\r\33[37m\33[41m/.index: Datei oder Verzeichnis nicht gefunden (errno = 2)\33[39;49m\33[m\17", 81) = 81 write(1, "\rSigniere als:\33[K ", 18) = 18 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER, 0x7f5af991ece0}, NULL, 8) = 0 poll([{fd=0, events=POLLIN}], 1, 300000) = 1 ([{fd=0, revents=POLLIN}]) read(0, " ", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER|SA_RESTART, 0x7f5af991ece0}, NULL, 8) = 0 write(1, " ", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER, 0x7f5af991ece0}, NULL, 8) = 0 poll([{fd=0, events=POLLIN}], 1, 300000) = 1 ([{fd=0, revents=POLLIN}]) read(0, "\r", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER|SA_RESTART, 0x7f5af991ece0}, NULL, 8) = 0 open("/.index", O_RDONLY) = -1 ENOENT (No such file or directory) write(1, "\r\33[37m\33[41m/.index: Datei oder Verzeichnis nicht gefunden (errno = 2)\33[39;49m\33[m\17", 81) = 81 write(1, "\rSigniere als:\33[K ", 18) = 18 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER, 0x7f5af991ece0}, NULL, 8) = 0 poll([{fd=0, events=POLLIN}], 1, 300000) = 1 ([{fd=0, revents=POLLIN}]) read(0, " ", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER|SA_RESTART, 0x7f5af991ece0}, NULL, 8) = 0 write(1, " ", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER, 0x7f5af991ece0}, NULL, 8) = 0 poll([{fd=0, events=POLLIN}], 1, 300000) = 1 ([{fd=0, revents=POLLIN}]) read(0, "\r", 1) = 1 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER|SA_RESTART, 0x7f5af991ece0}, NULL, 8) = 0 open("/.index", O_RDONLY) = -1 ENOENT (No such file or directory) write(1, "\r\33[37m\33[41m/.index: Datei oder Verzeichnis nicht gefunden (errno = 2)\33[39;49m\33[m\17", 81) = 81 write(1, "\rSigniere als:\33[K ", 18) = 18 rt_sigaction(SIGINT, {0x468c10, [], SA_RESTORER, 0x7f5af991ece0}, NULL, 8) = 0 poll([{fd=0, events=POLLIN}], 1, 300000 ... I probably got it all wrong, at least there should be an obvious way to escape the loop. This is mutt hg rev 6559. Olaf