Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!snorkelwacker.mit.edu!stanford.edu!msi.umn.edu!umeecs!zip!spencer From: spencer@eecs.umich.edu (Spencer W. Thomas) Newsgroups: comp.sys.mac.system Subject: Global at 222 (JFigTrkS?) and 6.0.7 Message-ID: Date: 3 Apr 91 17:00:35 GMT Sender: news@zip.eecs.umich.edu Distribution: comp Organization: University of Michigan EECS Dept Lines: 33 I've been having intermittent crashes on my Plus since I upgraded to 6.0.7 (perhaps foolishly seeking new sound capabilities). I eventually tracked it down to the value at location 222 getting smashed. Tmon says that the name of this location is "JFigTrkS" (to 8 characters) but I can't find a reference to such a global in my 5 volumes of IM. Today, I set a trap-checksum on this location, and it got stomped by PrintMonitor in a piece of code that didn't come anywhere near it!. It was presumably ok at a MoveHHi (invoked on a handle in the system heap), and had been stomped on 3 instructions later at an HLock. The intervening instructions put the argument for the HLock into A0. So, I'm still baffled. Some questions: Could the MoveHHi have done it? The preceding word at 220 is MemError. However, the MoveHHi seems to have succeeded (the memory block in question ended up right at the top of the system heap), and presumably it wouldn't have written 4 bytes of data into the 2 byte MemError, anyway. Should I suspect a VBL task that "sneaked in"? This is worse, because it would be so much harder to track down. However, if any VBL code did any A traps after the change to 222, my checksum trap would have found it then, not later back in PrintMonitor (I think...). Besides, it has happened a couple of times, right at the same place. What is this global used for, anyway? Does any system before 6.0.7 use it? When I booted up a 6.0.5 system from floppy, it had a different, apparently bogus value in it. Should I just switch back to 6.0.5, which never seemed to do this? -- =Spencer W. Thomas EECS Dept, U of Michigan, Ann Arbor, MI 48109 spencer@eecs.umich.edu 313-936-2616 (8-6 E[SD]T M-F)