delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/11/18:00:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "John Hanley" <jdhanley AT telusplanet DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: program hanging
Date: Wed, 11 Aug 2004 15:45:02 -0600
Organization: University of Alberta
Lines: 29
Message-ID: <1092260628.675309@proxy2.srv.ualberta.ca>
References: <1092258885 DOT 100659 AT proxy2 DOT srv DOT ualberta DOT ca>
NNTP-Posting-Host: proxy2.srv.ualberta.ca
X-Trace: tabloid.srv.ualberta.ca 1092260629 855 129.128.5.161 (11 Aug 2004 21:43:49 GMT)
X-Complaints-To: abuse AT ualberta DOT ca
NNTP-Posting-Date: Wed, 11 Aug 2004 21:43:49 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Cache-Post-Path: proxy2.srv.ualberta.ca!unknown AT d199-126-23-72 DOT abhsia DOT telus DOT net
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"John Hanley" <jdhanley AT telusplanet DOT net> wrote in message
news:1092258885 DOT 100659 AT proxy2 DOT srv DOT ualberta DOT ca...
> My DOS program compiled under DJGPP seems to be hanging.  When I try
running
> it, it doesn't even get to the first printf statement in the program.
When

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.  The strange thing is, this piece of code has
been there for a long time, and it's always worked just fine up until a few
moments ago.  And I haven't modified any code before this that would cause
anything to hang (I haven't worked on my main() at all for quite a while).

Any ideas?  Might this be a DOS thing?  I have cwsdpmi.exe installed in my
c:\djgpp\bin directory.  Do I maybe not have something configured right?

It was working fine up until a few minutes ago...

Any ideas?

Thanks again!

John


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019