Path: 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 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