From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 16 22:20:08 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35E3016A401 for ; Mon, 16 Jul 2007 22:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 25A7413C491 for ; Mon, 16 Jul 2007 22:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6GMK7oL091582 for ; Mon, 16 Jul 2007 22:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6GMK7Uo091580; Mon, 16 Jul 2007 22:20:07 GMT (envelope-from gnats) Date: Mon, 16 Jul 2007 22:20:07 GMT Message-Id: <200707162220.l6GMK7Uo091580@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Steiner, Bernard" Cc: Subject: Re: bin/114617: less(1) SEGV X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Steiner, Bernard" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 22:20:08 -0000 The following reply was made to PR bin/114617; it has been noted by GNATS. From: "Steiner, Bernard" To: Cc: Subject: Re: bin/114617: less(1) SEGV Date: Tue, 17 Jul 2007 00:12:38 +0200 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7C7F6.6B7ACB08 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable gotcha: Core was generated by `less'. Program terminated with signal 11, Segmentation fault. #0 0x0804ac54 in ch_length () at /usr/src/usr.bin/less/../../contrib/less/ch.c:508 508 if (ch_flags & CH_HELPFILE) and #define ch_flags thisfile->flags (gdb) print thisfile $1 =3D (struct filestate *) 0x0 ------_=_NextPart_001_01C7C7F6.6B7ACB08 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: bin/114617: less(1) SEGV

gotcha:

Core was generated by `less'.
Program terminated with signal 11, Segmentation fault.
#0  0x0804ac54 in ch_length ()
    at = /usr/src/usr.bin/less/../../contrib/less/ch.c:508
508           &nbs= p; if (ch_flags & CH_HELPFILE)

and
#define ch_flags        = thisfile->flags

(gdb) print thisfile
$1 =3D (struct filestate *) 0x0

------_=_NextPart_001_01C7C7F6.6B7ACB08--