From owner-freebsd-questions Tue May 5 00:43:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA14497 for freebsd-questions-outgoing; Tue, 5 May 1998 00:43:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA14464 for ; Tue, 5 May 1998 00:42:54 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA11663; Tue, 5 May 1998 17:12:52 +0930 (CST) (envelope-from grog) Message-ID: <19980505171252.W4777@freebie.lemis.com> Date: Tue, 5 May 1998 17:12:52 +0930 From: Greg Lehey To: Doug Lo , freebsd-questions@FreeBSD.ORG Subject: Re: What does 'segment fault' mean? References: <354EA035.75EE752@ms11.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <354EA035.75EE752@ms11.hinet.net>; from Doug Lo on Tue, May 05, 1998 at 01:14:29PM +0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 May 1998 at 13:14:29 +0800, Doug Lo wrote: > Hi, > > I'd be glad if anyone could explain one aspect of unix is puzzling me: > When I run some programs, it got an error: "Segment fault". > I don't know how/why it happened, would anyone tell me the 'Segment > fault' mean? I suppose you mean Segmentation Fault. It means that the program tried to access non-existent or non-accessible memory. This is almost always a program bug, though it could also happen as the result of a swap allocation failure. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message