Message-ID: <3604E00D.4EE306EF@mailexcite.com> Date: Sun, 20 Sep 1998 06:59:26 -0400 From: Doug Gale MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Tricks of the Game Programming Gurus -> DJGPP References: <19980920032351 DOT 08728 DOT 00001580 AT ng-fc2 DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: oshawappp15.idirect.com Organization: "Usenet User" Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Aaron StJ wrote: > The problem: When a ray is cast verticall, the program goes boom (see the > error it gives me, postes at the end of this message)! In LaMothe's code, > there is something to correct for asymptotes, but it doesn't seem to work as > comiled by gcc. Any suggestions? (email if you want the source I came up with) > > The error it gives me: > > General Protection Fault at eip=00001f63 > eax=0129e005 ebx=00000219 ecx=00000006 edx=0129dfff esi=00000054 edi=0003b824 > ebp=0128df74 esp=0128def0 program=A:\RAY.EXE > cs: sel=00a7 base=82c3e000 limit=0129dfff > ds: sel=00af base=82c3e000 limit=0129dfff > es: sel=00af base=82c3e000 limit=0129dfff > fs: sel=00c7 base=00000000 limit=ffffffff > gs: sel=00c7 base=00000000 limit=ffffffff > ss: sel=00af base=82c3e000 limit=0129dfff > > Call frame traceback EIPs: > 0x00001f63 > 0x000029f9 > 0x00022bc2 > > .---------------------------------------------------------------. > | Aaron St.John - Atari 2600 Collector, djgpp newbie, pov-ray | > | fan, man with the most boring .sig, etc. | > `---------------------------------------------------------------' Run your program, make it print that crash dump quoted above, and type: symify ray.exe This will print the name of all functions on top of the traceback, nested back to your main() function. This will probably help you locate the error in your source.