Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Craig Neth <craig.neth@compaq.com>
To: locasciop@ornl.gov
Subject: Re: SIGSEGV INSIDE malloc: HELP!!!
Date: 1999/04/02	[thread overview]
Message-ID: <37052FF2.260A39D1@compaq.com> (raw)
In-Reply-To: 37029976.1CAB9443@ornl.gov

Phil LoCascio wrote:
> 
>     Hi,
> 
> using    OSF1 machine.name V4.0 878 alpha , I keep getting segmentation
> faults INSIDE the systems malloc!!
> 
> Anyone seen this or know a solution?
> 

Well, it _might_ mean there is a bug in malloc, but it's unlikely.

Much more likely is that your application has corrupted the heap. 
Malloc
has control structures in the heap that it uses to keep track of your
allocations; if you write off the 'end' of a block of memory that has
been allocated to you then these structures will be trashed.  

You might find the 'third degree' tool useful - it helps find 
places in your application where you are 'scribbling' on memory
that doesn't belong to you.  Do a 'man third' to learn more about
this tool.

-- 
----------------------------------------------------------------------------
Craig Neth                         ! craig.neth@compaq.com
Compaq Computer Corporation        ! 
110 Spit Brook Road ZKO3-2/W17     !
Nashua, NH 03062                   ! Opinions expressed herein are my
own.
============================================================================



  reply	other threads:[~1999-04-02  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-31  5:00 SIGSEGV INSIDE malloc: HELP!!! Phil LoCascio
1999-04-02  5:00 ` Craig Neth [this message]
1999-04-05  4:00   ` Phil LoCascio
1999-04-12  4:00 ` Aurel Balmosan
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