From: "DeHackEd" Newsgroups: comp.os.msdos.djgpp References: <36D7C305 DOT EA35B5C5 AT wxs DOT nl> Subject: Re: Symify: How to use it? Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Message-ID: Date: Sat, 27 Feb 1999 14:37:45 GMT NNTP-Posting-Host: 142.194.222.173 X-Trace: cabot.ops.attcanada.net 920126265 142.194.222.173 (Sat, 27 Feb 1999 14:37:45 GMT) NNTP-Posting-Date: Sat, 27 Feb 1999 14:37:45 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It's in the FAQ somewhere, but here's the simplest way: Compile your program but use "-g" on the command line on every call of GCC. When your programs is made, run it and let it crash. As soon as you see the screen dump use this example (made by me, not real): Exiting due to SIGSEGV General Protection fault at EIP=0x4f2a4f5 EAX=some large number EBX=the square root of 2 Call frame traceback EIPs: 0x1581a542 0x4af81e28 C:\> symify program.exe And next to the callback EIP you should see filenames and line numbers of where execution stopped. This should help locate your problem (ie is a pointer referenced and not checked for NULL?) -- "DeHackEd" My Email address in the header is fake (spammers). Email me at this address: http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked