From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ab14a126e900c661,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-12-03 16:25:10 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!umn.edu!charlie From: charlie@umnstat.stat.umn.edu (Charles Geyer) Subject: malloc debug for Alpha Message-ID: Sender: news@news.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: isles.stat.umn.edu Organization: School of Statistics, University of Minnesota Date: Fri, 3 Dec 1993 20:30:31 GMT Got a problem. I have to port a bunch of C code to Alpha. The code runs fine on 32 bit machines, but bombs on an Alpha. Lots of print statements show that malloc is returning pointers to blocks that overlap other blocks that were previously allocated and not freed. O. K. so the code wasn't written portably. I know, don't tell me. The next step was to try to get a malloc debugging package. So I snarfed malloclib from comp.sources.unix and GNU malloc. Neither one passes it's tests on the Alpha. O. K. so the code wasn't written portably. What now? Anyone have any suggestions? Besides more print statements :-( -- Charles Geyer School of Statistics University of Minnesota charlie@stat.umn.edu