From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,843791505c9b923a,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fa528,843791505c9b923a,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-01-30 10:38:35 PST Message-ID: <3C583DA5.3FD85EB1@sql.de> Date: Wed, 30 Jan 2002 19:38:29 +0100 From: Joerg Bruehe Organization: SQL Datenbanksysteme GmbH X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64,comp.unix.programmer Followup-To: comp.unix.programmer Subject: "malloc" with checks on Tru64 4.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: server1.software-ag.de X-Trace: 30 Jan 2002 19:38:30 CET, server1.software-ag.de X-Complaints-To: usenet@ivm.net X-Admin-Comment: X-NNTP-Posting... are valid if present Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!peernews2.colt.net!news0.de.colt.net!news1.boschrexroth.de!news1.fe.internet.bosch.com!news-in.ivm.net!news.ivm.net!server1.software-ag.de Xref: archiver1.google.com comp.unix.tru64:6633 comp.unix.programmer:23755 [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 -- Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany (speaking only for himself) mailto: joerg@sql.de