X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3CB045A9.F1144A96@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Exiting due to signal SIGSEGV References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 35 Date: Sun, 07 Apr 2002 13:57:44 GMT NNTP-Posting-Host: 12.90.173.57 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1018187864 12.90.173.57 (Sun, 07 Apr 2002 13:57:44 GMT) NNTP-Posting-Date: Sun, 07 Apr 2002 13:57:44 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Sat, 6 Apr 2002, Tina wrote: > > > When I run a dj-complied exe program. I always get the > > following information: > > > > Exiting due to signal SIGSEGV ... snip ... > > In a nutshell: your program has a bug. It crashes because it tried to > access an address that is not part of the program's address space. In > other words, some pointer is garbled. > > In this case, the EIP register, the instruction pointer, has the garbled > value 0x65726574. This value seems to be part of some ASCII text > ("tere", little-endian). Does that text ring a bell? > > The DJGPP FAQ list descdribes in section 12.2 how to start debugging your > program using the information in the crash message. Is there any special reason that addr2line is not incorporated in symify? Why have the user need to transcribe hex addresses from the screen? Another convenience: At least with 4dos an environment variable CMDLINE is left, so symify without parameters could use that by default. Or is there a problem with doing so? -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!