[Pkg-mutt-maintainers] Bug#838720: mutt: pager segfaults when window is resized
Peter Colberg
peter at colberg.org
Tue Oct 18 01:31:41 UTC 2016
Control: found -1 1.7.1-2
Hi Antonio,
On Fri, Sep 30, 2016 at 07:43:08AM +0000, Antonio Radici wrote:
> 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?
Please see the attached full stacktrace for the latest segfault with
the above version, which occurred right after sending a mail and mutt
outputting “Sorting mailbox...”, the same as with earlier segfaults.
> 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 :)
Hopefully I will send you a minimal muttrc at some point; it is not
trivial since I cannot reproduce the segfault so far and have to wait
for the next one. Since you mentioned the header cache, I deleted the
cache file to make sure there was no accidental corruption, but then
the attached segfault occurred regardless.
Peter
-------------- next part --------------
#0 mutt_pager (banner=banner at entry=0x7ffe4882c6c0 "---Attachment: /tmp/mutt-alcyone-1000-3900-12427186522611139815: text/plain", fname=fname at entry=0x7ffe4882c4c0 "/tmp/mutt-alcyone-1000-3900-17151246448925655235", flags=<optimized out>,
flags at entry=256, extra=extra at entry=0x7ffe4882c390) 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 = 70
lastLine = 24
lineInfo = 0x55a6f6a63460
QuoteList = 0x0
i = <optimized out>
j = <optimized out>
ch = 150
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 = 0x55a6f6a63230
last_pos = 917
last_offset = <optimized out>
old_smart_wrap = <optimized out>
old_markers = <optimized out>
sb = {st_dev = 36, st_ino = 116705, st_nlink = 1, st_mode = 33152, st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 917, st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1476752587, tv_nsec = 907517935},
st_mtim = {tv_sec = 1476752587, tv_nsec = 931517950}, st_ctim = {tv_sec = 1476752587, tv_nsec = 931517950}, __glibc_reserved = {0, 0, 0}}
SearchRE = {buffer = 0x736972702f736461 <error: Cannot access memory at address 0x736972702f736461>, allocated = 8241996531388803444, used = 7364851246852158218, syntax = 3832899941293176676,
fastmap = 0x3238666430656530 <error: Cannot access memory at address 0x3238666430656530>, translate = 0x6165346535326335 <error: Cannot access memory at address 0x6165346535326335>, re_nsub = 3760850262121526374,
can_be_null = 1, regs_allocated = 1, fastmap_accurate = 0, no_sub = 1, not_bol = 1, not_eol = 0, newline_anchor = 0}
SearchCompiled = 0
SearchFlag = <optimized out>
SearchBack = <optimized out>
has_types = <optimized out>
index_status_window = 0x55a6f69eabb0
index_window = 0x55a6f66e46c0
pager_status_window = 0x55a6f66f56f0
pager_window = 0x55a6f69c1090
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 0x000055a6f574e889 in mutt_do_pager (banner=0x7ffe4882c6c0 "---Attachment: /tmp/mutt-alcyone-1000-3900-12427186522611139815: text/plain", tempfile=tempfile at entry=0x7ffe4882c4c0 "/tmp/mutt-alcyone-1000-3900-17151246448925655235",
do_color=do_color at entry=256, info=info at entry=0x7ffe4882c390) at ../../curs_lib.c:784
rc = <optimized out>
#2 0x000055a6f573911b in mutt_view_attachment (fp=fp at entry=0x0, a=0x55a6f7dd2a40, flag=<optimized out>, flag at entry=1, hdr=hdr at entry=0x0, idx=idx at entry=0x55a6f66da5e0, idxlen=<optimized out>) at ../../attach.c:579
info = {ctx = 0x55a6f64f40b0, hdr = 0x0, bdy = 0x55a6f7dd2a40, fp = 0x0, idx = 0x55a6f66da5e0, idxlen = 1}
tempfile = '\000' <repeats 255 times>
pagerfile = "/tmp/mutt-alcyone-1000-3900-17151246448925655235", '\000' <repeats 207 times>
is_message = 0
use_mailcap = <optimized out>
use_pipe = <optimized out>
use_pager = <optimized out>
type = "text/plain\000\366\246U\000\000\000\062\246\366\246U\000\000X\300\064\226\023\177\000\000#\000\000\000\000\000\000\000\276$3\226\023\177\000\000\020\000\000\000\000\000\000\000(ǂH\376\177\000\000\000\000\000\000\000\000\000\000g", '\000' <repeats 23 times>, "P0\246\366\246U\000\000\000\033Ue\267;\b\303\020\062\246\366\246U\000\000X\300\064\226\023\177\000\000w\000\000\000\000\000\000\000\016'3\226\023\177\000\000\316\024\022\226\023\177\000\000g", '\000' <repeats 15 times>, " ", '\000' <repeats 32 times>...
command = "0ȂH\376\177\000\000\377\037\000\000g", '\000' <repeats 12 times>, "\033Ue\267;\b\303`&q\366\246U\000\000p)\335\367\246U\000\000\060ȂH\376\177\000\000\001\000\000\000\000\000\000\000(ȂH\376\177\000\000\260\357\202H\376\177\000\000\001\000\000\000\000\000\000\000\223\204t\365\246U", '\000' <repeats 18 times>, "\070\064\061\060\063\062 at bugs.debian.org", '\000' <repeats 3714 times>...
descrip = "---Attachment: /tmp/mutt-alcyone-1000-3900-12427186522611139815: text/plain", '\000' <repeats 29 times>, " ", '\000' <repeats 23 times>, "\027\000\000\000\000\000\000\000FȂH", '\000' <repeats 12 times>, "g", '\000' <repeats 16 times>, "\033Ue\267;\b\303\320ǂH\376\177\000\000\377\377\377\377", '\000' <repeats 12 times>, "FȂ"...
fname = 0x3f <error: Cannot access memory at address 0x3f>
entry = 0x0
rc = -1
unlink_tempfile = <optimized out>
#3 0x000055a6f5794101 in mutt_attach_display_loop (menu=0x55a6f6a63090, op=<optimized out>, op at entry=200, fp=fp at entry=0x0, hdr=hdr at entry=0x0, cur=cur at entry=0x0, idxp=idxp at entry=0x7ffe4882e900, idxlen=0x7ffe4882e8f4, idxmax=0x0, recv=0)
at ../../recvattach.c:838
idx = <optimized out>
#4 0x000055a6f57499c3 in mutt_compose_menu (msg=0x55a6f7dd28b0, fcc=fcc at entry=0x7ffe4882f550 "=Sent", fcclen=fcclen at entry=256, cur=<optimized out>, flags=flags at 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 500 times>...
buf = "Re: RFS: golang-github-hlandau-dexlogconfig/0.0~git20160722.0.055e2e3-1 [ITP]", '\000' <repeats 946 times>
fname = '\000' <repeats 24 times>, "Q\321z\365\246U", '\000' <repeats 18 times>, "utf-8", '\000' <repeats 202 times>
menu = 0x55a6f6a63090
idx = 0x55a6f66da5e0
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 0x000055a6f579f341 in ci_send_message (flags=<optimized out>, flags at entry=1, msg=<optimized out>, msg at entry=0x0, tempfile=tempfile at entry=0x0, ctx=0x55a6f64f40b0, cur=<optimized out>) at ../../send.c:1781
buffer = "/tmp/mutt-alcyone-1000-3900-12427186522611139815\000\377\377\377\377\377\377\377c\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\060\020\000\000\000\000\000\000@\000\000\000\000\000\000\000\001\001\000\000p\000\000\000\b\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000c\000\000\000o", '\000' <repeats 19 times>, "w\000\000\000|", '\000' <repeats 12 times>, "\vE\224\023\177\000\000\000\020\000\000\000\000\000\000\n", '\000' <repeats 15 times>, "\377\037\000\000\000\000\000\000\260(\335\367\246U\000\000"...
fcc = "=Sent\000peter/Mail/Sent", '\000' <repeats 234 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 0x000055a6f5752564 in mutt_index_menu () at ../../curs_main.c:2914
buf = "---NeoMutt: =Sent [Msgs:76/10731 Inc:1 397M]---(threads/last-date-received)", '-' <repeats 36 times>, "(end)---", '\000' <repeats 904 times>
helpstr = "q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help\000\243\"\225\023\177\000\000\300N\021\226\023\177\000\000\377\001\377\001\a\000\377\377", '\000' <repeats 16 times>, "\250\207\062\226\023\177\000\000 \200\062\226\023\177\000\000\364\313\016\224\023\177\000\000\000\000\000\000\000\000\000\000\b", '\000' <repeats 15 times>, "@%\203H\376\177\000\000\200g\246\366\246U\000\000\002", '\000' <repeats 15 times>, "\002\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000"...
flags = <optimized out>
op = 172
done = 0
i = 74
j = <optimized out>
tag = 0
newcount = 1
oldcount = 1
rc = <optimized out>
menu = 0x55a6f675ed60
cp = <optimized out>
index_hint = 10726
do_buffy_notify = 1
close = 0
attach_msg = 0
#7 0x000055a6f57358f2 in main (argc=1, argv=<optimized out>) at ../../main.c:882
folder = "/home/peter/Mail/INBOX", '\000' <repeats 233 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 = 0
dump_variables = <optimized out>
edit_infile = 0
double_dash = <optimized out>
nargc = <optimized out>
More information about the Pkg-mutt-maintainers
mailing list