Closed
Bug 132370
Opened 22 years ago
Closed 22 years ago
Under Mac OS 8.6, a crash occurs during application startup
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: chrispetersen, Assigned: ftang)
References
Details
(Keywords: smoketest)
Attachments
(2 files, 2 obsolete files)
29.26 KB,
text/plain
|
Details | |
4.05 KB,
patch
|
Brade
:
review+
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
Build: 2002032008 Platform: Mac OS 8.6 Expected Results: Application should launch and open What I got: Shortly after splash screen appears, the application crashes Steps to reproduce: 1) Install and run the application (in Mac OS 8.6) 2) Application crashes when during the display of the splash screen
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
I can't run a recent build; this is a blocker for me (and Chris Petersen). I think this is due to changes made by dbaron (just a guess at this point).
Comment 3•22 years ago
|
||
oops... change of plans... now that I've looked at checkins I see that ftang made changes recently -->ftang
Assignee: dbaron → ftang
Comment 4•22 years ago
|
||
My guess (without spending a day pulling and building on 8.6) is that the FMGetFontFamilyFromName is the problem. Can we backout part of this fix or check Gestalt or ???
Assignee | ||
Comment 5•22 years ago
|
||
we could #if TARGET_CARBON some code out.
Assignee | ||
Comment 6•22 years ago
|
||
Comment 7•22 years ago
|
||
Comment on attachment 75313 [details] [diff] [review] #if TARGET_CARBON r=nhotta
Attachment #75313 -
Flags: review+
Comment 8•22 years ago
|
||
It's better to do a TVector test: #include <CodeFragments.h> if ((UInt32)FMGetFontFamilyFromName != kUnresolvedCFragSymbolAddress) { ... code that calls FMGetFontFamilyFromName } We also noted that there are other non-protected calls to the Font Manager in other files, which also need the test.
Comment 9•22 years ago
|
||
Comment on attachment 75313 [details] [diff] [review] #if TARGET_CARBON Patch needs work
Attachment #75313 -
Flags: needs-work+
Reporter | ||
Comment 10•22 years ago
|
||
*** Bug 132368 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 11•22 years ago
|
||
*** Bug 132369 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 12•22 years ago
|
||
Comment 13•22 years ago
|
||
Comment on attachment 75409 [details] [diff] [review] better fix, run time check. Also fix other similar issue r=nhotta
Attachment #75409 -
Flags: review+
Comment 14•22 years ago
|
||
Do we care that we are initializing the same global but for different functions? in HasGlyphFor, we initialize gFMAPIAvailableInitialized for one set of functions and then in nsDeviceContextMac.cpp, we init it based on only 2 functions (do we even know if those calls are the ones causing the crash?) small nit: in nsDeviceContextMac.cpp, please remove the spaces/tabs from this line/portion of the patch: - +
Comment 15•22 years ago
|
||
I think it's only necessary to do a T-Vector test for just one of the symbols, not all of them. And, like brade, I'd prefer to see this done in one place, rather than two (although the patch as is sets two separate private static variables, not the same global as brade implies). Put a static method somewhere called "FontManagerAvailable()" or something, and call that.
Assignee | ||
Comment 16•22 years ago
|
||
>I think it's only necessary to do a T-Vector test for just one of the symbols, not all of them. ok, if that is the case, which function should we test ? > I'd prefer to see this done in one place, rather than two >Put a static method somewhere called "FontManagerAvailable()" or something, and call that. Where you want me to put it ?
Comment 17•22 years ago
|
||
Make a public static method in nsDeviceContextMac, like: PRBool HaveFontManager90(); PRBool HaveFontManager90() { return ((UInt32)FMGetFontFamilyName != kUnresolvedCFragSymbolAddress); } FMGetFontFamilyName should be OK to test.
Comment 18•22 years ago
|
||
So I'm going to ask the standard sheriff question ... If this bug was introduced on the 15th, a bug just filed yesterday about it, and ftang is actively working on it, do we really need it to be a smoketest tree blocker? Or can it be downgraded?
Assignee | ||
Comment 19•22 years ago
|
||
Attachment #75313 -
Attachment is obsolete: true
Attachment #75409 -
Attachment is obsolete: true
Assignee | ||
Comment 20•22 years ago
|
||
>do we really need it to be a smoketest tree blocker? Or can it be downgraded?
does MacOS 8.6 need to smoke test for daily build? if so, then this should be
smoketest blocker untill got fix. If not, then maybe we can downgrade this one
Comment 21•22 years ago
|
||
Comment on attachment 75433 [details] [diff] [review] patch again r=brade (with whitespace cleanup discussed on aim)
Attachment #75433 -
Flags: review+
Updated•22 years ago
|
Attachment #75433 -
Flags: superreview+
Comment 22•22 years ago
|
||
Comment on attachment 75433 [details] [diff] [review] patch again sr=sfraser
Assignee | ||
Comment 23•22 years ago
|
||
hope this will fix 122875 too.
Assignee | ||
Comment 24•22 years ago
|
||
fixed and check in
Reporter | ||
Comment 25•22 years ago
|
||
Marking verified on the March 22nd build under Mac OS 8.6 (2002-03-22-08)
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•