From: Alastair Duncan Newsgroups: comp.os.msdos.djgpp Subject: Re: AAAAAAHhhhh! Allegro problem! Date: Tue, 23 Jun 1998 22:29:25 +0000 (GMT) Organization: None Lines: 32 Message-ID: <485aeab4fbalastairduncan@argonet.co.uk> References: <358C2072 DOT 511B1F3C AT netrover DOT com> NNTP-Posting-Host: af205.du.pipex.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <358C2072 DOT 511B1F3C AT netrover DOT com>, Nicolas Blais wrote: > Man, what a problem, my program works fine, everything goes well but > when I exit, I get some Allegro problem: > Shutting down Allegro > Exiting due to signal SIGSEGV > General Protection Fault at eip=00038b5a > eax=ffffffff ebx=0307e0bd ecx=0307e0c1 edx=00006000 esi=00000000 > edi=00000008 > ebp=000a80a4 esp=000a80a0 program=C:\DJGPP\PROJECTS\QFPC.EXE > cs: sel=00af base=83116000 limit=0018ffff > ds: sel=00b7 base=83116000 limit=0018ffff > es: sel=00b7 base=83116000 limit=0018ffff > fs: sel=00c7 base=00000000 limit=ffffffff > gs: sel=00c7 base=00000000 limit=ffffffff > ss: sel=00b7 base=83116000 limit=0018ffff > Call frame traceback EIPs: > 0x00038b5a > 0x00015d3a > Can it be fixed? I you want, I can also send my source if it helps. > Please help, Nicolas. It looks to me like you are exiting the program before you have closed down Allegro. Make sure Allegro has been exited correctly before exiting your program. Alastair