Date: Thu, 02 Aug 2007 13:08:47 -0500 From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: David Wolfskill <david@catwhisker.org>, Ted Hatfield <ted@pat.io.com>, freebsd-stable@freebsd.org Subject: Re: Bug in less version 406. Message-ID: <46B21DAF.1030209@math.missouri.edu> In-Reply-To: <20070802175130.GJ77008@bunrab.catwhisker.org> References: <20070802114827.U26646@pat.io.com> <20070802175130.GJ77008@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Wolfskill wrote: > On Thu, Aug 02, 2007 at 12:14:37PM -0500, Ted Hatfield wrote: >> Can someone verify this bug for me please and suggest a fix. >> >> Error description: >> >> Using less -E or more to display a file that is less than a full page, >> while then displaying a nonexistent file causes a segmentation fault. > > I was able to recrerate the symptoms using more, but not "less -E". > >> For example on a newly built system you can >> >> less -E /etc/group bogusfile >> >> >> This will display the file ending with >> >> /etc/group (file 1 of 2) (END) - Next: bogusfile >> >> when you press space or return it gives >> >> Segmentation fault: 11 > > I did: > > g1-18(6.2-S)[1] cd /tmp > g1-18(6.2-S)[2] head /etc/group >group > g1-18(6.2-S)[3] less -E group fubar > > and didn't see a problem > > Using more(1), I got: > > g1-18(6.2-S)[5] more group fubar > # $FreeBSD: src/etc/group,v 1.32.2.1 2006/03/06 22:23:10 rwatson Exp $ > # > wheel:*:0:root,david > daemon:*:1: > kmem:*:2: > sys:*:3: > tty:*:4: > operator:*:5:root > mail:*:6: > bin:*:7: > Segmentation fault (core dumped) > g1-18(6.2-S)[6] For me this is one of those intermittent faults. Sometimes it segfaults, and sometimes it doesn't. Stephen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B21DAF.1030209>