Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!kuhub.cc.ukans.edu!anu-news!list From: munnari!csc.anu.oz.au!gih900@UUNET.UU.NET (Geoff Huston) Newsgroups: news.software.anu-news Subject: Re: Help with access violation needed... Message-ID: <8912150734.AA18112@uunet.uu.net> Date: 15 Dec 89 22:53:55 GMT Sender: ANU-NEWS Discussion Reply-To: Geoff Huston Lines: 25 Bruce Tanner writes:... >I ran into one of these awhile back, but it was reproducible - at least for >the moment. I tracked it to a descriptor being trashed by malloc! > >Not knowing whether it was a bug in malloc, or something done in a prior >call, I punted. > >I put the following in one of the header files: > >#define malloc VAXC$MALLOC_OPT >#define calloc VAXC$CALLOC_OPT >#define realloc VAXC$REALLOC_OPT >#define free VAXC$FREE_OPT >#define cfree VAXC$CFREE_OPT > >I may have just moved memory around enough to wipe out some other >location, but I don't think I've seen an ACCVIO since. I have also put these lines into NEWSINCLUDE.H, and haven't seen a problem with using these definitions so far...... Thanks Bruce, Geoff Huston