comp.lang.ada
 help / color / mirror / Atom feed
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
Date: 9 Jul 93 17:47:22 GMT	[thread overview]
Message-ID: <1993Jul9.174722.13319@news.eng.convex.com> (raw)

In article <MAC.93Jul9153020@caribe.dit.upm.es> 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.
			

             reply	other threads:[~1993-07-09 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-09 17:47 agate!howland.reston.ans.net!usc!cs.utexas.edu!tamsun.tamu.edu!news.utdal [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-09 19:57 Weird error using SunAda Robert I. Eachus
1993-07-09 15:36 David Tannen
1993-07-09 14:30 M. Alvarez-Campana
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox