home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!rutgers!cs.utexas.edu!sdd.hp.com!nigel.msen.com!ilium!sycom!ro-chp!chopps
- From: chopps@ro-chp.UUCP (Chris Hopps)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: line f trap <- what?
- Keywords: library
- Message-ID: <OcCqr*G00@ro-chp.UUCP>
- Date: 29 Jul 92 08:50:42 GMT
- References: <1992Jul27.848.15009@dosgate> <epang.712299233@sfu.ca>
- Lines: 36
- X-Newsreader: Arn V1.00 beta rel2
-
- Distribution: comp
- Organization: Not an Organization
-
- In article <epang.712299233@sfu.ca>, Eugene Pang writes:
-
- > james.kewageshig@canrem.com (james kewageshig) writes:
- > >after selecting the filename and "LOAD" gadget, my Amiga (with '030)
- > >guru's with '00000004' I believe. According to my guru code program
- > >this code means "Line F trap error" or some such.
- >
- > It's an illegal instruction. The cause could be a variety of things. If
- > this is reproduceable, try running Enforcer (dumping output to the serial
- > port or printer?) and sending it to the author to fix. Otherwise, don't
- > select "LOAD". :-)
-
- Almost all the time, this guru is caused by not loading a library. And
- then calling a function from it.
-
- The reason is either:
- 2) NULL or garbage function ptr that you are jumping to.
- 3) Bad data pointer, you may have written into your program's code secction.
-
- 4) blowing out the PC, very hard to get this one, you have to be doing some
- serious asm stuff, and then you would know what would cause the
- illegal instruction.
- 5) self-modifying code or such with dirty caches.
-
- Check number 1 first 90% of the time it is this.
-
- Numbers 1, 2 and 3 are very possible, numbers 4 and 5 should never happen unless
- you are doing something really complex.
-
- Chris...
- ------------------------
- The Royal Oak Chophouse >> Chris Hopps
- Royal Oak, Michigan >> sycom.mi.org!ro-chp!chopps
-