program out of control

Scott Linn scott at hpcvca.CV.HP.COM
Wed Jan 17 06:14:51 AEST 1990


/ hpcvca:comp.lang.c / fredex at cg-atla.UUCP (Fred Smith) /  5:20 pm  Jan 14, 1990 /

>Just a hunch:  Whenever I make an apparently innocuous change in a 
>program, and some weird behavior in another part of the program suddenly
>changes, I instantly suspect that somewhere I am clobbering memory in
>some way.

Another reason is that you may be running out of stack space.  Whenever I have
these kinds of problems, I turn on stack checking during compilation.  This is
usually the problem that I have.

Scott Linn



More information about the Comp.lang.c mailing list