From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!elroy.jpl.nasa.gov!jarthur!ucivax!gateway From: jduarte@BONNIE.ICS.UCI.EDU (J o s e D u a r t e !!!) Newsgroups: comp.lang.ada Subject: BUS ERROR Message-ID: <9008131404.aa01278@ICS.UCI.EDU> Date: 13 Aug 90 21:11:24 GMT List-Id: Hi Everybody, I just wanted to post my findings on the BUS ERROR bug that I recently battled with...I received the following responses from people throughout the country. I would like to thank everyone who responded and I would like to especially thank Sam Harbaugh and Kathy Gilroy. I tried Kathy's suggestion, and the program behaved correctly in all trial tests except one. Jose Duarte ------------------------------------------------------ From: Fred Hosch Subject: bus error Verdix reports "a deficiency in the Sun OS may cause a 'bus error' during execution of VADS compiled code on 68030-based Sun hosts ... Sun intends to fix this deficiency in the 4.1.1 release of Sun OS." Since you're running a Sun 4, I don't know if this applies. At any rate, a patch exits for Sun OS versions 4.0.3 and 4.1. The bug ID is 1038670. The patch can be obtained from Sun (1-800-USA-4-SUN, or bulletin board 1-800-477-4768 with the login guest), or from Verdix (1-800-USE-VADS). Fred Hosch Applied Research Labs UT Austin fred@cs.utexas.edu ------------------------------------------------------ From: saharbaugh%roo.dnet@WINNIE.FIT.EDU Subject: bus error Date: 9 Aug 90 14:50:38 GMT We haven't experienced bus_error on our Sun 4 or Silicon Graphics but we have in the past experienced them on a Masscomp running Unix and Verdix compiler. Our conclusion was that bus errors were hardware problems and being reported by Unix and had nothing to do with Ada. We would sometimes get bus_error on boot-up when the hardware was being tested by the ROM boot. So...our suggestion is to call a hardware maintenance person to run diagnostics. Hope this helps some. regards, sam harbaugh ------------------------------------------------------ From: cpp@calmasd.Prime.COM (Chuck Peterson) Subject: Re: bus error Organization: Calma - A Division of Prime Computers I believe that "bus error" on an SGI indicates that an invalid memory address was generated (e.g. an attempt to dereference an invalid C pointer). My opinion only. (Disclaimer.) ------------------------------------------------------ From: saharbaugh%roo.dnet@WINNIE.FIT.EDU Subject: bus error Kathy Gilroy says that she has experienced "bus error" when using access types sometimes and has found a preventative to be tp use the keyword "all" when referencing components of the accessed object. i.e., instead of referencing "object.component" reference "object.all.component". A possible explanation is that the code generator gets confused and generates an illegal bus address which then is reported through the operating system to you as a "bus error". If anyone tries this please report the results, thanks. sam harbaugh for kathy gilroy ------------------------------------------------------ Thanks again to everyone who responded !!!