Bug#842062: mutt segfaults when leaving pager view of composed message on new message

2016-12-11 Thread Ryan Kavanagh
On Sat, Dec 03, 2016 at 08:34:36PM +, Antonio Radici wrote:
> do you mind checking against the latest version (1.7.1-5)?

On Sun, Dec 11, 2016 at 09:17:20PM +0100, Hannes von Haugwitz wrote:
> I can't reproduce the issue with mutt 1.7.1-5.

Nor can I. I think this bug can be marked as done.

Best wishes,
Ryan

-- 
|_)|_/  Ryan Kavanagh  | GPG: 4E46 9519 ED67 7734 268F
| \| \  https://ryanak.ca/ |  BD95 8F7B F8FC 4A11 C97A


signature.asc
Description: PGP signature


Bug#842062: mutt segfaults when leaving pager view of composed message on new message

2016-12-11 Thread Hannes von Haugwitz
Hi,

On Sat, Dec 03, 2016 at 08:34:36PM +, Antonio Radici wrote:
> do you mind checking against the latest version (1.7.1-5)? I believe all pager
> bugs have been fixed and I've also pulled out a patch which might be related

I can't reproduce the issue with mutt 1.7.1-5.

Best regards

Hannes



Bug#842062: mutt segfaults when leaving pager view of composed message on new message

2016-12-03 Thread Antonio Radici
On Tue, Nov 01, 2016 at 11:31:54AM -0400, Ryan Kavanagh wrote:
> 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.

Hi,
do you mind checking against the latest version (1.7.1-5)? I believe all pager
bugs have been fixed and I've also pulled out a patch which might be related



Bug#842062: mutt segfaults when leaving pager view of composed message on new message

2016-11-01 Thread Ryan Kavanagh
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 
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:
.
Find the GDB manual and other documentation resources online at:
.
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=, 
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=, 
flags@entry=256, extra=extra@entry=0x7ffefa104eb0) at ../../pager.c:2034
searchbuf = '\000' 
buffer = "?:Help", '\000' , "\350\003", '\000' 
...
helpstr = "i:Exit  -:PrevPg  :NextPg ?:Help", '\000' 
tmphelp = "i:Exit  -:PrevPg  :NextPg", '\000' 
maxLine = 80
lastLine = 4
lineInfo = 0x56361b918710
QuoteList = 0x0
i = 
j = 
ch = 91
rc = -1
hideQuoted = 
q_level = 0
force_redraw = 0
lines = 
curline = 
topline = 0
oldtopline = 
err = 
first = 
r = 
wrapped = 
searchctx = 
redraw = 0
fp = 0x56361b917050
last_pos = 123
last_offset = 
old_smart_wrap = 
old_markers = 
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 = 
SearchBack = 
has_types = 
index_status_window = 0x56361b917dc0
index_window = 0x56361b917de0
pager_status_window = 0x56361b917e00
pager_window = 0x56361b917e20
index = 0x0
indexlen = 
indicator = 
old_PagerIndexLines = 
index_hint = 0
oldcount = 
check = 1
followup_to = 
#1  0x56361a0a1889 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 = 
#2  0x56361a08c11b in mutt_view_attachment (fp=fp@entry=0x0, 
a=0x56361b9182d0, flag=, flag@entry=1, hdr=hdr@entry=0x0, 
idx=idx@entry=0x56361b88a700, idxlen=) at ../../attach.c:579
info = {ctx = 0x56361b409a30, hdr = 0x0,

Bug#842062: mutt segfaults when leaving pager view of composed message on new message

2016-10-25 Thread Hannes von Haugwitz
Package: mutt
Version: 1.7.1-2
Severity: important

Hi,

mutt 1.7.1-2 segfaults when leaving pager view of composed message on new
message:

Reading /var/mail/hvhaugwitz... 0Segmentation fault

Steps to reproduce (on up to date sid):

- install postfix (local only config), mutt and bsd-mailx

- run mutt as user hvhaugwitz (without config)

- compose mail and open composed message in pager

- $ echo Test | mail -s "Test" hvhaugwitz

- leave pager by pressing 'i' or 'q'

Best regards

Hannes