home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!well!well.sf.ca.us!edandavi
- From: edandavi@well.sf.ca.us (Ed Allen and Avi Rappoport)
- Subject: corruption bug?
- Message-ID: <edandavi.722290383@well.sf.ca.us>
- Sender: news@well.sf.ca.us
- Organization: Whole Earth 'Lectronic Link
- Date: Fri, 20 Nov 1992 20:13:03 GMT
- Lines: 50
-
-
- I'm getting a funny set of problems on one stack of a set of stacks that
- I think is some sort of file corruption bug. Here's some of the symptoms:
-
- There's a cluster of symptoms that turn up when the stack is started by
- double clicking, but cleared if you go to the home stack and back:
-
- Print Stack and Print Card menu chioces are disabled.
- Paint tools don't work, claiming low memory (even when About the Finder
- says that the stack is only using about a Meg of 3 Meg commited to
- HyperCard).
- The stack doesn't open to it's full window size.
- Sometimes it freezes entering the stack, sometimes it does so leaving it.
-
- There are two stacks in use while working in any stack of the set, one
- providing sound resources, another providing scripts and a couple of
- externals. When the problem first showed up, I started working with a
- copy of the apparently corrupted stack and started hacking away parts to
- try and isolate the bad card or resource. Eventually it isolated down to
- a play command for a particular sound in the sound resource stack, which
- when commented out of the opensStack handler of the flaky stack, left it
- symptom free for several hours. Then problems started cropping up again.
- I'm afraid something in the bad stack was corrupted in one of the crashes
- in the calls to the bad sound. BTW, I confirmed the problem of the sound
- by making a fresh new stack, with only a simple openstack handler that
- started using the sound stack and played the sound. It too bombed on
- opening. Strangely, another stack played the sound without problem. The
- sound has since been replaced with a fresh sound resource.
-
- I think there is some improper writing to memory going on when the bad stack
- starts showing symptoms, since I often crash later, evem if using one of
- the other stacks, or just the Finder, after I see the stack open up to the
- undersized window and show the bad menus.
-
- If you have any ideas on what the problem is, the next question is "What is
- the best strategy for getting the contents of the stack recovered into
- a clean, new, healthy stack without carrying the problem along?" This stack
- has three backgrounds, and about 30 cards with a lot of card specific data -
- card fields, paint etc. It also has three or four palettes and the
- associated PICT resources.
-
- At least a part of the problem may be in the resource fork. At one point,
- while trying to diagnose things, I couldn't get ResEdit to open the
- resource fork, with the message about too much damage. Later, after a new
- palette was installed from Power Tools, the new palette was the only
- resource there, the old damaged fork seemed to have been cast off or
- overwritten by the installation of the new resource.
-
- Ed Allen
- edandavi@well.sf.ca.us
-