From owner-freebsd-stable@FreeBSD.ORG Thu Aug 2 18:38:39 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F1F816A41A for ; Thu, 2 Aug 2007 18:38:39 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 7870313C4A3 for ; Thu, 2 Aug 2007 18:38:39 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.1/8.13.4) with ESMTP id l72I8lM5059196; Thu, 2 Aug 2007 13:08:48 -0500 (CDT) (envelope-from stephen@math.missouri.edu) Message-ID: <46B21DAF.1030209@math.missouri.edu> Date: Thu, 02 Aug 2007 13:08:47 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.5) Gecko/20070729 SeaMonkey/1.1.3 MIME-Version: 1.0 To: David Wolfskill , Ted Hatfield , freebsd-stable@freebsd.org References: <20070802114827.U26646@pat.io.com> <20070802175130.GJ77008@bunrab.catwhisker.org> In-Reply-To: <20070802175130.GJ77008@bunrab.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Bug in less version 406. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 18:38:39 -0000 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