Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cbmvax!valentin From: valentin@cbmvax.commodore.com (Valentin Pepelea) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice C question Message-ID: <11409@cbmvax.commodore.com> Date: 7 May 90 19:30:45 GMT References: <2865@se-sd.SanDiego.NCR.COM> Reply-To: valentin@cbmvax (Valentin Pepelea) Distribution: na Organization: Commodore, West Chester, PA Lines: 30 In article <2865@se-sd.SanDiego.NCR.COM> ewing@se-sd.SanDiego.NCR.COM (David Ewing) writes: > > #00000003.00C39620 -- Address Error (usually) > #00000004.00C39E38 -- Illegal Instruction (occassionally) > #0000000B.00C39628 -- Opcode 111 (once) These GURUs indicate that your task is completely out of wack. You have runaway code. >My code resides between 00C70CCC - 00C718D2, so these addresses >are outside the code itself. The address given in the GURU number is that of the TCB (task control block), not the address on which the error occurred. >I added the following debug statement at the end of main and it does >get printed: That's real nice, but without the entire source code, it is impossible to determine what is happening. Try commenting out source code until the problem disappears. You may thus locate the problem. Then post the minimal source code which repeats the bug on Usenet. You'll get better answers. Valentin -- The Goddess of democracy? "The tyrants Name: Valentin Pepelea may distroy a statue, but they cannot Phone: (215) 431-9327 kill a god." UseNet: cbmvax!valentin@uunet.uu.net - Ancient Chinese Proverb Claimer: I not Commodore spokesman be