* Question on malloc on axposf.pa
@ 1994-06-02 23:32 Emmett McLean
1994-06-07 17:57 ` Dave Hill WhatGE
0 siblings, 1 reply; 2+ messages in thread
From: Emmett McLean @ 1994-06-02 23:32 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question on malloc on axposf.pa
1994-06-02 23:32 Question on malloc on axposf.pa Emmett McLean
@ 1994-06-07 17:57 ` Dave Hill WhatGE
0 siblings, 0 replies; 2+ messages in thread
From: Dave Hill WhatGE @ 1994-06-07 17:57 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-06-07 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-02 23:32 Question on malloc on axposf.pa Emmett McLean
1994-06-07 17:57 ` Dave Hill WhatGE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox