From: invalid AT erehwon DOT invalid (Graaagh the Mighty) Newsgroups: comp.os.msdos.djgpp Subject: Peculiar behavior of program. Organization: Low Charisma Anonymous Message-ID: <3b2efaa3.496489@news.primus.ca> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 16 Date: Tue, 19 Jun 2001 07:12:23 GMT NNTP-Posting-Host: 207.176.153.40 X-Complaints-To: news AT primus DOT ca X-Trace: news2.tor.primus.ca 992934615 207.176.153.40 (Tue, 19 Jun 2001 03:10:15 EDT) NNTP-Posting-Date: Tue, 19 Jun 2001 03:10:15 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm trying to debug some kind of memory management problem. Problem is, it refuses to give proper traceback information. In Windows, it causes a reboot, which SHOULD NEVER HAPPEN in protected mode. In DOS, it prints a general protection fault message, but no "call frame traceback EIPs" which is decidedly odd. FSDB segfaults itself on running the program; RHIDE simply silently exits to DOS on attempting to so much as step into the program. When I modified the code so that at certain checkpoints it would open a file, append some info to the file, and close it again (so if it died between checkpoints the file wouldn't be left truncated, but would be readable), and of course the program began to work...*sigh* -- Bill Gates: "No computer will ever need more than 640K of RAM." -- 1980 "There's nobody getting rich writing software that I know of." -- 1980 "This antitrust thing will blow over." -- 1998 Combine neo, an underscore, and one thousand sixty-one to make my hotmail addy.