From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,be96520011f46235 X-Google-Attributes: gid103734,public X-Google-Thread: 10b612,be96520011f46235 X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,be96520011f46235 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-16 13:41:16 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!soclab.soc.iastate.edu!flipk From: flipk@iastate.edu (Phil Knaack) Newsgroups: comp.unix.osf.osf1,comp.windows.x,comp.unix.ultrix Subject: Re: ?Unaligned access pid=8472 Date: 16 Mar 95 21:15:13 GMT Organization: Iowa State University, Ames, Iowa Message-ID: References: <3jq47h$1n1@osiris.wu-wien.ac.at> <795221862snz@cucumber.demon.co.uk> NNTP-Posting-Host: soclab.soc.iastate.edu Xref: bga.com comp.unix.osf.osf1:6465 comp.windows.x:17711 comp.unix.ultrix:4884 In <795221862snz@cucumber.demon.co.uk> Andrew@cucumber.demon.co.uk (Andrew Gabriel) writes: >As you say, amazingly programs with this problem still work. I assume >a trap occurs and the mis-aligned access is resolved by software, but >this is just a guess. Actually, its the kernel doing the job. Mis-alignment generates a fault that the kernel catches, and OSF's method of dealing with it is to fix the alignment and print a warning. You can turn off these warnings with the command `uac', Unaligned Access message Control. Check your man pages. >No, it's an incorrect/incompleted port of a piece of 32 bit software >to a 64 bit machine (probably). Use dbx and set a breakpoint at the >pc location to find where the problem is in the code. It's probably >something like dynamically allocating space for a structure containing >pointers, but only ensuring 32 bit alignment rather than 64 bit >required on the Alpha. I would agree that this is the case, either a pointer or a long int in a structure somewhere.. though I doubt that dbx will be able to tell you much as I don't believe netscape binaries are un-stripped .. >-- >Andrew Gabriel Home: Andrew@cucumber.demon.co.uk >Consultant Software Engineer Work: Andrew.Gabriel@net-tel.co.uk Cheers, Phil -- Phil Knaack flipk@iastate.edu Database Programmer, NCREMP Student Development Group flipk@cs.iastate.edu Regional Extension Office Project Vincent, ISU flipk@vorpal.com