Date: Tue, 5 May 1998 01:04:06 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Doug Lo <jwlo@ms11.hinet.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What does 'segment fault' mean? Message-ID: <Pine.BSF.3.95.980505010124.18134B-100000@current1.whistle.com> In-Reply-To: <354EA035.75EE752@ms11.hinet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
The program tried to access a page (segment) for which it has not yet asked the kernel to make a valid mapping. Usually it's page 0 which is deliberatly left unmapped specifically to force programs with bugs to crash earlier, rather than run with bad data. julian On Tue, 5 May 1998, 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? > > Thanks in advance, > Doug. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?Pine.BSF.3.95.980505010124.18134B-100000>