From: Greg Lindahl <lindahl@cs.virginia.edu>
Subject: Re: malloc() problems
Date: Mon, 14 Jul 1997 08:20:55 -0400 (EDT) [thread overview]
Message-ID: <95831e78480ebd3a8f2604cd30b4e5e8.axp-list@archive.invalid> (raw)
> 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
next reply other threads:[~1997-07-14 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-14 12:20 Greg Lindahl [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-07-14 17:09 malloc() problems Michal Jaegermann
1997-07-14 5:47 wsb
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