🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9788

Re: Large Program's Programming Problems (Manx Difficulties)

#9788
From: Chuck McManis
Date: Wed, 14 Sep 1988 17:33
18 lines
1504 bytes
In article <5816@watcgl.waterloo.edu> (Flynn D. Fishman) writes:
>The problem is not limited to variables either, sometimes it forgets where a
>routine is and jumps to the wrong location.  I have noticed this problem on
>several programs, including a couple at work.
>So what am I doing wrong?
>FDFISHMAN (Flynn D. Fishman) @ WATCGL (but you can call me Flynn)

This is sounds very suspiciously like a stack problem. Before running
your program type "Stack" to figure out the stack size, then make a rough
approximation of how much stack is being used in the routine in question.
Do this by adding up the sizes of all local variables in every routine
"above" and including the routine in question. Then add another 1K for 
DOS kinds things. If that number is bigger than or even close to the 
Stack number you got above then try doubling the stack size. 

--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
Technical Details
Message-ID: <68270@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tank!ncar!ames!oliveb!sun!pepper!cmcmanis
References: <5816@watcgl.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tank!ncar!ames!oliveb!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Large Program's Programming Problems (Manx Difficulties)
Message-ID: <68270@sun.uucp>
Date: 14 Sep 88 17:33:46 GMT
References: <5816@watcgl.waterloo.edu>
Sender: news@sun.uucp
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Distribution: comp
Organization: Sun Microsystems, Mountain View
Lines: 18