From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,843791505c9b923a X-Google-Attributes: gidfc89c,public X-Google-Thread: fa528,843791505c9b923a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-01-31 16:34:24 PST Path: archiver1.google.com!news1.google.com!postnews1.google.com!not-for-mail From: nd81@hotmail.com (Sanjay Kumar) Newsgroups: comp.unix.tru64,comp.unix.programmer Subject: Re: "malloc" with checks on Tru64 4.0 Date: 31 Jan 2002 16:34:23 -0800 Organization: http://groups.google.com/ Message-ID: <99793c86.0201311634.5bbfb6d6@posting.google.com> References: <3C583DA5.3FD85EB1@sql.de> NNTP-Posting-Host: 207.18.199.140 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1012523663 13538 127.0.0.1 (1 Feb 2002 00:34:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 1 Feb 2002 00:34:23 GMT Xref: archiver1.google.com comp.unix.tru64:6669 comp.unix.programmer:23874 trying using atom with the malloc option It may work Joerg Bruehe wrote in message news:<3C583DA5.3FD85EB1@sql.de>... > [Crossposted to "c.u.tru64" and "c.u.programmer" with "follow-up" set] > > > Dear readers, > > I am doing maintenance on a program and get SIGSEGV, > arising in "malloc()" (originally), > a stack backtrace can not be generated (using "gdb" 4.17). > > I know that the "typical" reason for a crash in "malloc()" > is some code accessing more than the allocated area > (quite possible with that code mixture ;-) > and that a version of malloc with builtin pointer checks > might help me (greatly ?) in localizing the error. > However, in the Tru64 docs I did not find a hint where to > get such a "malloc-with-checks" library. > > Do you have any hints for a "malloc()" replacement with checks, > to run on Tru64 version 4.0 D (yes - that old) ? > > TIA, > Joerg Bruehe