Closed Bug 668145 Opened 14 years ago Closed 13 years ago

Firefox 5 (also 4) on Mac crashes _every time_ any Command, Alt, or Ctrl + Key combination is pressed.

Categories

(Core :: Widget: Cocoa, defect)

5 Branch
All
macOS
defect
Not set
critical

Tracking

()

RESOLVED INVALID

People

(Reporter: patman, Unassigned)

Details

(Keywords: crash)

Crash Data

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0 Build ID: 20110615151330 Steps to reproduce: Pressed Command-A -- this crash happens with any combination of Alt, Command, Ctrl and a regular key. Actual results: Firefox crashed Expected results: Select all or something like that.
bp-736d6f96-92c3-4254-b03a-305b12110628 I made the bug report out of a crash report, so i kind of assumed it would automatically be attached.. sorry.
Severity: normal → critical
Crash Signature: [@ CoreFoundation@0x10c30 ]
Component: General → Widget: Cocoa
Keywords: crash
OS: Other → Mac OS X
Product: Firefox → Core
QA Contact: general → cocoa
Not surprisingly, I can't reproduce this. (If everyone could crash so easily, we'd already have hundreds of bug reports on this.) So the question becomes: What's different about your copy of Firefox (and/or its configuration) that makes it possible for you to crash as described in comment #0? Here are a couple of things to do to help find out: See if the problem still happen in Safe Mode: http://support.mozilla.com/kb/Safe+Mode See if the problem still happens with a clean profile: http://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
I figured it out. It's not directly Firefox-related. I have a US-Keyboard, but I frequently need German Umlauts, so I made a custom Keyboard layout for those (stored as a bundle in "/Library/Keyboard\ Layouts"). However, OSX kept switching back to the standard US one randomly - this is sort of a known bug. I was able to prevent this by hiding the "/System/Library/Keyboard\ Layouts/AppleKeyboardLayouts.bundle" from OSX by simply renaming it. Never had a problem. Until Firefox 4. The application probably tries to open that system keyboard layout file for some reason and fails. Once I renamed that file back firefox stopped crashing.
Thanks for the information. So this bug report is INVALID. > Never had a problem. Until Firefox 4. The application probably tries > to open that system keyboard layout file for some reason and fails. Current Firefox code doesn't load the system keyboard layout file explicitly (I just checked). But quite likely it does so indirectly (in a call to ::TISCreateInputSourceList()).
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
So there's not any way to protect against this? Obviously *something* is getting invalid data and crashing... (patman: for future reference, you can add the crash ID when you first create a bug, but it's an easy field to overlook.)
All bets are off when you start messing with system files. I don't see any point in trying to "protect against" this kind of thing.
> Obviously *something* is getting invalid data and crashing. The crash happens in system code.
Ah, then there isn't really anything we can do, is there?
No doubt there's something we *could* do. I just don't think we *should* do anything :-)
You need to log in before you can comment on or make changes to this bug.