Closed Bug 659182 Opened 14 years ago Closed 14 years ago

Crashing on startup [@ DisableFontActivation() ]

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
macOS
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
Tracking Status
firefox6 - ---

People

(Reporter: sliu, Assigned: jtd)

References

Details

(Keywords: crash, regression, Whiteboard: jesse nominated without comment)

Crash Data

Attachments

(2 files)

Attached file Stacktrace
No description provided.
Note: Local builds crash but nightly build does not crash.
Hmmm, when you crash what are the values of mainBundleID and mainBundle? It looks like you're stopping on a breakpoint, what's the stack when it actually crashes?
Assignee: nobody → jdaggett
Attachment #534647 - Flags: review?(roc)
Comment on attachment 534647 [details] [diff] [review] patch, null check bundle ids before releasing Review of attachment 534647 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #534647 - Flags: review?(roc) → review+
Is there a need to get the bundle ID at all? I notice that the doc for CTFontManagerSetAutoActivationSetting says "If NULL, the current application bundle is used"; wouldn't that serve the purpose?
(In reply to comment #7) > Is there a need to get the bundle ID at all? I notice that the doc for > CTFontManagerSetAutoActivationSetting says "If NULL, the current application > bundle is used"; wouldn't that serve the purpose? Nope. I coded the initial patch on bug 567552 that way and it turns out passing in NULL affects the *global* setting, not a per-process setting. If you experiment with this you'll see that it clears the "Automatic Font Activation" pref in FontBook. Seems to be an Apple docs bug, unless I missing something.
(In reply to comment #8) > (In reply to comment #7) > > Is there a need to get the bundle ID at all? I notice that the doc for > > CTFontManagerSetAutoActivationSetting says "If NULL, the current application > > bundle is used"; wouldn't that serve the purpose? > > Nope. I coded the initial patch on bug 567552 that way and it turns out > passing in NULL affects the *global* setting, not a per-process setting. If > you experiment with this you'll see that it clears the "Automatic Font > Activation" pref in FontBook. Seems to be an Apple docs bug, unless I > missing something. Fair enough; I didn't try it myself, just wondered based on what the doc said. Reported the bug to Apple?
(In reply to comment #9) > Fair enough; I didn't try it myself, just wondered based on what the doc > said. Reported the bug to Apple? No, but you're right, I should.
Fixed as of rev 58083c2147e2
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: jesse nominated without comment
please nominate the patch with a risk analysis if you think it's safe for taking into 6 Aurora.
Crash Signature: [@ DisableFontActivation() ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: