www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/22/05:05:29

From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Segmentation faults
Date: 22 Oct 1998 09:53:12 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 17
Message-ID: <70mva8$peh$1@antares.lu.erisoft.se>
References: <3632e49f DOT 28421782 AT news DOT cc DOT umanitoba DOT ca>
NNTP-Posting-Host: mars.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

LupusNoctus (ummurr03 AT NOSPAMcc DOT umanitoba DOT ca) wrote:
: What are they?  and what causes them at runtime?

: I know I'm not going past the end of my datafile,
: so it must be something to do with the strange recursion I have.

: All I really need to know is what causes a Seg. fault, but if anyone
: needs my source to be more specific, just lemme know by posting a
: reply

There are a lot of reasons, but the most usual one is that you are 
accessing memory you shouldn't access. NULL pointer deference e. g. 


Right,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019