From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ab14a126e900c661 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-12-06 08:04:42 PST Newsgroups: comp.sys.dec Path: gmd.de!urmel.informatik.rwth-aachen.de!uni-paderborn.de!zib-berlin.de!xlink.net!howland.reston.ans.net!gatech!news-feed-2.peachnet.edu!umn.edu!charlie From: charlie@umnstat.stat.umn.edu (Charles Geyer) Subject: Re: 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 References: Date: Sun, 5 Dec 1993 18:02:13 GMT In article charlie@umnstat.stat.umn.edu I asked for malloc debugging help. Many thanks to all who sent suggestions. What worked the best was the version of Electric Fence modified for the Alpha that a kind person at DEC told me about and where to snarf it. Under Electric Fence the program crashed where the problem was instead of much later. If anyone is curious the problem was an (int **) malloc(thesize * sizeof(int)) which (of course) should have been (int **) malloc(thesize * sizeof(int *)) obvious, but hard to find in a huge pile of code. Thanks again, -- Charles Geyer School of Statistics University of Minnesota charlie@stat.umn.edu