Date: Thu, 8 Feb 2001 10:29:56 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: GP fault on a new -- why? In-Reply-To: <95sjc9$avu$1@nnrp1.deja.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 Wed, 7 Feb 2001 dcasale AT my-deja DOT com wrote: > Okay, here's all it gives me. No stack trace or anything. > > General Protection Fault at eip-3af9d; flags=3046 > eax=00043406 ebx=000100af ecx=00af00a7 edx=0000001c esi=00af00bf > edi=00000000 ebp=0004342c esp=0000227a cs=a7 ds=a7 es=af fs=bf gs=bf > ss=33 error=0000 You will see in section 12.2 that this message comes from CWSDPMI. It means you crashed the machine so badly that CWSDPMI aborted itself. > I don't know if this'll be any help, tho... It's of _great_ help. The code which crashes is at 0x3af9d. Can you see what's there? One way is to load the program into GDB, then type "list *0x3af9d". You should see the listing of several source lines around the point where it crashes. If "list" doesn't work, try "disassemble 0x3af9d", which should at least say inside what function did it happen.