Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!usc!sdd.hp.com!hplabs!hpfcso!hplisa!hpislx!bayes From: bayes@hpislx.HP.COM (Scott Bayes) Newsgroups: comp.sys.mac.programmer Subject: Re: Bus Error? Message-ID: <9710007@hpislx.HP.COM> Date: 5 Nov 90 20:08:00 GMT References: <60500@bbn.BBN.COM> Organization: Measurement Systems Operation - Loveland, CO Lines: 11 Bus error means that your code is referencing a memory address that has no RAM or I/O device at the address. It usually means a pointer is "off in the weeds". Check for pointer dereferences in your for loop. Make sure that the pointer actually points at what you think it does (usually a data structure somewhere in RAM). Print out the ord() of the pointer to be sure, and make sure it's somewhere reasonable. I don't speak C, so translate to C terminology where necessary. May God have Mercy on your Soul. Scott Bayes