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

From: ummurr03 AT NOSPAMcc DOT umanitoba DOT ca (LupusNoctus)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Segmentation faults
Date: Thu, 22 Oct 1998 14:06:01 GMT
Organization: The University of Manitoba
Lines: 29
Sender: ummurr03 AT spc-isp-wpg-uas-01-34 DOT sprint DOT ca
Message-ID: <36303b16.19742477@news.cc.umanitoba.ca>
References: <3632e49f DOT 28421782 AT news DOT cc DOT umanitoba DOT ca> <70mva8$peh$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: spc-isp-wpg-uas-01-34.sprint.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

So, how does accessing that memory occur?

I'm using the Vector class, so I shouldn't be able to go beyond the
edges of my 2dimentional array

Seems to happen during my recursive loop, but the base cases are
clearly defined and easily found when stepping thru the loops.

On 22 Oct 1998 09:53:12 GMT, Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin
Stromberg) wrote:

>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