Closed Bug 460105 Opened 17 years ago Closed 10 years ago

Growl causes crash on XR startup on OSX

Categories

(Toolkit Graveyard :: XULRunner, defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: vlad, Unassigned)

Details

If you attempt to run a application.ini-based app without turning it into a bundle first on OSX, you get this crash: 2008-10-15 12:36:33.025 xulrunner-bin[73999:817] Mozilla has caught an Obj-C exception [NSInvalidArgumentException: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: ApplicationId)] That key is apparently GROWL_APP_ID, which is used in: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/alerts/src/mac/﷒0﷓ #if 0'ing that block causes the app to start up correctly without being turned into a .app; however, it has the input focus problems because it's being started from a .framework and not a .app. This is much better than not starting at all/crashing, though.
Flags: wanted1.9.1?
If we have a way to detect running not-in-a-bundle, we should just refuse to start and print an error message... it's the #1 confusion of XR app developers on mac.
If hit this same thing this week, but it happened due to a corrupt Info.plist.
Severity: normal → critical
XULRunner has been removed from the Mozilla tree: see https://groups.google.com/forum/#!topic/mozilla.dev.platform/_rFMunG2Bgw for context. I am closing all the bugs currently in the XULRunner bugzilla component, in preparation for moving this component to the graveyard. If this bug is still valid in a XULRunner-less world, it will need to be moved to a different bugzilla component to be reopened.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.