bin/114617: less(1) SEGV

Steiner, Bernard Bernard.Steiner at lahmeyer.de
Mon Jul 16 22:20:08 UTC 2007


The following reply was made to PR bin/114617; it has been noted by GNATS.

From: "Steiner, Bernard" <Bernard.Steiner at lahmeyer.de>
To: <bug-followup at FreeBSD.org>
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
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>
 <HEAD>
 <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
 charset=3Diso-8859-1">
 <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
 6.5.7638.1">
 <TITLE>Re: bin/114617: less(1) SEGV</TITLE>
 </HEAD>
 <BODY>
 <!-- Converted from text/plain format -->
 
 <P><FONT SIZE=3D2>gotcha:<BR>
 <BR>
 Core was generated by `less'.<BR>
 Program terminated with signal 11, Segmentation fault.<BR>
 #0&nbsp; 0x0804ac54 in ch_length ()<BR>
 &nbsp;&nbsp;&nbsp; at =
 /usr/src/usr.bin/less/../../contrib/less/ch.c:508<BR>
 508&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
 p; if (ch_flags &amp; CH_HELPFILE)<BR>
 <BR>
 and<BR>
 #define ch_flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
 thisfile-&gt;flags<BR>
 <BR>
 (gdb) print thisfile<BR>
 $1 =3D (struct filestate *) 0x0<BR>
 </FONT>
 </P>
 
 </BODY>
 </HTML>
 ------_=_NextPart_001_01C7C7F6.6B7ACB08--


More information about the freebsd-bugs mailing list