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

Peter Colberg peter at colberg.org
Fri Sep 23 21:45:47 UTC 2016


Package: mutt
Version: 1.7.0-5
Severity: important

Dear Maintainer,

Since the inclusion of the neomutt patches, I experience occasional
segmentation faults when viewing a message in the pager. So far I
cannot specify an exact sequence of steps to reproduce the issue.

I reckon the issue occurs after having sent a new message, viewing
that message in the pager, and then adding a new window to my awesome
tiling window manager, which triggers a refresh of the pager.

This is the backtrace of a crash using the symbols from mutt-dbgsym:

(gdb) bt
#0  0x000055eebe3e8bca in hdr_format_str (dest=dest at entry=0x7ffeef83d900 "", destlen=destlen at entry=1024, col=25, cols=cols at entry=119, op=110 'n', src=0x55eebff7e9a4 "   %s%*  -- (%P)", prefix=0x7ffeef83d800 "-20.20", 
    ifstring=0x7ffeef83d880 "%4c", elsestring=0x7ffeef83dd00 "", data=140732916818544, flags=MUTT_FORMAT_MAKEPRINT) at ../../hdrline.c:692
#1  0x000055eebe42ec96 in mutt_FormatString (dest=dest at entry=0x7ffeef83e570 "- d*- -1050820271/10662: 0662 397M]---(threads/last-date-received)", '-' <repeats 45 times>, "(end)---", destlen=1023, col=col at entry=0, cols=119, 
    src=<optimized out>, callback=callback at entry=0x55eebe3e81f0 <hdr_format_str>, data=140732916818544, flags=MUTT_FORMAT_MAKEPRINT) at ../../muttlib.c:1551
#2  0x000055eebe3ea3ab in mutt_make_string_info (dst=dst at entry=0x7ffeef83e570 "- d*- -1050820271/10662: 0662 397M]---(threads/last-date-received)", '-' <repeats 45 times>, "(end)---", dstlen=<optimized out>, cols=<optimized out>, 
    s=<optimized out>, hfi=hfi at entry=0x7ffeef83e270, flags=flags at entry=MUTT_FORMAT_MAKEPRINT) at ../../hdrline.c:1051
#3  0x000055eebe3ff683 in mutt_pager (banner=banner at entry=0x0, fname=fname at entry=0x7ffeef83ee10 "/tmp/mutt-alcyone-1000-29714-8251779491620025653", flags=<optimized out>, flags at entry=66, extra=extra at entry=0x7ffeef83ede0)
    at ../../pager.c:1951
#4  0x000055eebe3c1055 in mutt_display_message (cur=0x55eec03db890) at ../../commands.c:225
#5  0x000055eebe3d168b in mutt_index_menu () at ../../curs_main.c:1905
#6  0x000055eebe3b17aa in main (argc=1, argv=<optimized out>) at ../../main.c:877

My muttrc contains these pager-related settings:

set index_format="%4C %Z %{%b %d} %-15.15F (%?l?%4l&%4c?) %s"
set pager_index_lines=10

Regards,
Peter



More information about the Pkg-mutt-maintainers mailing list