From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3f55516a4161c867 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-07 11:45:22 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!src.dec.com!crl.dec.com!utne.zk3.dec.com!mytoy.zk3.dec.com!ddhill From: ddhill@mytoy.zk3.dec.com (Dave Hill WhatGE) Newsgroups: comp.unix.osf.osf1 Subject: Re: Question on malloc on axposf.pa Date: 7 Jun 1994 17:57:35 GMT Organization: WHATX Distribution: world Message-ID: <2t2cef$cbj@utne.zk3.dec.com> References: <2slq6q$h1h@news.csus.edu> NNTP-Posting-Host: mytoy.zk3.dec.com 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.