11.17.09
Mac OS X 10.6.2, your fonts, and launching Camino 2
Many of you might have noticed that, after upgrading to Mac OS X 10.6.2, Camino 2.0b4, Camino 2.0rc1, or Camino 2.0.1pre/2.1a1pre nightly builds have started crashing on launch or shortly after launch, perhaps as the first page was loading. (Some of you may have noticed these crashes ever since Mac OS X 10.6 arrived, but the font changes in Mac OS X 10.6.2 seem to have made the crashes much more widespread.) You might even be one of the people who have submitted one of these crash reports.
I have some good news and some bad news about these crashes. The good news is that we’ve been looking at the problem for a while now, and Mozilla’s font gurus, John Daggett and Jonathan Kew have a couple of theories about the cause of the crashes (probably Mac OS X font cache corruption, yay!
). In addition, we generally know how individuals can “fix” the cause of the crashes on their own Macs.
The bad news is that the individual “fix” so effective that we aren’t currently in contact with anyone who is still experiencing this problem, and reversing the “fix” doesn’t cause the crash to reappear. This makes it much more difficult to determine what exactly is wrong and to find the best way to fix the Mozilla code to make whatever the underlying problem is not crash Camino, now or in the future, for everyone.
If you’re currently experiencing this crash, we could use your help. There are questions in need of some answers, and we’ll probably be able to generate some test builds (to log additional information and eventually to test proposed fixes) soon. Please comment in bug 514114 if you’re seeing this crash. (If you can’t get Camino to launch in order to check about:crashes for your crash ids, you can open the Camino inside the Breakpad folder inside the Library folder in your users’s Home folder and look for files with names in the format of CrashID=bp-0c24401b-93b6-4f7e-bcf7-8e4062091108.dmp; paste the bp-0c24401b-93b6-4f7e-bcf7-8e4062091108 part into the search field on crash-stats to find your report.)
Finally, if you just want to make the problem go away and can’t help us track down the cause of the crash, you should open Font Book, check for and resolve any duplicate fonts (in the Edit menu), and validate all of your fonts, removing any ones that Font Book flags as having problems (in the File menu). You may also need to restart your Mac after removing duplicate and corrupted fonts.
Thanks for your help investigating this crash; we hope we’ll soon be able to make Camino stop crashing for everyone who is, or will be, experiencing this problem on Mac OS X 10.6.
Update (2009-11-17): John came up with a patch that should fix the crash, and it was reviewed and approved this evening. The fix should appear in tomorrow’s (2009-11-18) Camino 2.0.1pre, 2.1a1pre, and Firefox 3.0.16pre nightly builds.
5 Comments »
Atom feed for comments on this post · TrackBack URL
11.17.09 at 2:24 am
If the issue is indeed font cache corruption, I wonder if a simple cleaning of font caches(s) may help.
11.17.09 at 12:11 pm
Perhaps, although John’s latest comment about bad fonts showing up in the font APIs on 10.6 where they didn’t before leads me to believe that bad fonts need to be disabled in order to stop the crashes.
11.17.09 at 7:20 pm
Yeah, I hadn’t seen John latest findings when I made the comment above. In that case indeed, bad fonts need to be disabled, or better: removed, to stop the crashing.
)
(I’ll make sure to move my ~/Library/Fonts out of the way when I update to 10.6. Or maybe I should play with fire
11.17.09 at 9:04 pm
The precise conditions are somewhat murky, under some set of conditions probably involving funky fonts one of the Cocoa API’s says “here’s a family” but provides no faces. So I think bad fonts and/or disabling/enabling faces may be the basis for this problem occurring.
11.18.09 at 2:16 am
Thanks, John, for all your work on this crash. I’m looking forward to seeing it decline in my crash-stats reports (only after it first goes through the roof, but those are the vagaries of release schedules
).