home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12913 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.6 KB

  1. Path: sparky!uunet!cbmvax!peter
  2. From: peter@cbmvax.commodore.com (Peter Cherna)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Boopsi custom gadget problem
  5. Message-ID: <34759@cbmvax.commodore.com>
  6. Date: 31 Aug 92 14:07:05 GMT
  7. References: <1992Aug31.134444.571@csc.canterbury.ac.nz>
  8. Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
  9. Organization: Commodore-Amiga, Inc.  West Chester, PA.
  10. Lines: 27
  11. Keywords: Boopsi, custom gadget.
  12.  
  13. In article <1992Aug31.134444.571@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
  14. >I am having a problem implementing a string gadget as a subclass of
  15. >'strgclass'.
  16.  
  17. >This, in fact, works from the viewpoint of the user running the code,
  18. >however a check of memory afterwards finds 8 bytes not freed. I then
  19. >run mungwall which illuminates the problem further. It reports a
  20. >mismatched FreeMem of 15 bytes when it should be 20 bytes (hence the
  21. >lost 8 bytes) and then causes the programme to crash with a CPU trap
  22. >(think it was illegal address violation). This all happens when the
  23. >programme is exiting and deallocating the string gadget class I
  24. >implemented. Using the owner command on the address from which the
  25. >FreeMem was called reports that it occured somewhere in the intuition
  26. >library ROM code, but doesn't identify which routine.
  27.  
  28. Please post or email the mungwall hit.
  29.  
  30. >Michael Cree                              Gold there is
  31.  
  32.      Peter
  33. --
  34. Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
  35. {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
  36. My opinions do not necessarily represent the opinions of my employer.
  37. "Did you code here for forgiveness?  Did you kludge to raise the dead?"
  38.  
  39.  
  40.