From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078613510414.tru64-unix-managers.marc@archive.invalid> From: "Bivins, Jeff" Date: Thu, 12 Jun 1997 17:10:00 +0000 To: tru64-unix-managers Subject: Unaligned access from free() X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078613510414 Does anyone know what this message refers to and how to correct the problem. Unaligned access pid=31174 va=1401f7e3f pc=1200f7eb8 ra=120023510 type=ldq Unaligned access pid=31174 va=1401f7efd pc=1200f7eb8 ra=120023510 type=ldq Unaligned access pid=31174 va=1401f7fbe pc=1200f7eb8 ra=120023510 type=ldq Unaligned access pid=31174 va=1401f807f pc=1200f7eb8 ra=120023510 type=ldq Unaligned access pid=31174 va=1401f813c pc=1200f7eb8 ra=120023510 type=ldq Unaligned access pid=31174 va=1401f8319 pc=1200f7eb8 ra=12001d030 type=ldq Unaligned access pid=31174 va=1401f85bb pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f8679 pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f87fb pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f891b pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f8a99 pc=1200f7eb8 ra=12001bee8 type=ldq Unaligned access pid=31174 va=1401f8cd9 pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f8d99 pc=1200f7eb8 ra=12001d030 type=ldq Unaligned access pid=31174 va=1401f91bb pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f92db pc=1200f7eb8 ra=12001bf28 type=ldq Unaligned access pid=31174 va=1401f9459 pc=1200f7eb8 ra=12001bee8 type=ldq ... I have a c program that runs and outputs the correct solution but I get the above error messages from the following lines of code for ( i=0;i<1000;i++) { char=(char *)calloc(sizeof(char[MAX_LENGTH]),1) ... strcpy(char,"HELP") ... free(char) } This does not happen every time in the loop. Thanks, Jeff