Date: Sun, 22 Aug 1999 11:33:04 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Keith Weatherby II cc: djgpp AT delorie DOT com Subject: Re: (KII) - Program works under windows95 but not under dos? In-Reply-To: <19990819094511.24744.00000851@ng-cj1.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 19 Aug 1999, Keith Weatherby II wrote: > Exiting due to signal SIGSEGV > Page fault at eip=0000832b, error=0006 This means that your program attempted to write to a memory location that is not valid. For example, like this: *ptr = 1; where ptr is a pointer whose value is NULL or garbled. Section 12.2 of the DJGPP FAQ list has some advice about how to start debugging your program using the crash dump as a beginning. > eax=00000000 ebx=00092000 ecx=00000424 edx=00000000 esi=00000000 edi=00000010 > ebp=0008c760 esp=0008c708 program=C:\DJGPP\ALLEGRO\MYGAME\ROBOTS.EXE > cs: sel=00a7 base=10000000 limit=0014ffff > ds: sel=00af base=10000000 limit=0014ffff > es: sel=00af base=10000000 limit=0014ffff > fs: sel=00bf base=00000000 limit=ffffffff > gs: sel=00bf base=00000000 limit=ffffffff > ss: sel=00af base=10000000 limit=0014ffff This indicates that you use DJGPP v2.01. I suggest to upgrade to v2.02.