[Pkg-mutt-maintainers] Bug#838720: mutt: pager segfaults when window is resized

Antonio Radici antonio at debian.org
Fri Sep 30 07:43:08 UTC 2016


On Fri, Sep 30, 2016 at 12:01:51AM -0400, Peter Colberg wrote:
> Control: found -1 1.7.0-6
> 
> Hi Antonio,
> 
> On Mon, Sep 26, 2016 at 04:38:00AM +0000, Antonio Radici wrote:
> > when I informally talked to Richard, the NeoMutt maintainer, he told me that
> > this might be fixed starting from 20160916, which means that we expect this to
> > be fixed starting from 1.7.0-6 in Debian, do you mind letting us know whether
> > this is still reproducible?
> 
> Unfortunately the bug is still present:
> 
> (gdb) bt
> #0  mutt_user_is_recipient (h=h at entry=0x55c6cb9c0ce0) at ../../hdrline.c:216
> #1  0x000055c6c9ad2667 in hdr_format_str (dest=dest at entry=0x7ffe38b82980 "", destlen=destlen at entry=1024, col=1, cols=cols at entry=119, op=<optimized out>, src=0x55c6cb932993 "- %C/%m: %-20.20n   %s%*  -- (%P)", prefix=0x7ffe38b82880 "", 
>     ifstring=0x7ffe38b82900 "%4c", elsestring=0x7ffe38b82d80 "@/\270\070\001", data=140729850016496, flags=MUTT_FORMAT_MAKEPRINT) at ../../hdrline.c:902
> #2  0x000055c6c9b18e76 in mutt_FormatString (dest=dest at entry=0x7ffe38b835f0 "-*-NeoMutt: ~/.cache/devscripts/bts/760277.mbox [Msgs:4 18K]---(threads/last-date-received)", '-' <repeats 20 times>, "(all)---", destlen=1023, col=col at entry=0, 
>     cols=119, src=<optimized out>, callback=callback at entry=0x55c6c9ad22f0 <hdr_format_str>, data=140729850016496, flags=MUTT_FORMAT_MAKEPRINT) at ../../muttlib.c:1571
> #3  0x000055c6c9ad454b in mutt_make_string_info (dst=dst at entry=0x7ffe38b835f0 "-*-NeoMutt: ~/.cache/devscripts/bts/760277.mbox [Msgs:4 18K]---(threads/last-date-received)", '-' <repeats 20 times>, "(all)---", dstlen=<optimized out>, 
>     cols=<optimized out>, s=<optimized out>, hfi=hfi at entry=0x7ffe38b832f0, flags=flags at entry=MUTT_FORMAT_MAKEPRINT) at ../../hdrline.c:1049
> #4  0x000055c6c9ae9821 in mutt_pager (banner=banner at entry=0x0, fname=fname at entry=0x7ffe38b83e90 "/tmp/mutt-alcyone-1000-12431-10957457911605671007", flags=<optimized out>, flags at entry=66, extra=extra at entry=0x7ffe38b83e60)
>     at ../../pager.c:1951
> #5  0x000055c6c9aab165 in mutt_display_message (cur=0x55c6cb9c0ce0) at ../../commands.c:225
> #6  0x000055c6c9abb79b in mutt_index_menu () at ../../curs_main.c:1908
> #7  0x000055c6c9a9b7fa in main (argc=1, argv=<optimized out>) at ../../main.c:876
> 
> 
> This time I had opened two separate windows, each running mutt with
> the same mailbox open. I was viewing a message in the first mutt,
> and composing a reply to another message in the second mutt.
> 
> After sending the reply and closing the second mutt (which marked
> the message as replied), the first mutt crashed with this notice:
> 
> Sorting mailbox...Segmentation fault (core dumped)

Hi Peter,
unfortunately I'm still unable to reproduce it, I believe it's due to the
configuration. The problem itself might be due to the header cache or some other
reason, do you mind sending me the output of bt full on the corefile?

Feel free to send it privately if you want.

Additionally, if you could devise a minimum set of ocnfiguration (i.e.: a
minimal .muttrc) that I can use to reproduce this bug, it will be great and it
will ensure that I will be able to fix it quicker :)



More information about the Pkg-mutt-maintainers mailing list