home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6357 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.3 KB  |  34 lines

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