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-02-01 05:05:27 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed.online.be!newscore.univie.ac.at!aconews-feed.univie.ac.at!news.tu-graz.ac.at!not-for-mail From: Tom Leitner Newsgroups: comp.unix.tru64,comp.unix.programmer Subject: Re: "malloc" with checks on Tru64 4.0 Date: 1 Feb 2002 13:02:45 GMT Organization: Technische Universitaet Graz, Austria Message-ID: References: <3C583DA5.3FD85EB1@sql.de> <99793c86.0201311634.5bbfb6d6@posting.google.com> NNTP-Posting-Host: al06.radar.tugraz.at X-Trace: fstgss02.tu-graz.ac.at 1012568565 21437 129.27.147.26 (1 Feb 2002 13:02:45 GMT) X-Complaints-To: news@zid.tu-graz.ac.at NNTP-Posting-Date: 1 Feb 2002 13:02:45 GMT User-Agent: tin/1.5.6-20000803 ("Dust") (UNIX) (OSF1/V4.0 (alpha)) Xref: archiver1.google.com comp.unix.tru64:6675 comp.unix.programmer:23913 As an aside: Rational Purify, the standard commercial product for this sort of problems is currently being ported to Tru64 Unix. I think it's almost finished now. Check www.rational.com for a beta. Tom In comp.unix.tru64 Sanjay Kumar wrote: > 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 -- Dr. Tom Leitner Dept. of Communications, Graz Univ. of Technology, tom@radar.tu-graz.ac.at Inffeldgasse 12, A-8010 Graz / Austria / Europe PGP public key @ http://www.radar.tugraz.at/people/tom.html