🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Crashing with CLI solved - sort of

#12185
From: GORDON R. MAC GREGOR
Date: Mon, 10 Apr 1989 20:04
15 lines
1110 bytes
Opps... yes this was yet another posting of a stack overflow problem
(thanks Gary).  Sorry, do I feel silly.

But, whats eating up all my stack?  My funtions only nest about 4 levels
deep maximum.  I SDB'ed it, and at 2 levels below main (a funtion in a
funtion called by main()) I do an AllocMem().  Here SDB tells me Im out
of stack (I guess) by not stepping that instruction. It refuses to step
after that (but there are no messages).

So what else could be on the stack besides function calls?         
My code hardly looks stack intensive. 
I really want to be able to run this on the default stack.

        /
      \/  ross
Technical Details
Message-ID: <1769@aucs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!cs.dal.ca!aucs!850031m

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!cs.dal.ca!aucs!850031m
From: 850031m@aucs.UUCP (GORDON R. MAC GREGOR)
Newsgroups: comp.sys.amiga.tech
Subject: Crashing with CLI solved - sort of
Keywords: dumb
Message-ID: <1769@aucs.UUCP>
Date: 10 Apr 89 20:04:03 GMT
Reply-To: 850031m@aucs.UUCP (GORDON R. MAC GREGOR)
Distribution: na
Organization: School of Computer Science, Acadia Univ., Nova Scotia
Lines: 15