From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fb73d08ac373cef2 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-01 13:59:18 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!hookup!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!decuac.dec.com!dco.dec.com!murphy From: murphy@dco.dec.com (Rick Murphy) Newsgroups: comp.unix.osf.osf1 Subject: Re: malloc.c question Date: 1 Nov 1994 18:37:17 GMT Organization: Digital Equipment Corporation, Landover MD Sender: murphy@rhmosf.dco.dec.com (Rick Murphy) Distribution: world Message-ID: <3961st$ch6@decuac.dec.com> References: <38rqtv$ciu@mathserv.mps.ohio-state.edu> Reply-To: murphy@dco.dec.com NNTP-Posting-Host: rhmosf.dco.dec.com X-Newsreader: mxrn 6.18-25 In article <38rqtv$ciu@mathserv.mps.ohio-state.edu>, davis@pacific.mps.ohio-state.edu writes: >Hi, > > cc -V on an OSF V2.0 system indicates that malloc.c is version 4.2.9.12 >dated 1/13/94. My program has a realloc error on this system (tries to >realloc 64 bytes). However, on a newer (V3.0) system, there is no problem >at all: cc -V shows malloc.c version 4.2.11.7 from 4/5/1994. It seems that >malloc.c has gone through quite a few changes in a 3 month period. Was a >bug fixed that my program is seeing in version 4.2.9.12? Highly unlikely. More likely is that there is a bug in your program that is sensitive to details of the malloc implementation (common errors like writing past the end of allocated space are an example of this - depending on what you tromp on, the mistake can be either benign or fatal.) Install the ATOM program analysis tools that are distributed on the operating system CD; the Third Degree tool is an excellent aid in finding the cause of memory allocation errors. > If this cannot be answered, who do I talk to? Well, if you can reproduce your error with a simple case, you could talk to the support center. -Rick -- Rick Murphy, WA1SPT/4 Washington Federal Programs Office Domain: murphy@dco.dec.com Technical Support Group Bang: decwrl!burfle.enet!murphy This posting expresses MY opinions only; Ding: 301-306-2040. I do not speak for Digital.