Date: Mon, 23 Apr 2001 13:50:46 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Rafael Frongillo cc: djgpp AT delorie DOT com Subject: Re: linear hline error In-Reply-To: <20010422203332.34796.qmail@web13303.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 22 Apr 2001, Rafael Frongillo wrote: > Here is the entire crash message: > > Shutting down Allegro > Exiting due to signal SIGSEGV > General Protection Fault at eip=0003fb54 > eax=fcb2fcb2 ebx=00000005 ecx=00000001 edx=0040b5b0 > esi=fffffffb edi=c7a5f30a > ebp=001295c8 esp=001295ba > program=C:\RAFAEL\C__~1\2PLAY\MAIN.EXE > cs: sel=00a7 base=831de000 limit=0040ffff > ds: sel=00af base=831de000 limit=0040ffff > es: sel=00af base=831de000 limit=0040ffff > fs: sel=00af base=831de000 limit=0040ffff > gs: sel=00bf base=00000000 limit=0010ffff > ss: sel=00af base=831de000 limit=0040ffff > App stack: [001297dc..000a97dc] Exceptn stack: > [000a9734..000a77f4] > > Call frame traceback EIPs: > 0x0003fb54 __linear_hline16+484 > 0x0000c920 _circlefill+368 > 0x0000000a 0xa Did you compile with -fomit-frame-pointer? If not, something's wrong with your stack: the traceback above should go all the way to the main function, but it stops prematurely. Other than that, I don't see anything important here; I suggest to run the program under a debugger, and when it gets SIGSEGV, examine the variables involved in the line of code which crashed.