home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!flu!marc
- From: marc@watson.ibm.com (Marc Auslander)
- Subject: Re: C routine realloc() seems broken in AIX 3.2.2...
- Sender: news@watson.ibm.com (NNTP News Poster)
- Message-ID: <MARC.92Aug17162825@marc.watson.ibm.com>
- In-Reply-To: lubkt@synergy.CC.Lehigh.EDU's message of 17 Aug 92 16:37:28 GMT
- Date: Mon, 17 Aug 1992 21:28:25 GMT
- Distribution: comp.unix.aix
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- References: <LUBKT.92Aug17113728@synergy.CC.Lehigh.EDU>
- Nntp-Posting-Host: marc.watson.ibm.com
- Organization: IBM T.J. Watson Research Center, Hawthorne, New York
- Lines: 36
-
- In article <LUBKT.92Aug17113728@synergy.CC.Lehigh.EDU> lubkt@synergy.CC.Lehigh.EDU (Binod Taterway) writes:
-
-
- >FYI -
-
- >AIX 3.2.2 has broken all my realloc() calls. The code that worked on
- >AIX 3.1.8 (and all previous releases) now gives core dump after I
- >upgraded AIX. I get -
-
- > Catastrophe in realloc: invalid storage ptr
- > IOT/Abort trap(coredump)
-
- >B.
- >--
-
- >- Binod Taterway
- > Sr. User Consultant (LUCC)
- > E-mail: bt00@Lehigh.EDU
-
-
- The previous malloc was more forgiving about calling free (or realloc)
- with a pointer which was not currently allocated. (That is, either it
- didn't really come from malloc, or it had already been freed). The
- message above indicates that malloc has detected such a call. You
- might want to look at your program and see why. You can alternately
- force use of the old malloc - see the documentation.
-
- If on consideration you really believe that the pointer is allocated,
- you might file a bug report. If you are freeing an unallocated
- pointer and believe that that ought to work, I'd appreciate a note
- explaining the situation.
- --
-
-
- Marc Auslander (IBM)<marc@marc.watson.ibm.com> 914 784-6699
- (Internet)<marc@watson.ibm.com>
-