www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/30/06:00:23

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: <3b3d99c5.363842875@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> <3b3c1335 DOT 263844384 AT news DOT primus DOT ca> <1858-Fri29Jun2001120536+0300-eliz AT is DOT elta DOT co DOT il>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 35
Date: Sat, 30 Jun 2001 09:22:00 GMT
NNTP-Posting-Host: 207.176.153.6
X-Complaints-To: news AT primus DOT ca
X-Trace: news1.tor.primus.ca 993893199 207.176.153.6 (Sat, 30 Jun 2001 05:26:39 EDT)
NNTP-Posting-Date: Sat, 30 Jun 2001 05:26:39 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 12:05:37 +0300, "Eli Zaretskii"
<eliz AT is DOT elta DOT co DOT il> 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.
>
>Yes, you do: every DJGPP program installs a handler for the hardware
>keyboard interrupt in the startup code.  It also installs a handler
>for Int 75h, the FPU interrupt.

Library code, not my own code. I assume the library code that messes
with interrupt handlers is near bulletproof after this many years, and
can safely be ignored.

>Yes, but since the stack is really just a part of the DS segment, and
>SS is loaded with the same selector as DS, you can't have this signal
>when the stack overflows, because the protection mechanism cannot
>detect it.

Seems like a serious oversight in the implementation to me.

>Just use the EIP CWSDPMI prints; it's a starting point for debugging.
>(I explained in another message how to get the function name and the
>source line given the EIP value).

Show me how to get RHGDB not to die on loading the image, and maybe
I'll investigate that avenue...
-- 
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.

- Raw text -


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