Article View: comp.sys.dec
Article #1035Unaligned access error - sh5
From: wright
Date: Thu, 15 Mar 1990 15:18
Date: Thu, 15 Mar 1990 15:18
29 lines
1609 bytes
1609 bytes
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 | |
+----------------------------+-----------------------------------------+
Technical Details
Message-ID:
<613.25ffb240@tacvax.mdcbbs.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mdcbbs!tacvax.mdcbbs!wrightShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mdcbbs!tacvax.mdcbbs!wright From: wright@tacvax.mdcbbs.com Newsgroups: comp.sys.dec Subject: Unaligned access error - sh5 Message-ID: <613.25ffb240@tacvax.mdcbbs.com> Date: 15 Mar 90 15:18:24 GMT Organization: McDonnell Douglas M&E, Cypress CA Lines: 29