tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Unaligned access from free()
@ 1997-06-12 17:10 Bivins, Jeff
  0 siblings, 0 replies; only message in thread
From: Bivins, Jeff @ 1997-06-12 17:10 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-12 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-12 17:10 Unaligned access from free() Bivins, Jeff

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