From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 9 Jul 93 17:47:22 GMT From: agate!howland.reston.ans.net!usc!cs.utexas.edu!tamsun.tamu.edu!news.utdal las.edu!convex!pelakh@ucbvax.Berkeley.EDU (Boris Pelakh) Subject: Re: Weird error using SunAda Message-ID: <1993Jul9.174722.13319@news.eng.convex.com> List-Id: In article mac@dit.upm.es (M. Alvarez-Camp ana) writes: >Maybe this is not the adequate newsgroup, but I hope someone >has had a similar problem. I'm using SunAda to compile a >program that had been successfully compiled before on VMS. >When I run the program I get a 'Bus error (core dumped)' message >and the program aborts. Using the debugger I get: > >a.db example >>r >example >"Bus error" [10] >--> Hardware alignment error > stopped 1 instruction after "/tmp/topnet-sublib/xs_kernel.a":130 in deposit'3 > 130 if TM /= 0.0 then It appears that TM is not stored on a word boundary. In visual mode, disassemble the code and see if the SIGBUS comes on the load instruction. If it does, do the following on the a.db command line 'tm:a' - that should print the address of tm. If it is not a word-boundary, and you did not force it to be there w/ a rep-spec, call your SunAda (Verdix) rep. -- Boris Pelakh Ada Project Leader pelakh@convex.com Convex Computer Corporation "If winning isn't important, why keep score ?" -- Lt. Worf, Star Trek TNG.