X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <411BABE9.C51645F2@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: program hanging References: <1092258885 DOT 100659 AT proxy2 DOT srv DOT ualberta DOT ca> <1092260628 DOT 675309 AT proxy2 DOT srv DOT ualberta DOT ca> <6480-Thu12Aug2004064609+0300-eliz AT gnu DOT org> <1092322845 DOT 979106 AT proxy2 DOT srv DOT ualberta DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 39 Date: Thu, 12 Aug 2004 18:17:40 GMT NNTP-Posting-Host: 12.76.137.195 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1092334660 12.76.137.195 (Thu, 12 Aug 2004 18:17:40 GMT) NNTP-Posting-Date: Thu, 12 Aug 2004 18:17:40 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com John Hanley wrote: > "Eli Zaretskii" wrote in message >>> From: "John Hanley" >>> >>> When I debugged it this time, I stepped through main() and it got to: >>> >>> list = (struct data_list *) malloc(sizeof(struct data_list)); >>> >>> And this is where it hangs. >> >> Can you ``unhang'' it by typing Ctrl-BREAK at that point? If so, >> what does the traceback tell you? > > App Stack: [00096e24..00016e24] > Exceptn Stack: [00016d80..00014e40] > Call Frame Traceback EIP's > 0x0000c7f8 > 0x0000e9b2 > 0x0000d16e > 0x0000cd3c > 0x0000cc39 > 0x0000c9eb > 0x00005ae2 > 0x000024bd > 0x00002a67 > 0x00001fb9 > 0x00004e18 > > Does that help any? Now run "bfdsymify exefilename" while that is on the screen. I assume you have compiled it with -gstabs+. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!