Hi,

On Tue, Oct 25, 2016 at 06:34:43PM +0200, Hannes von Haugwitz wrote:
> mutt 1.7.1-2 segfaults when leaving pager view of composed message on
> new message:

I can reproduce Hannes's bug. It doesn't happen to me every time, but it
happens with an annoying frequency. It also happens after running ispell
on a message. Frequently, the message in the bottom status line at
segfault time is "Fetching headers...".

I've attached two backtraces of the segfault, which look identical
modulo some irrelevant details like account names and FCC.

Please let me know if there's any further debugging information you can
use.

Best wishes,
Ryan

-- 
|_)|_/  Ryan Kavanagh      | GPG: 4E46 9519 ED67 7734 268F
| \| \  https://ryanak.ca/ |      BD95 8F7B F8FC 4A11 C97A
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mutt...Reading symbols from 
/usr/lib/debug/.build-id/83/d373570ab0cbef447dbca093ccec00dc40585f.debug...done.
done.
[New LWP 32691]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mutt -f imaps://imap.srv.cs.cmu.edu/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  mutt_pager (banner=banner@entry=0x7ffefa1051e0 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955: text/plain", 
fname=fname@entry=0x7ffefa104fe0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-5440410379365114369", 
flags=<optimized out>, 
    flags@entry=256, extra=extra@entry=0x7ffefa104eb0) at ../../pager.c:2034
2034    ../../pager.c: No such file or directory.
(gdb) backtrace full
#0  mutt_pager (banner=banner@entry=0x7ffefa1051e0 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955: text/plain", 
fname=fname@entry=0x7ffefa104fe0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-5440410379365114369", 
flags=<optimized out>, 
    flags@entry=256, extra=extra@entry=0x7ffefa104eb0) at ../../pager.c:2034
        searchbuf = '\000' <repeats 255 times>
        buffer = "?:Help", '\000' <repeats 170 times>, "\350\003", '\000' 
<repeats 23 times>...
        helpstr = "i:Exit  -:PrevPg  <Space>:NextPg ?:Help", '\000' <repeats 
216 times>
        tmphelp = "i:Exit  -:PrevPg  <Space>:NextPg", '\000' <repeats 223 times>
        maxLine = 80
        lastLine = 4
        lineInfo = 0x56361b918710
        QuoteList = 0x0
        i = <optimized out>
        j = <optimized out>
        ch = 91
        rc = -1
        hideQuoted = <optimized out>
        q_level = 0
        force_redraw = 0
        lines = <optimized out>
        curline = <optimized out>
        topline = 0
        oldtopline = <optimized out>
        err = <optimized out>
        first = <optimized out>
        r = <optimized out>
        wrapped = <optimized out>
        searchctx = <optimized out>
        redraw = 0
        fp = 0x56361b917050
        last_pos = 123
        last_offset = <optimized out>
        old_smart_wrap = <optimized out>
        old_markers = <optimized out>
        sb = {st_dev = 44, st_ino = 8945660, st_nlink = 1, st_mode = 33152, 
st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 123, 
st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1478013739, tv_nsec = 
1827898}, st_mtim = {tv_sec = 1478013739, 
            tv_nsec = 1827898}, st_ctim = {tv_sec = 1478013739, tv_nsec = 
1827898}, __glibc_reserved = {0, 0, 0}}
        SearchRE = {buffer = 0x0, allocated = 0, used = 0, syntax = 0, fastmap 
= 0x0, translate = 0x0, re_nsub = 0, can_be_null = 0, regs_allocated = 0, 
fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0}
        SearchCompiled = 0
        SearchFlag = <optimized out>
        SearchBack = <optimized out>
        has_types = <optimized out>
        index_status_window = 0x56361b917dc0
        index_window = 0x56361b917de0
        pager_status_window = 0x56361b917e00
        pager_window = 0x56361b917e20
        index = 0x0
        indexlen = <optimized out>
        indicator = <optimized out>
        old_PagerIndexLines = <optimized out>
        index_hint = 0
        oldcount = <optimized out>
        check = 1
        followup_to = <optimized out>
#1  0x000056361a0a1889 in mutt_do_pager (banner=0x7ffefa1051e0 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955: text/plain", 
tempfile=tempfile@entry=0x7ffefa104fe0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-5440410379365114369", 
    do_color=do_color@entry=256, info=info@entry=0x7ffefa104eb0) at 
../../curs_lib.c:784
        rc = <optimized out>
#2  0x000056361a08c11b in mutt_view_attachment (fp=fp@entry=0x0, 
a=0x56361b9182d0, flag=<optimized out>, flag@entry=1, hdr=hdr@entry=0x0, 
idx=idx@entry=0x56361b88a700, idxlen=<optimized out>) at ../../attach.c:579
        info = {ctx = 0x56361b409a30, hdr = 0x0, bdy = 0x56361b9182d0, fp = 
0x0, idx = 0x56361b88a700, idxlen = 1}
        tempfile = '\000' <repeats 255 times>
        pagerfile = 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-5440410379365114369", '\000' <repeats 
195 times>
        is_message = 0
        use_mailcap = <optimized out>
        use_pipe = <optimized out>
        use_pager = <optimized out>
        type = "text/plain", '\000' <repeats 97 times>, "\020", '\000' <repeats 
12 times>, 
"X\200\026\246\020\177\000\000\021\001\000\000\000\000\000\000\016\347\024\246\020\177\000\000p\210\023\033\066V\000\000\017\000\000\000\a",
 '\000' <repeats 11 times>, " ", '\000' <repeats 23 times>, 
"\003\000\000\000\000\000\000\000\000"...
        command = 
"\000\000\000\000\000\000\000\000\000q\256e\021\221\264\313\000\000\000\000\000\000\000\000\000q\256e\021\221\264\313PS\020\372\376\177\000\000\320t\221\033\066V\000\000PS\020\372\376\177\000\000\003\000\000\000\000\000\000\000HS\020\372\376\177\000\000\320z\020\372\376\177\000\000\001\000\000\000\000\000\000\000\223\264\t\032\066V\000\000\350S\020\372\376\177",
 '\000' <repeats 2114 times>...
        descrip = "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955: text/plain", 
'\000' <repeats 16 times>, " ", '\000' <repeats 23 times>, 
"\060\250\023\033\066V", '\000' <repeats 19 times>, 
"q\256e\021\221\264\313pI\024\246\020\177\000\000\000q\256e\021\221\264\313\000\000\000\000\000\000\000\000\377\377\377\377",
 '\000' <repeats 12 times>...
        fname = 0x7ffefa104ef0 ""
        entry = 0x0
        rc = -1
        unlink_tempfile = <optimized out>
#3  0x000056361a0e7101 in mutt_attach_display_loop (menu=0x56361b918400, 
op=<optimized out>, op@entry=200, fp=fp@entry=0x0, hdr=hdr@entry=0x0, 
cur=cur@entry=0x0, idxp=idxp@entry=0x7ffefa107420, idxlen=0x7ffefa107414, 
idxmax=0x0, recv=0) at ../../recvattach.c:838
        idx = <optimized out>
#4  0x000056361a09c9c3 in mutt_compose_menu (msg=0x56361b918220, 
fcc=fcc@entry=0x7ffefa108070 "=INBOX.Sent", fcclen=fcclen@entry=256, 
cur=<optimized out>, flags=flags@entry=0) at ../../compose.c:1294
        helpstr = "y:Send  q:Abort  t:To  c:CC  s:Subj  a:Attach file  
d:Descrip  ?:Help", '\000' <repeats 491 times>...
        buf = "-- CMU SCS: Compose [Approx. msg size: 0.1K Atts: 1]", '-' 
<repeats 221 times>...
        fname = '\000' <repeats 24 times>, "Q\001\020\032\066V", '\000' 
<repeats 18 times>, "utf-8", '\000' <repeats 202 times>
        menu = 0x56361b918400
        idx = 0x56361b88a700
        idxlen = 1
        idxmax = 5
        i = <optimized out>
        close = <optimized out>
        r = -1
        op = 200
        loop = 1
        fccSet = 0
        ctx = 0x0
        this = <optimized out>
        oldSort = <optimized out>
        oldSortAux = <optimized out>
        st = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, 
st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 0, st_blocks = 
0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, 
st_ctim = {tv_sec = 0, tv_nsec = 0}, 
          __glibc_reserved = {0, 0, 0}}
        news = <optimized out>
#5  0x000056361a0f2341 in ci_send_message (flags=<optimized out>, 
flags@entry=0, msg=<optimized out>, msg@entry=0x0, tempfile=tempfile@entry=0x0, 
ctx=0x56361b409a30, cur=<optimized out>, cur@entry=0x0) at ../../send.c:1781
        buffer = 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955\000\000\000\340\207\020\372\376\177\000\000\224\315\364\243\020\177\000\000P\210\020\372\376\177\000\000\000\000\000\000\000\000\000\000\225\000\000\000\000\000\000\000\062\032\020\032\066V\000\000
 
\260\070\032\066V\000\000\000q\221\033\066V\000\000\225\000\000\000\000\000\000\000\004\034\020\032\066V\000\000\340\207\020\372\376\177\000\000
 
\260\070\032\066V\000\000\350\022\071\032\066V\000\000\301\203\v\032\066V\000\000[\000\000\000n\000\000\000\000\202\070\032\066V\000\000q\001\000\000\000\000\000\000\000\000\000\000"...
        fcc = "=INBOX.Sent\000.srv.cs.cmu.edu/INBOX.Sent", '\000' <repeats 217 
times>
        tempfp = 0x0
        pbody = <optimized out>
        i = <optimized out>
        killfrom = 0
        fcc_error = 0
        free_clear_content = <optimized out>
        save_content = 0x0
        clear_content = 0x0
        pgpkeylist = 0x0
        pgp_signas = <optimized out>
        smime_default_key = <optimized out>
        tag = 0x0
        err = 0x0
        ctype = 0x0
        finalpath = 0x0
        rv = -1
#6  0x000056361a0a871f in mutt_index_menu () at ../../curs_main.c:2743
        buf = "---CMU SCS: =INBOX [Msgs:22 New:4 Old:2 Post:1 Inc:1 
217K]---(threads/date)", '-' <repeats 190 times>...
        helpstr = "q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  
?:Help\000\000\000\000\000\000\000\001\300\016\363\245\020\177\000\000\377\001\377\001\377\377\377\377",
 '\000' <repeats 16 times>, "\250G\024\246\020\177\000\000 
@\024\246\020\177\000\000\001", '\000' <repeats 15 times>, 
"^\346\025\246\020\177", '\000' <repeats 11 times>, 
"\020\000\000\000\000\000\000\300\016\363\245\020\177\000\000\300\016\363\245\020\177",
 '\000' <repeats 19 times>, "\020", '\000' <repeats 22 times>...
        flags = <optimized out>
        op = <optimized out>
        done = 0
        i = 0
        j = <optimized out>
        tag = <optimized out>
        newcount = 1
        oldcount = -1
        rc = <optimized out>
        menu = 0x56361b8ab990
        cp = <optimized out>
        index_hint = 18
        do_buffy_notify = 1
        close = 0
        attach_msg = 0
#7  0x000056361a0888f2 in main (argc=1, argv=<optimized out>) at 
../../main.c:882
        folder = "imaps://imap.srv.cs.cmu.edu/", '\000' <repeats 227 times>
        subject = 0x0
        includeFile = 0x0
        draftFile = 0x0
        newMagic = 0x0
        msg = 0x0
        attach = 0x0
        commands = 0x0
        queries = 0x0
        alias_queries = 0x0
        sendflags = 0
        flags = 0
        version = 0
        i = <optimized out>
        explicit_folder = 1
        dump_variables = <optimized out>
        edit_infile = 0
        double_dash = <optimized out>
        nargc = <optimized out>
(gdb) info registers
rax            0x17     23
rbx            0x7ffefa10b480   140733093819520
rcx            0x17     23
rdx            0x0      0
rsi            0x56361b409a30   94790385441328
rdi            0x0      0
rbp            0x7ffefa10b580   0x7ffefa10b580
rsp            0x7ffefa10b330   0x7ffefa10b330
r8             0x17     23
r9             0x0      0
r10            0x8      8
r11            0x246    582
r12            0x1      1
r13            0x56361a15867c   94790365841020
r14            0x3      3
r15            0x0      0
rip            0x56361a0888f2   0x56361a0888f2 <main+5858>
eflags         0x10206  [ PF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb) x/16i $pc
=> 0x56361a0888f2 <main+5858>:  cmpq   $0x0,0x308866(%rip)        # 
0x56361a391160 <Context>
   0x56361a0888fa <main+5866>:  je     0x56361a088908 <main+5880>
   0x56361a0888fc <main+5868>:  lea    0x30885d(%rip),%rdi        # 
0x56361a391160 <Context>
   0x56361a088903 <main+5875>:  callq  0x56361a101b10 <safe_free>
   0x56361a088908 <main+5880>:  cmpq   $0x0,0x308860(%rip)        # 
0x56361a391170 <Labels>
   0x56361a088910 <main+5888>:  je     0x56361a088884 <main+5748>
   0x56361a088916 <main+5894>:  lea    0x308853(%rip),%rdi        # 
0x56361a391170 <Labels>
   0x56361a08891d <main+5901>:  xor    %esi,%esi
   0x56361a08891f <main+5903>:  callq  0x56361a0bfc70 <hash_destroy>
   0x56361a088924 <main+5908>:  jmpq   0x56361a088884 <main+5748>
   0x56361a088929 <main+5913>:  mov    $0x4,%esi
   0x56361a08892e <main+5918>:  jmpq   0x56361a088867 <main+5719>
   0x56361a088933:      nopw   %cs:0x0(%rax,%rax,1)
   0x56361a08893d:      nopl   (%rax)
   0x56361a088940 <_start>:     xor    %ebp,%ebp
   0x56361a088942 <_start+2>:   mov    %rdx,%r9
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7f10a655f880 (LWP 32691)):
#0  mutt_pager (banner=banner@entry=0x7ffefa1051e0 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955: text/plain", 
fname=fname@entry=0x7ffefa104fe0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-5440410379365114369", 
flags=<optimized out>, 
    flags@entry=256, extra=extra@entry=0x7ffefa104eb0) at ../../pager.c:2034
#1  0x000056361a0a1889 in mutt_do_pager (banner=0x7ffefa1051e0 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-32691-12119127754861995955: text/plain", 
tempfile=tempfile@entry=0x7ffefa104fe0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-32691-5440410379365114369", 
    do_color=do_color@entry=256, info=info@entry=0x7ffefa104eb0) at 
../../curs_lib.c:784
#2  0x000056361a08c11b in mutt_view_attachment (fp=fp@entry=0x0, 
a=0x56361b9182d0, flag=<optimized out>, flag@entry=1, hdr=hdr@entry=0x0, 
idx=idx@entry=0x56361b88a700, idxlen=<optimized out>) at ../../attach.c:579
#3  0x000056361a0e7101 in mutt_attach_display_loop (menu=0x56361b918400, 
op=<optimized out>, op@entry=200, fp=fp@entry=0x0, hdr=hdr@entry=0x0, 
cur=cur@entry=0x0, idxp=idxp@entry=0x7ffefa107420, idxlen=0x7ffefa107414, 
idxmax=0x0, recv=0) at ../../recvattach.c:838
#4  0x000056361a09c9c3 in mutt_compose_menu (msg=0x56361b918220, 
fcc=fcc@entry=0x7ffefa108070 "=INBOX.Sent", fcclen=fcclen@entry=256, 
cur=<optimized out>, flags=flags@entry=0) at ../../compose.c:1294
#5  0x000056361a0f2341 in ci_send_message (flags=<optimized out>, 
flags@entry=0, msg=<optimized out>, msg@entry=0x0, tempfile=tempfile@entry=0x0, 
ctx=0x56361b409a30, cur=<optimized out>, cur@entry=0x0) at ../../send.c:1781
#6  0x000056361a0a871f in mutt_index_menu () at ../../curs_main.c:2743
#7  0x000056361a0888f2 in main (argc=1, argv=<optimized out>) at 
../../main.c:882
(gdb) quit
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mutt...Reading symbols from 
/usr/lib/debug/.build-id/83/d373570ab0cbef447dbca093ccec00dc40585f.debug...done.
done.
[New LWP 20365]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mutt -f imaps://ryana...@gmail.com@imap.gmail.com/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  mutt_pager (banner=banner@entry=0x7ffdc853a350 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427: text/plain", 
fname=fname@entry=0x7ffdc853a150 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-4220592612190601", flags=<optimized 
out>, 
    flags@entry=256, extra=extra@entry=0x7ffdc853a020) at ../../pager.c:2034
2034    ../../pager.c: No such file or directory.
(gdb) backtrace full
#0  mutt_pager (banner=banner@entry=0x7ffdc853a350 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427: text/plain", 
fname=fname@entry=0x7ffdc853a150 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-4220592612190601", flags=<optimized 
out>, flags@entry=256, extra=extra@entry=0x7ffdc853a020) at ../../pager.c:2034
        searchbuf = '\000' <repeats 255 times>
        buffer = "?:Help", '\000' <repeats 170 times>, "\350\003", '\000' 
<repeats 23 times>...
        helpstr = "i:Exit  -:PrevPg  <Space>:NextPg ?:Help", '\000' <repeats 
216 times>
        tmphelp = "i:Exit  -:PrevPg  <Space>:NextPg", '\000' <repeats 223 times>
        maxLine = 80
        lastLine = 77
        lineInfo = 0x5562ea093790
        QuoteList = 0x0
        i = <optimized out>
        j = <optimized out>
        ch = -1
        rc = -1
        hideQuoted = <optimized out>
        q_level = 0
        force_redraw = 0
        lines = <optimized out>
        curline = <optimized out>
        topline = 0
        oldtopline = <optimized out>
        err = <optimized out>
        first = <optimized out>
        r = <optimized out>
        wrapped = <optimized out>
        searchctx = <optimized out>
        redraw = 0
        fp = 0x5562ea08fe70
        last_pos = 3146
        last_offset = <optimized out>
        old_smart_wrap = <optimized out>
        old_markers = <optimized out>
        sb = {st_dev = 44, st_ino = 8944805, st_nlink = 1, st_mode = 33152, 
st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 4604, 
st_blksize = 4096, st_blocks = 16, st_atim = {tv_sec = 1478011128, tv_nsec = 
335644657}, st_mtim = {tv_sec = 1478011128, tv_nsec = 335644657}, st_ctim = 
{tv_sec = 1478011128, tv_nsec = 335644657}, __glibc_reserved = {0, 0, 0}}
        SearchRE = {buffer = 0x616553206f742068 <error: Cannot access memory at 
address 0x616553206f742068>, allocated = 8031172031579365486, used = 
8248096905418449006, syntax = 8391173045207004271, fastmap = 0x2065687420666f20 
<error: Cannot access memory at address 0x2065687420666f20>, translate = 
0x6f7475742077656e <error: Cannot access memory at address 0x6f7475742077656e>, 
re_nsub = 7863353163877804402, can_be_null = 1, regs_allocated = 0, 
fastmap_accurate = 0, no_sub = 0, not_bol = 1, not_eol = 1, newline_anchor = 0}
        SearchCompiled = 0
        SearchFlag = <optimized out>
        SearchBack = <optimized out>
        has_types = <optimized out>
        index_status_window = 0x5562ea0902c0
        index_window = 0x5562ea0902e0
        pager_status_window = 0x5562ea090300
        pager_window = 0x5562ea090320
        index = 0x0
        indexlen = <optimized out>
        indicator = <optimized out>
        old_PagerIndexLines = <optimized out>
        index_hint = 0
        oldcount = <optimized out>
        check = 3
        followup_to = <optimized out>
#1  0x00005562e8568889 in mutt_do_pager (banner=0x7ffdc853a350 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427: text/plain", 
tempfile=tempfile@entry=0x7ffdc853a150 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-4220592612190601", 
do_color=do_color@entry=256, info=info@entry=0x7ffdc853a020) at 
../../curs_lib.c:784
        rc = <optimized out>
#2  0x00005562e855311b in mutt_view_attachment (fp=fp@entry=0x0, 
a=0x5562ea0743f0, flag=<optimized out>, flag@entry=1, hdr=hdr@entry=0x0, 
idx=idx@entry=0x5562ea0743c0, idxlen=<optimized out>) at ../../attach.c:579
        info = {ctx = 0x5562e9945320, hdr = 0x0, bdy = 0x5562ea0743f0, fp = 
0x0, idx = 0x5562ea0743c0, idxlen = 1}
        tempfile = '\000' <repeats 255 times>
        pagerfile = 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-4220592612190601", '\000' <repeats 
198 times>
        is_message = 0
        use_mailcap = <optimized out>
        use_pipe = <optimized out>
        use_pager = <optimized out>
        type = "text/plain", '\000' <repeats 245 times>
        command = '\000' <repeats 16 times>, 
"Xd\006_\004\177\000\000\000\000\000\000\000\000\000\000G\245S\310\375\177\000\000\a\000\000\000\000\000\000\000ĤS\310\375\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000<
 \320^\004\177\000\000G\245S\310\375\177\000\000\321\306[\350bU", '\000' 
<repeats 14 times>, 
"\005\000\000\000\000\000\000\000d\000\000\000\000\376e\222\006\tΙG\245S\310\375\177\000\000\251\275[\350bU\000\000\277\027b\350bU\000\000\v\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000@\245S\310\375\177\000\000\277\027b\350bU\000\000\336\312[\350bU\000\000\b\000\000\000\000\000\000\000\000F"...
        descrip = "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427: text/plain", 
'\000' <repeats 168 times>
        fname = 0x0
        entry = 0x0
        rc = -1
        unlink_tempfile = <optimized out>
#3  0x00005562e85ae101 in mutt_attach_display_loop (menu=0x5562ea074070, 
op=<optimized out>, op@entry=200, fp=fp@entry=0x0, hdr=hdr@entry=0x0, 
cur=cur@entry=0x0, idxp=idxp@entry=0x7ffdc853c590, idxlen=0x7ffdc853c584, 
idxmax=0x0, recv=0) at ../../recvattach.c:838
        idx = <optimized out>
#4  0x00005562e85639c3 in mutt_compose_menu (msg=0x5562ea0741e0, 
fcc=fcc@entry=0x7ffdc853d1e0 "", fcclen=fcclen@entry=256, cur=<optimized out>, 
flags=flags@entry=0) at ../../compose.c:1294
        helpstr = "y:Send  q:Abort  t:To  c:CC  s:Subj  a:Attach file  
d:Descrip  ?:Help", '\000' <repeats 491 times>...
        buf = "-- GMAIL: Compose [Approx. msg size: 4.5K Atts: 1]", '-' 
<repeats 223 times>...
        fname = '\000' <repeats 24 times>, "Qq\\\350bU", '\000' <repeats 18 
times>, "utf-8", '\000' <repeats 202 times>
        menu = 0x5562ea074070
        idx = 0x5562ea0743c0
        idxlen = 1
        idxmax = 5
        i = <optimized out>
        close = <optimized out>
        r = -1
        op = 200
        loop = 1
        fccSet = 0
        ctx = 0x0
        this = <optimized out>
        oldSort = <optimized out>
        oldSortAux = <optimized out>
        st = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, 
st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 0, st_blocks = 
0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, 
st_ctim = {tv_sec = 0, tv_nsec = 0}, __glibc_reserved = {0, 0, 0}}
        news = <optimized out>
#5  0x00005562e85b9341 in ci_send_message (flags=<optimized out>, 
flags@entry=1, msg=<optimized out>, msg@entry=0x0, tempfile=tempfile@entry=0x0, 
ctx=0x5562e9945320, cur=<optimized out>) at ../../send.c:1781
        buffer = 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427", '\000' <repeats 
12 times>, 
"`\327S\310\375\177\000\000c\342S\310\375\177\000\000P\201\334\351bU\000\000\000\004\000\000\000\000\000\000`\324S\310\375\177\000\000`\326S\310\375\177\000\000\b)\334^\004\177\000\000\000\000\000\000\000\000\000\000\060\000\000\000\060\000\000\000@\324S\310\375\177\000\000\200\323S\310\375\177",
 '\000' <repeats 42 times>...
        fcc = '\000' <repeats 255 times>
        tempfp = 0x0
        pbody = <optimized out>
        i = <optimized out>
        killfrom = 0
        fcc_error = 0
        free_clear_content = <optimized out>
        save_content = 0x0
        clear_content = 0x0
        pgpkeylist = 0x0
        pgp_signas = <optimized out>
        smime_default_key = <optimized out>
        tag = 0x0
        err = 0x0
        ctype = 0x0
        finalpath = 0x0
        rv = -1
#6  0x00005562e85a1a42 in mutt_pager (banner=banner@entry=0x0, 
fname=fname@entry=0x7ffdc85403d0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-7209461341204713589", 
flags=<optimized out>, flags@entry=66, extra=extra@entry=0x7ffdc85403a0) at 
../../pager.c:2808
        searchbuf = '\000' <repeats 255 times>
        buffer = "-N L-GMAIL: 624/628: Ian Jackson          dgit 2.9 - for 
everyone\000\061n4qDngswPBuiE0HHFXS8SEmUNInt5nalwVMJ\nbivUy5jqsSXIV4SBNm7q78ezixy6FAJHMVPz29vJ9o0=\n=JOMQ\n-----END
 PGP SIGNATURE-----\n\nd build and work"...
        helpstr = "i:Exit  -:PrevPg  <Space>:NextPg v:View Attachm.  d:Del  
r:Reply  j:Next ?:Help", '\000' <repeats 65 times>, "us-ascii", '\000' <repeats 
103 times>
        tmphelp = "i:Exit  -:PrevPg  <Space>:NextPg v:View Attachm.  d:Del  
r:Reply  j:Next", '\000' <repeats 183 times>
        maxLine = 160
        lastLine = 115
        lineInfo = 0x5562ea091980
        QuoteList = 0x0
        i = <optimized out>
        j = <optimized out>
        ch = 172
        rc = 172
        hideQuoted = <optimized out>
        q_level = 0
        force_redraw = 0
        lines = <optimized out>
        curline = <optimized out>
        topline = 0
        oldtopline = <optimized out>
        err = <optimized out>
        first = <optimized out>
        r = <optimized out>
        wrapped = <optimized out>
        searchctx = <optimized out>
        redraw = 0
        fp = 0x5562ea08e380
        last_pos = 2953
        last_offset = <optimized out>
        old_smart_wrap = <optimized out>
        old_markers = <optimized out>
        sb = {st_dev = 44, st_ino = 8944767, st_nlink = 1, st_mode = 33152, 
st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 4409, 
st_blksize = 4096, st_blocks = 16, st_atim = {tv_sec = 1478011088, tv_nsec = 
543428850}, st_mtim = {tv_sec = 1478011089, tv_nsec = 771435509}, st_ctim = 
{tv_sec = 1478011089, tv_nsec = 771435509}, __glibc_reserved = {0, 0, 0}}
        SearchRE = {buffer = 0x0, allocated = 0, used = 0, syntax = 0, fastmap 
= 0x0, translate = 0x0, re_nsub = 0, can_be_null = 0, regs_allocated = 0, 
fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0}
        SearchCompiled = 0
        SearchFlag = <optimized out>
        SearchBack = <optimized out>
        has_types = <optimized out>
        index_status_window = 0x5562ea08ebb0
        index_window = 0x5562ea08ebd0
        pager_status_window = 0x5562ea08ebf0
        pager_window = 0x5562ea08ec10
        index = 0x5562ea08ec30
        indexlen = <optimized out>
        indicator = <optimized out>
        old_PagerIndexLines = <optimized out>
        index_hint = 0
        oldcount = <optimized out>
        check = <optimized out>
        followup_to = <optimized out>
#7  0x00005562e855f725 in mutt_display_message (cur=0x5562e9ff49b0) at 
../../commands.c:225
        info = {ctx = 0x5562e9945320, hdr = 0x5562e9ff49b0, bdy = 0x0, fp = 
0x0, idx = 0x0, idxlen = 0}
        tempfile = 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-7209461341204713589", '\000' <repeats 
61 times>, 
"\376e\222\006\tΙ\t\000\000\000\000\000\000\000\021\001\000\000\000\000\000\000\346\004T\310\375\177\000\000\000\376e\222\006\tΙ\250\347\363`\004\177\000\000:\260\322`\004\177\000\000\000\000\000\000\000\000\000\001\300\256\322`\004\177\000\000p\351\363`\004\177\000\000\000\376"...
        buf = 
"text/plain\000`\004\177\000\000\020\001\000\000\000\000\000\000\b\000\000\000\000\000\000\000@\005T\310\375\177\000\000\377\377\377\377\000\000\000\000\020\000\000\000\000\000\000\000\211
 \365`\004\177\000\000 
\340\363`\001\000\000\000\377\377\377\377\377\377\377\377`\005T\310\375\177\000\000\300\256\322`\004\177\000\000
 (\016#   
0\300\256\322`\004\177\000\000`\005T\310\375\177\000\000h\005T\310\375\177\000\000\367\001\000\000\000\000\000\000\377\001\000\000\000\000\000\000\033[9;273H\000\000\000\000\000\000\000\000@\322g\351bU\000\000`\006T\310\375\177\000\000p\351\363`\004\177\000\000\000\376e\222\006\tΙ\001\000\000\000\000\000\000\000\325"...
        rc = 0
        builtin = 1
        cmflags = <optimized out>
        chflags = <optimized out>
        fpout = 0x0
        fpfilterout = 0x0
        filterpid = <optimized out>
        res = 0
#8  0x00005562e857035a in mutt_index_menu () at ../../curs_main.c:1922
        buf = "-*-GMAIL: =INBOX [Msgs:628 New:63 Old:298 Flag:15 Post:24 Inc:10 
66M]---(threads/date)", '-' <repeats 179 times>...
        helpstr = "q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  
?:Help\000\000\000\000\000\000\000\001\300\256\322`\004\177\000\000\377\001\377\001\377\377\377\377",
 '\000' <repeats 16 times>, "\250\347\363`\004\177\000\000 
\340\363`\004\177\000\000\001", '\000' <repeats 15 times>, 
"^\206\365`\004\177", '\000' <repeats 11 times>, 
"\020\000\000\000\000\000\000\300\256\322`\004\177\000\000\300\256\322`\004\177",
 '\000' <repeats 19 times>, "\020", '\000' <repeats 22 times>...
        flags = <optimized out>
        op = <optimized out>
        done = 0
        i = 0
        j = <optimized out>
        tag = 0
        newcount = 10
        oldcount = 10
        rc = <optimized out>
        menu = 0x5562e9e77310
        cp = <optimized out>
        index_hint = 623
        do_buffy_notify = 1
        close = 0
        attach_msg = 0
#9  0x00005562e854f8f2 in main (argc=1, argv=<optimized out>) at 
../../main.c:882
        folder = "imaps://ryana...@gmail.com@imap.gmail.com/", '\000' <repeats 
213 times>
        subject = 0x0
        includeFile = 0x0
        draftFile = 0x0
        newMagic = 0x0
        msg = 0x0
        attach = 0x0
        commands = 0x0
        queries = 0x0
        alias_queries = 0x0
        sendflags = 0
        flags = 0
        version = 0
        i = <optimized out>
        explicit_folder = 1
        dump_variables = <optimized out>
        edit_infile = 0
        double_dash = <optimized out>
        nargc = <optimized out>
(gdb) info registers
rax            0x272    626
rbx            0x7ffdc85417e0   140727964407776
rcx            0x272    626
rdx            0x0      0
rsi            0x5562e9945320   93883313967904
rdi            0x0      0
rbp            0x7ffdc85418e0   0x7ffdc85418e0
rsp            0x7ffdc8541690   0x7ffdc8541690
r8             0x272    626
r9             0x0      0
r10            0x8      8
r11            0x246    582
r12            0x1      1
r13            0x5562e861f67c   93883293890172
r14            0x3      3
r15            0x0      0
rip            0x5562e854f8f2   0x5562e854f8f2 <main+5858>
eflags         0x10206  [ PF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb) x/16i $pc
=> 0x5562e854f8f2 <main+5858>:  cmpq   $0x0,0x308866(%rip)        # 
0x5562e8858160 <Context>
   0x5562e854f8fa <main+5866>:  je     0x5562e854f908 <main+5880>
   0x5562e854f8fc <main+5868>:  lea    0x30885d(%rip),%rdi        # 
0x5562e8858160 <Context>
   0x5562e854f903 <main+5875>:  callq  0x5562e85c8b10 <safe_free>
   0x5562e854f908 <main+5880>:  cmpq   $0x0,0x308860(%rip)        # 
0x5562e8858170 <Labels>
   0x5562e854f910 <main+5888>:  je     0x5562e854f884 <main+5748>
   0x5562e854f916 <main+5894>:  lea    0x308853(%rip),%rdi        # 
0x5562e8858170 <Labels>
   0x5562e854f91d <main+5901>:  xor    %esi,%esi
   0x5562e854f91f <main+5903>:  callq  0x5562e8586c70 <hash_destroy>
   0x5562e854f924 <main+5908>:  jmpq   0x5562e854f884 <main+5748>
   0x5562e854f929 <main+5913>:  mov    $0x4,%esi
   0x5562e854f92e <main+5918>:  jmpq   0x5562e854f867 <main+5719>
   0x5562e854f933:      nopw   %cs:0x0(%rax,%rax,1)
   0x5562e854f93d:      nopl   (%rax)
   0x5562e854f940 <_start>:     xor    %ebp,%ebp
   0x5562e854f942 <_start+2>:   mov    %rdx,%r9
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7f0461359880 (LWP 20365)):
#0  mutt_pager (banner=banner@entry=0x7ffdc853a350 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427: text/plain", 
fname=fname@entry=0x7ffdc853a150 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-4220592612190601", flags=<optimized 
out>, flags@entry=256, extra=extra@entry=0x7ffdc853a020) at ../../pager.c:2034
#1  0x00005562e8568889 in mutt_do_pager (banner=0x7ffdc853a350 "---Attachment: 
/home/rak/.mutt/tmp/mutt-zeta-1000-20365-5676676701943005427: text/plain", 
tempfile=tempfile@entry=0x7ffdc853a150 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-4220592612190601", 
do_color=do_color@entry=256, info=info@entry=0x7ffdc853a020) at 
../../curs_lib.c:784
#2  0x00005562e855311b in mutt_view_attachment (fp=fp@entry=0x0, 
a=0x5562ea0743f0, flag=<optimized out>, flag@entry=1, hdr=hdr@entry=0x0, 
idx=idx@entry=0x5562ea0743c0, idxlen=<optimized out>) at ../../attach.c:579
#3  0x00005562e85ae101 in mutt_attach_display_loop (menu=0x5562ea074070, 
op=<optimized out>, op@entry=200, fp=fp@entry=0x0, hdr=hdr@entry=0x0, 
cur=cur@entry=0x0, idxp=idxp@entry=0x7ffdc853c590, idxlen=0x7ffdc853c584, 
idxmax=0x0, recv=0) at ../../recvattach.c:838
#4  0x00005562e85639c3 in mutt_compose_menu (msg=0x5562ea0741e0, 
fcc=fcc@entry=0x7ffdc853d1e0 "", fcclen=fcclen@entry=256, cur=<optimized out>, 
flags=flags@entry=0) at ../../compose.c:1294
#5  0x00005562e85b9341 in ci_send_message (flags=<optimized out>, 
flags@entry=1, msg=<optimized out>, msg@entry=0x0, tempfile=tempfile@entry=0x0, 
ctx=0x5562e9945320, cur=<optimized out>) at ../../send.c:1781
#6  0x00005562e85a1a42 in mutt_pager (banner=banner@entry=0x0, 
fname=fname@entry=0x7ffdc85403d0 
"/home/rak/.mutt/tmp/mutt-zeta-1000-20365-7209461341204713589", 
flags=<optimized out>, flags@entry=66, extra=extra@entry=0x7ffdc85403a0) at 
../../pager.c:2808
#7  0x00005562e855f725 in mutt_display_message (cur=0x5562e9ff49b0) at 
../../commands.c:225
#8  0x00005562e857035a in mutt_index_menu () at ../../curs_main.c:1922
#9  0x00005562e854f8f2 in main (argc=1, argv=<optimized out>) at 
../../main.c:882
(gdb) quit

Attachment: signature.asc
Description: PGP signature

Reply via email to