Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!uxc!tank!ra_robert@gsbacd.uchicago.edu From: ra_robert@gsbacd.uchicago.edu Newsgroups: comp.sys.mac.programmer Subject: Re: Lightspeed Pascal & SE/30 Message-ID: <3715@tank.uchicago.edu> Date: 8 Jun 89 03:21:01 GMT Sender: news@tank.uchicago.edu Distribution: usa Organization: University of Chicago Graduate School of Business Lines: 28 In article <13842@dartvax.Dartmouth.EDU>, anarch@eleazar.dartmouth.edu (Brendan Hahn) writes... > > Does anyone out there know what a 'bus error' in Lightspeed Pascal is? I >have just switched to an SE/30 and they have been popping up everywhere. The >message is not documented in the manual and I haven't got the tech support >number. I am at a loss and the problem is really disrupting my work. It seems I believe a bus error can occur in one of two ways: when an instruction refers to an address that's invalid, or when an instruction tries to access a byte at an odd address. (By instruction, I mean assembly language instruction.) So your pointer is probably pointing out somewhere in la-la land and trying to do something to memory in the wrong place. Use Lightsbug to check where you're pointers are pointing to. (BTW, bus errors will only occur on 68020 and 68030 machines, not on 68000 machines). I highly recommend taking a look at Scott Knaster's "How To Write Macintosh Software", 2nd edition, for further hints on debugging. Robert ------ ra_robert@gsbacd.uchicago.edu ------ generic disclaimer: all my opinions are mine ------ MOFO knows!