home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5877 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.1 KB  |  25 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!pa.dec.com!decuac!hussar.dco.dec.com!mjr
  3. From: mjr@hussar.dco.dec.com (Marcus J. "will do TCP/IP for food" Ranum)
  4. Subject: Re: problems with malloc
  5. Message-ID: <1992Jul24.172750.2036@decuac.dec.com>
  6. Sender: news@decuac.dec.com (USENET News System)
  7. Nntp-Posting-Host: hussar.dco.dec.com
  8. Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
  9. References: <50836@dime.cs.umass.edu>
  10. Date: Fri, 24 Jul 1992 17:27:50 GMT
  11. Lines: 12
  12.  
  13. >I'm running Ultrix 4.2 on a DEC 3100 and I'm having a difficult time with an
  14. >unaligned access problem.  I get a number of "Fixed unaligned access..."
  15. >messages before the program finally dies.  When I changed to GNU malloc() it
  16. >crashes telling me "Block already on free list clobbered".
  17.  
  18.     That's not likely to be a problem with malloc. Most likely something
  19. else in your code is broken someplace. From the behavior of the GNU malloc,
  20. it sounds like you're pasting something in your memory, either with a wild
  21. pointer, or you're double-freeing something, or freeing something that you
  22. never malloced in the first place...
  23.  
  24. mjr.
  25.