home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!usc!sdd.hp.com!news.cs.indiana.edu!umn.edu!bru!sabaac!stan
- From: stan@sabaac.NoSubdomain.NoDomain (Andrew Staniszewski)
- Subject: malloc
- Message-ID: <1992Aug20.153542.1417@bmw.mayo.edu>
- Sender: stan@sabaac (Andrew Staniszewski)
- Reply-To: staniszewski@mayo.edu
- Organization: Mayo Foundation
- Date: Thu, 20 Aug 92 15:35:42 GMT
- Lines: 22
-
- Hi,
- I am having trouble finding a problem with dynamicly allocated memory.
- Specificlly I will get unexplicable bus errors inside malloc after LOTS of
- dynamic memory manipulation. I put a layer of tracking software between my
- program and malloc, which should have cought such things as freeing memory that
- wasn't malloced, writing beyond the block of allocated memory and some other
- stuff. I just ended up crashing inside molloc in a differn't place.
-
- Does anyone have source for malloc that I could use to build a debug version
- and look at the internal structures and try to figure out what is happening??
-
- It could still be that I am trouncing mallocs data structures from my program,
- but the fact that as I tried to nail the problem down, the program crashed in
- malloc, but at differnt positions in the code, as opposed to ever crashing
- elsewhere, tells me I may have hit an obscure bug in malloc.
-
- I have looked at glibc, but there is no definition for mips/ultrix
-
-
- thanks
-
- AJS
-