From: invalid AT erehwon DOT invalid (Graaagh the Mighty) Newsgroups: comp.os.msdos.djgpp Subject: Re: CWSDPMI registers/symify [was Re: Peculiar behavior of program.] Organization: Low Charisma Anonymous Message-ID: <3b3c1335.263844384@news.primus.ca> References: <3b3b4948 DOT 212143163 AT news DOT primus DOT ca> <3405-Thu28Jun2001193951+0300-eliz AT is DOT elta DOT co DOT il> <3b3be8da DOT 252999345 AT news DOT primus DOT ca> <3b3bc6f7 DOT sandmann AT clio DOT rice DOT edu> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 29 Date: Fri, 29 Jun 2001 05:37:18 GMT NNTP-Posting-Host: 207.176.153.3 X-Complaints-To: news AT primus DOT ca X-Trace: news2.tor.primus.ca 993793184 207.176.153.3 (Fri, 29 Jun 2001 01:39:44 EDT) NNTP-Posting-Date: Fri, 29 Jun 2001 01:39:44 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 29 Jun 2001 00:08:23, "Charles Sandmann" sat on a tribble, which squeaked: >When this happens, I recommend setting the stack space with stubedit >huge (like 1/2 your memory) and try again. Still crash? >Probably in some interrupt handler or something. I don't mess with interrupt handlers. The program does use Allegro and activate a graphics mode with it, but it doesn't mess with the other features of Allegro. Also, the Allegro calls are definitely not failing any preconditions. (Plus I've occasionally had them do so, and nothing but a stock SIGSEGV has ever resulted from mis-handling Allegro graphics code that I've seen.) As for stack space, isn't there a stack fault signal and presumably something to trigger it as appropriate? >The "pretty" exception handler which does tracebacks, etc is in the DJGPP >code. Maybe it should be moved. Or maybe, at least, symify can be modified to be able to handle oddball CWSDPMI deaths. Or something. A few raw hex numbers are thin gruel for the debugger indeed these days. -- 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.