Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: charlie@umnstat.stat.umn.edu (Charles Geyer)
Subject: Re: malloc debug for Alpha
Date: Sun, 5 Dec 1993 18:02:13 GMT	[thread overview]
Message-ID: <CHKq93.573@news.cis.umn.edu> (raw)
In-Reply-To: CHH7sD.9Ao@news.cis.umn.edu

In article <CHH7sD.9Ao@news.cis.umn.edu> 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


      parent reply	other threads:[~1993-12-05 18:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-03 20:30 malloc debug for Alpha Charles Geyer
1993-12-04  0:48 ` fairfield
1993-12-05 18:02 ` Charles Geyer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox