Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ddhill@mytoy.zk3.dec.com (Dave Hill WhatGE)
Subject: Re: Question on malloc on axposf.pa
Date: 7 Jun 1994 17:57:35 GMT	[thread overview]
Message-ID: <2t2cef$cbj@utne.zk3.dec.com> (raw)
In-Reply-To: 2slq6q$h1h@news.csus.edu

In article <2slq6q$h1h@news.csus.edu>, emclean@sfsuvax1.sfsu.edu (Emmett McLean) writes:
|> 
|> Hi,
|> 
|> After compiling one an application on axposf.pa the program 
|> core dumps.
|> 
|> I get the following output from dbx (there is no gdb) :
|> 
|> signal Segmentation fault at [malloc: 572 +0x4,0x3ff810a798c]    Source not available
|> 
|> 
|> What might be the source of this?
|> 
|> Thanks,
|> 
|> 
|> Emmett

this is almost always due to heap corruption in you application. A 
possible culprit would be something like:

	unsigned long = (undsigned long)malloc(4);

A good way of fixing these is to use a debugging malloc pacakage
such as the one found via anonymous ftp at:

	gatekeeper.pa.dec.com:/pub/misc/malloc_dbg/*.tar.gz

be sure to read the info in ./contrib/dec_notes that is in the tar
file.




      reply	other threads:[~1994-06-07 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-02 23:32 Question on malloc on axposf.pa Emmett McLean
1994-06-07 17:57 ` Dave Hill WhatGE [this message]
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