From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: My 3d-Engine acts as if on drugs Date: Wed, 23 Jun 1999 13:58:19 -0400 Organization: Nortel Networks Lines: 21 Message-ID: <3771203B.1341C69F@americasm01.nt.com> References: <37710338 DOT 8513182C AT swipnet DOT se> NNTP-Posting-Host: bmerhc00.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.6 [en] (X11; I; HP-UX B.10.20 9000/712) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Anders David Skarin wrote: > The thing is that when my project becomes large (a few thousand lines) > it always starts to act the same way. > All of a sudden the program will start crashing at points in the program > that havn't been touched for a long time. My 3ds-reader can't find the > correct chunks in the files anymore although i havn't changed a line. > > Even more odd is that usually the program chrashes with a Page Fault the > first time you run it after compilation. The second time it will usually > run, but the screen remains black (no nice gouraud shaded objects:-). > The error this time seams to be that the file isn't read correctly. Old code (that worked before) failing now, is a sure sign of wild pointer access. -- -Rolf Campbell (39)3-6318