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