tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Bivins, Jeff" <BIVINS () nebeng ! otis ! com>
To: tru64-unix-managers
Subject: Unaligned access from free()
Date: Thu, 12 Jun 1997 17:10:00 +0000	[thread overview]
Message-ID: <96078613510414.tru64-unix-managers.marc@archive.invalid> (raw)

Does anyone know what this message refers to and how to correct the
problem. 

Unaligned access pid=31174 <frnpgm> va=1401f7e3f pc=1200f7eb8
ra=120023510 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f7efd pc=1200f7eb8
ra=120023510 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f7fbe pc=1200f7eb8
ra=120023510 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f807f pc=1200f7eb8
ra=120023510 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f813c pc=1200f7eb8
ra=120023510 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f8319 pc=1200f7eb8
ra=12001d030 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f85bb pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f8679 pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f87fb pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f891b pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f8a99 pc=1200f7eb8
ra=12001bee8 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f8cd9 pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f8d99 pc=1200f7eb8
ra=12001d030 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f91bb pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> va=1401f92db pc=1200f7eb8
ra=12001bf28 type=ldq
Unaligned access pid=31174 <frnpgm> 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

                 reply	other threads:[~1997-06-12 17:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox