From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: My program hangs under RHIDE's debugger Date: 09 Nov 2000 11:26:39 -0800 Organization: InterWorld Communications Lines: 26 Sender: nate AT mercury DOT st DOT hmc DOT edu Message-ID: <83u29hdk0g.fsf@mercury.st.hmc.edu> References: <8ueodf$5ep$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: mercury.st.hmc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nntp1.interworld.net 973797999 26430 134.173.57.219 (9 Nov 2000 19:26:39 GMT) X-Complaints-To: usenet AT news DOT interworld DOT net NNTP-Posting-Date: Thu, 9 Nov 2000 19:26:39 +0000 (UTC) User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com dcasale AT my-deja DOT com writes: > > > I tried experimenting around with Nate Eldredge's YAMD (Yet Another > > > Malloc Debugger), but my program hung almost right at the beginning, > > > and didn't even get close to where the original crash occurs. > > > > Did you try this on plain DOS or on Windows? If the former, did you > > use CWSDPMI as your DPMI host? YAMD will not work except with CWSDPMI > > or DPMI 1.0 host. > > Yes, I ran it in plain DOS. (It does direct disk access; it won't even > run in WinBlows.) Yes, I used CWSDPMI. This shouldn't happen, then. One thing, though: try waiting a while. If your program does a lot of malloc, YAMD will make it signficantly slower. If that doesn't help, send me a test case and I'll look at it. (It would be nice if it were simpler than your current example, since I'd rather not run buggy direct disk access code on my machine :) -- Nate Eldredge neldredge AT hmc DOT edu