home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15546 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.2 KB

  1. Path: sparky!uunet!usc!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!bjbernstein
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: AllocMem corrupting memory
  4. Message-ID: <1992Nov8.132440.14108@miavx1.acs.muohio.edu>
  5. From: bjbernstein@miavx1.acs.muohio.edu
  6. Date: 8 Nov 92 13:24:40 -0500
  7. Organization: Miami University Academic Computer Service"
  8. Lines: 19
  9.  
  10.   I have been using AllocMem to create memory for 48 and 290 byte 
  11. structures.. After creating a few of them (eventually, my program creates 
  12. about 110 of them), I have noticed 'garbage' pixels appearing on the 
  13. workbench screen, as if I wrote over some memory.. 
  14.  
  15.   Eventually, it crashes giving me a GURU of a corrupted freemem list.. 
  16.  
  17.   Should I be using AllocMem or is there some other routine that would be 
  18. better for this?
  19.  
  20. -- 
  21.  
  22.  
  23. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  24. @@ Brian Bernstein (Drone)           @@ "I'm a white dread, I'm a white   @@ 
  25. @@ bjbernstein@miavx1.acs.muohio.edu @@  dread, so? I got a little ring   @@
  26. @@-----------------------------------@@  and I hang it from my nose.."    @@
  27. @@ the Fabulous Furry Freak Brothers!@@                -Jane's Addiction  @@
  28. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  29.