From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <95831e78480ebd3a8f2604cd30b4e5e8.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199707141220.IAA09026@adder.cs.Virginia.EDU> Date: Mon, 14 Jul 1997 08:20:55 -0400 (EDT) From: Greg Lindahl Subject: Re: malloc() problems > I'm hoping someone out there has seen the following problem. I have a > reasonably large C code I'm trying to get running on a PC164 system > with RedHat 4.2 installed and kernel 2.0.30, also from the 4.2 CD. > Some of the various binaries compile and run fine. Others, abort and > in turn can cause gdb to abort when they attempt to issue malloc()'s. > There are also some kernel messages indicating an unaligned access: > > zm31mig(1382): unaligned trap at 0000000000000025: 000000012013b10c 29 1 > zm31mig(1382): unaligned trap at 0000000000000025: 000000012013b10c 29 3 > zm31mig(1382): unaligned trap at 0000000000000025: 007967669313b10c 29 2 This can be caused by an incorrect application -- if you over or under-write your memory blocks, you can damage malloc()'s pointers and cause it to dereference weird things before it dies. -- g -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com