Bug#175163: libc6-2.3.1-8 causing mutt SEGV when opening folders with messages in
Indeed it is a regex thing. It appears this folder-hook is breaking it.
folder-hook . 'push T^\*\*\*\*\*SPAM\*\*\*\*\*\n' # SPAMS tagged
Our mail system uses spamassassin to tag spams, and puts *****SPAM*****
in front of the subject for those messages, I like mutt to auto-tag
these when I open a mailbox so I can easily delete the whole lot, so
long as they've not been tagged incorrectly.
I don't get the crash when I comment that folder-hook out.
the ltrace is around 20Mb, so here's just the end of it, please let me know if more is wanted and I can gzip the whole thing and send it on:
waddnstr(0x080d6644, "Compiling search pattern...", -1) = 0
wclrtoeol(0x080d6644, 0x080c8900, -1, 0xbfffe644, 0x4017a880) = 0
malloc(17) = 0x0818a0c0
memcpy(0x0818a0c0, "^\\*****SPAM*****", 17) = 0x0818a0c0
strchr("^\\*****SPAM*****", '~') = NULL
strcmp("^", "^\\*****SPAM*****") = -92
strcmp(".", "^\\*****SPAM*****") = -48
strchr("~f %s | ~C %s | ~s %s", '%') = "%s | ~C %s | ~s %s"
memcpy(0xbfffe798, "~f ", 3) = 0xbfffe798
strncpy(0xbfffe79b, ""^\\\\*****SPAM*****"", 1021) = 0xbfffe79b
strchr("| ~C %s | ~s %s", '%') = "%s | ~s %s"
memcpy(0xbfffe7ae, " | ~C ", 6) = 0xbfffe7ae
strncpy(0xbfffe7b4, ""^\\\\*****SPAM*****"", 996) = 0xbfffe7b4
strchr("| ~s %s", '%') = "%s"
memcpy(0xbfffe7c7, " | ~s ", 6) = 0xbfffe7c7
strncpy(0xbfffe7cd, ""^\\\\*****SPAM*****"", 971) = 0xbfffe7cd
strchr("", '%') = NULL
strncpy(0xbfffe7e0, "", 952) = 0xbfffe7e0
calloc(1, 28) = 0x0818a1e8
strchr("~!|", '"') = NULL
malloc(128) = 0x0818a208
memcpy(0x0818a208, "^", 1) = 0x0818a208
memcpy(0x0818a209, "\\", 1) = 0x0818a209
memcpy(0x0818a20a, "*", 1) = 0x0818a20a
memcpy(0x0818a20b, "*", 1) = 0x0818a20b
memcpy(0x0818a20c, "*", 1) = 0x0818a20c
memcpy(0x0818a20d, "*", 1) = 0x0818a20d
memcpy(0x0818a20e, "*", 1) = 0x0818a20e
memcpy(0x0818a20f, "S", 1) = 0x0818a20f
memcpy(0x0818a210, "P", 1) = 0x0818a210
memcpy(0x0818a211, "A", 1) = 0x0818a211
memcpy(0x0818a212, "M", 1) = 0x0818a212
memcpy(0x0818a213, "*", 1) = 0x0818a213
memcpy(0x0818a214, "*", 1) = 0x0818a214
memcpy(0x0818a215, "*", 1) = 0x0818a215
memcpy(0x0818a216, "*", 1) = 0x0818a216
memcpy(0x0818a217, "*", 1) = 0x0818a217
memcpy(0x0818a218, "", 1) = 0x0818a218
malloc(32) = 0x0818a290
regcomp(0x0818a290, 0x0818a208, 13, 0x0818a208, 7984 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
Thanks for your help.
On Sun, 05 Jan 2003, GOTO Masanori wrote:
> At Fri, 3 Jan 2003 15:06:26 +0100,
> Rene Engelhard wrote:
> > Ben White wrote:
> > > Whenever I upgrade my libc6/libc6-dev/nscd/locales packages to the
> > > 2.3.1-8 packages, it causes mutt to seg fault when opening mailboxes
> > > with messages in.
> > > Downgrading to 2.3.1-5 fixes the problems. The same problems were
> > > occuring with 2.3.1-6 and -7.
> >
> > Hmm. I use mutt 1.4.0-5 with 2.3.1-8 without problems here....
>
> At Fri, 03 Jan 2003 09:55:38 +0000,
> Ben White wrote:
> > The Segfault happens at the point where the mailbox is sorted:
> >
> > Sorting mailbox...Segmentation fault
> >
> > is what gets displayed.
>
> I guess this is regex or locale problem. Please provide your crash
> with ltrace. ltrace is similar to strace, but it shows libc call
> traces.
>
> Regards,
> -- gotom
>
Reply to: