home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21312 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!joshr
  3. From: joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91)
  4. Subject: Re: TCL: Bizzare Behavior Time
  5. Message-ID: <1993Jan12.205810.26342@kronos.arc.nasa.gov>
  6. Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov)
  7. Nntp-Posting-Host: mcc2.arc.nasa.gov
  8. Organization: NASA/ARC Information Sciences Division
  9. References: <1993Jan11.170231.17969@fsl.noaa.gov>
  10. Date: Tue, 12 Jan 1993 20:58:10 GMT
  11. Lines: 27
  12.  
  13. In article <1993Jan11.170231.17969@fsl.noaa.gov> urban@yoda.fsl.noaa.gov (Art Urban) writes:
  14. >I'll cut right to the problem...
  15. >
  16. >Swatch reports that my application's heap has gone BAD BAD BAD BAD
  17. >(Swatch's words, not mine). I followed the source code until this condition
  18. >occured, and it happens right after a call to new ( anObject ). My TRY,
  19. >CATCH, ENDTRY doesn't blow up, so the call must've worked, yet my heap is
  20. >cooked. I'd look into the code for new, but there is no way to get it into
  21. >the debugger to trace it (is there?). 
  22.  
  23. Usually this is caused (for me) by disposing of a bad pointer/handle.
  24.  
  25.  
  26. >
  27. >Also, this problem *used to* crash badly enough that even Macsbug could not
  28. >recover (on a StripAddress call which I did not make). The odd thing about
  29. >this is that when I turned on 32 bit addressing for the Mac, my program
  30. >doesn't crash, but the heap still gets scrambled.
  31. >Art Urban                             urban@yoda.fsl.noaa.gov
  32. >===============================================================================
  33.  
  34.  
  35. -- 
  36. ----------------------------------
  37. #include <std/disclaimer.h>     Josh Rabinowitz, Mac TCL programmer
  38. joshr@kronos.arc.nasa.gov
  39. "Me lost my cookie at the disco." -- Cookie Monster
  40.