From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,18836a8b68997d5b X-Google-Attributes: gid10ba33,public X-Google-Thread: 1164f8,18836a8b68997d5b X-Google-Attributes: gid1164f8,public From: "Carl J. Appellof" Subject: Re: "unaligned access" in malloc() Date: 1996/02/16 Message-ID: <4g2i2c$823@ninja.zso.dec.com>#1/1 X-Deja-AN: 139641096 references: content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: comp.sys.dec,gnu.g++.help x-mailer: Mozilla 1.1 (Windows; I; 32bit) crewman@netcom.com (Kevin Weller) wrote: >up even if I switch to direct malloc() and free() usage], it bombs >with: > >Unaligned access pid=13346 va=6174616400160011 pc=3ff800cdce0 >ra=300018406cc type=stq > Could your program be free()ing a pointer that didn't originally come from malloc() ? All sorts of weird things can happen if you do that, depending on malloc/free implementation. -- Carl Appellof not speaking for Digital Equipment Corporation