Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!umbc3.umbc.edu!gmuvax2!mhovan From: mhovan@gmuvax2.gmu.edu (Mike Hovan) Newsgroups: comp.databases Subject: Re: Clipper 5.01 error message Message-ID: <1991May15.163013.27831@gmuvax2.gmu.edu> Date: 15 May 91 16:30:13 GMT References: <1991May13.223912.1975@gmuvax2.gmu.edu> <1991May14.211635.9711@ux1.cso.uiuc.edu> Organization: George Mason University, Fairfax, Va. Lines: 61 Somebody somewhere wrote: >In article <1991May13.223912.1975@gmuvax2.gmu.edu> mhovan@gmuvax2.gmu.edu (Mike Hovan) writes: >> >> >> 650: Processor Stack Fault >> Again, it looks like something to do with stack >> overflow. > >Correct. This is, however, not a limitation of DOS as you speculate a ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >little later in your message. Rather, it is the stack for the Clipper >program itself. To test this idea, just write a short program which >calls the following function: > >function recurse() > > recurse() > return > >After a moment, you'll get the Processor Stack Fault message since >you're making bunches of calls with no corresponding returns, filling up >your stack segment. > I understand that it is the Clipper stack overflowing. But I still hold that it is an operating system problem (DOS SUCKS), a "Real" operating system would allow an (semi-) infinite stack. Maybe the nantucket guys should look into making their stack part of the virtual memory system. :-) But if you really think about it, that would be a pain. Another thing to try if you like seeing error messages (and we must, we own clipper) is to increase your stack size at link time. (on an endless recursive function) Something like this: rtlink fi recursor /stack:32768 This produces the 667 error I mentioned in one of my last posts. >>ps. I think I just figured it all out. This is Nantucket's way of getting >> you to buy their support contract. (I know the first month is free.) > >If so, I think their little plan is about to backfire BIG TIME. YUP. Mike -- |X|X| "Women, Michael Andrew Hovan III |X|X| |X| Can't live with them, mhovan@gmuvax2.gmu.edu |X| |X| Can't fry them in a WOK!" George Mason University |X| |X|X| -- MTV Half-Hour Comedy Hour Fairfax, Virginia, USA |X|X|