Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 1998 17:12:52 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Doug Lo <jwlo@ms11.hinet.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: What does 'segment fault' mean?
Message-ID:  <19980505171252.W4777@freebie.lemis.com>
In-Reply-To: <354EA035.75EE752@ms11.hinet.net>; from Doug Lo on Tue, May 05, 1998 at 01:14:29PM %2B0800
References:  <354EA035.75EE752@ms11.hinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980505171252.W4777>