[comp.soft-sys.andrew] Unaligned access on DECstation

putsch@chillon.uicc.com (Jeff Putsch) (03/26/91)

Howdy,

Like  Juergen:

Excerpts from info-andrew: 14-Mar-91 unaligned access on DECstation
Juergen Henke@qt.ipa.fhg (1298)

> Finally i built ATK,PL9 on our DECstations (DECstation 5000/PX, Ultrix
> V4.1). Beside the few things you already had to fix in Patchlevel 7, all
> went fine - but if i USE now anything from the ATK, i get myriads of
> error messages. 

> [...]
> Fixed up unaligned data access for pid 565 (runapp) at pc 0x10f7134
> Fixed up unaligned data access for pid 565 (runapp) at pc 0x113786c
> Fixed up unaligned data access for pid 565 (runapp) at pc 0x11378a0
> [...]


I don't have gdb, so I can't debug ATK and track the problem. Does
anyone know what needs fixing?

Thanks, in advance, for the help.

Jeff.
-----------------------------------------------------------------------------
Jeff Putsch                          |  Internet: putsch@uicc.com
Unitrode Integrated Circuits Corp.   |  UUCP    : uunet!chillon!putsch
Merrimack, NH  USA                   |
                                     |  Voice   : (US) 603-429-8626 (daytime)

gk5g+@ANDREW.CMU.EDU (Gary Keim) (03/26/91)

Excerpts from misc: 25-Mar-91 Unaligned access on DECstation Jeff
Putsch@chillon.uicc (1064)

> I don't have gdb, so I can't debug ATK and track the problem. Does
> anyone know what needs fixing?


There is someone here in Academic Computing who is investigating this
error and how to make it go away.  You see, CMU bought a whole bunch of
pmaxen and then found out that Andrew didn't really perform on that
platform.  The shell would often spit out error messages when running an
ATK program.  It would also core dump at random times.  It turned out to
be a memory management bug in the kernal and a bug with the exec()
system call.

This "unaligned access" message apparently results from bad programming
practice.  I have a pmax in my office and I've never seen this message. 
Beats me.

When we make the fixes that cause this message to go away, we'll report
on the cause.

Gary Keim
ATK Group

dba+@ANDREW.CMU.EDU (David Anderson) (03/26/91)

Which malloc are you using? The standard DEC one, or the Andrew malloc?

--david

putsch@chillon.uicc.com (Jeff Putsch) (03/26/91)

Howdy,

Excerpts from mail: 25-Mar-91 Re: Unaligned access on DEC.. David
Anderson@andrew.cm (82)

> Which malloc are you using? The standard DEC one, or the Andrew malloc?

> --david

I'm using the standard DEC malloc.

Jeff.
-----------------------------------------------------------------------------
Jeff Putsch                          |  Internet: putsch@uicc.com
Unitrode Integrated Circuits Corp.   |  UUCP    : uunet!chillon!putsch
Merrimack, NH  USA                   |
                                     |  Voice   : (US) 603-429-8626 (daytime)