Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!udel!princeton!phoenix!kenchiu From: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Newsgroups: comp.sys.amiga Subject: Re: Strange Guru Visitation Message-ID: <1704@phoenix.Princeton.EDU> Date: 10 Feb 88 19:30:37 GMT References: <5209@well.UUCP> Reply-To: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Organization: Princeton University, NJ Lines: 13 Keywords: Guru Programming C what-a-mess help-me-spock In article <5209@well.UUCP> shf@well.UUCP (Stuart H. Ferguson) writes: > float v[3]; > BOOL flag[3]; > UBYTE s[8]; > >When I made these GLOBAL variables instead of auto variables, the >crashes stopped. This would make tend to think that the function is indexing out-of-bounds. When it's auto, it trashes important stuff. When it's global, by chance it trashes unimportant stuff. Another possibility is different data alignment.