Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wright@tacvax.mdcbbs.com
Subject: Unaligned access error - sh5
Date: 15 Mar 90 15:18:24 GMT	[thread overview]
Message-ID: <613.25ffb240@tacvax.mdcbbs.com> (raw)

Has anyone run into the problem of running a script in sh5 and getting the 
shell killed on an unaligned access. 

The script I am running is starting an executable and has an embedded 'cat'  to
supply the executable with commands. If the file being 'catted' is less than 50
lines/~2540 characters, it works fine. But if it is larger than that, it chokes
with the error:

/s/d/i/gnhs3pht pnhrs:gnhs3phfra etdlt pnhrs:guc2ph(ofr f)pt/s/d/i/guc2pht
 pnhrs:guc2phfra etbe: cannot open
pid 23456 (sh5) was killed on unaligned access, at pc 0x40b500

If I split the file and use two 'cats', I get the same error.

Has anyone seen this, is it a limitation with sh5, does anyone have a
workaround for it. A co-worker uases the same command on his SUN system
(SUN's sh) with no problem.

Thanks in advance...

-- 
 
    +----------------------------+-----------------------------------------+
    |	Dave Wright		 |	Phone:	(714) 952-6320             |
    |	McDonnell Douglas M&E	 |   Internet:	wright@mdcbbs.com          |
    |	Software Engineering	 |   	 UUCP:	uunet!mdcbbs.com!wright    |
    |	P.O.Box 6011		 |   	  PSI:	PSI%31060099980019::WRIGHT |
    |	Cypress, Ca. 90630	 |   	                                   |
    +----------------------------+-----------------------------------------+


                 reply	other threads:[~1990-03-15 15:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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