Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: fairfield@slacvx.slac.stanford.edu
Subject: Re: malloc debug for Alpha
Date: Sat, 4 Dec 1993 00:48:41 GMT	[thread overview]
Message-ID: <1993Dec3.164841.1@slacvx.slac.stanford.edu> (raw)
In-Reply-To: CHH7sD.9Ao@news.cis.umn.edu

In article <CHH7sD.9Ao@news.cis.umn.edu>, 
			charlie@umnstat.stat.umn.edu (Charles Geyer) writes:
> 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 :-(

    No solutions, just two suggestions:

	1) Have you made sure that all your pointer variables are 64-bits?
	   (Use `long int' I  think...)
	2) Post your query to vmsnet.alpha for quick and knowledgeable
	   response. :-)

	-Ken
-- 
 Dr. Kenneth H. Fairfield    |   Internet: Fairfield@Slac.Stanford.Edu
 SLAC, P.O.Box 4349, MS 98   |   DECnet:   45537::FAIRFIELD (45537=SLACVX)
 Stanford, CA   94309        |   Voice: (415) 926-2924  FAX: (415) 926-4335
 ----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...


  reply	other threads:[~1993-12-04  0:48 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 [this message]
1993-12-05 18:02 ` Charles Geyer
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