Article View: comp.os.msdos.programmer
Article #6792Use of MS-DOS STACKS= ?
From: Stephen C. Trier
Date: Fri, 24 May 1991 01:43
Date: Fri, 24 May 1991 01:43
21 lines
1577 bytes
1577 bytes
I have a TSR TCP/IP kernel with telnet, ftp, and other applications running on top. It uses packet drivers for its protocol support and uses the timer interrupt for several background tasks that support the TCP/IP protocols. After several months' updating for a New and Improved version, I'm finding myself with bugs that look much like a stack overflow. I used stack overflow debugging technique #1 (triple the stack size and see what happens) and the problems persisted. However, I just saw the STACKS= statement in the DOS manual and tried fiddling with the values. Shrinking the values makes the problem worse; making them bigger makes it go away. This sure makes it look like I'm running on a DOS interrupt stack at some point, and I'm overflowing _that_ stack. When does DOS switch to these interrupt stacks? I'd like to know so that I can figure out how to make this program work _right_. -- Stephen Trier Work: trier@ins.cwru.edu Case Western Reserve University Home: sct@seldon.clv.oh.us Information Network Services
Technical Details
Message-ID:
<1991May24.014300.7266@usenet.ins.cwru.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!agate!usenet.ins.cwru.edu!usenet!trierShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!agate!usenet.ins.cwru.edu!usenet!trier From: trier@usenet.INS.CWRU.Edu (Stephen C. Trier) Newsgroups: comp.os.msdos.programmer Subject: Use of MS-DOS STACKS= ? Message-ID: <1991May24.014300.7266@usenet.ins.cwru.edu> Date: 24 May 91 01:43:00 GMT Sender: news@usenet.ins.cwru.edu Reply-To: trier@po.CWRU.Edu Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) Lines: 22 Nntp-Posting-Host: usenet.ins.cwru.edu