Closed
Bug 600411
Opened 14 years ago
Closed 14 years ago
fix app-initiated restart (LaunchChildMac) to launch the right architecture on OS X 10.5
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: ted, Assigned: jaas)
References
Details
Attachments
(1 file, 3 obsolete files)
3.67 KB,
patch
|
Details | Diff | Splinter Review |
MacLaunchChild:
http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/MacLaunchHelper.mm#51
is used in app-initiated restart (like restarting from the extension manager) to relaunch the current process. Similarly to bug 600362, it will need to be fixed to launch the correct architecture binary on OS X 10.5.
Comment 1•14 years ago
|
||
Same question as in bug 600408 - seems to me like this needs to block b7, assuming this config is what we're going to ship...
blocking2.0: --- → beta7+
Reporter | ||
Comment 2•14 years ago
|
||
This is the config we're shipping, AFAIK, and if we don't fix this, using app-initiated restart will crash on restart on 10.5. Manually launching the app again will work, though.
My work so far. I haven't tested this. The approach is to prefer to launch the child as whatever the current process is.
Assignee: nobody → joshmoz
Fix memory leak.
Attachment #479390 -
Attachment is obsolete: true
Attachment #479588 -
Flags: review?(benjamin)
Comment 5•14 years ago
|
||
Does this cover the case where we start Firefox from off, find an update pending, and launch the updater ? That's broken on 10.5 too.
Comment 6•14 years ago
|
||
I don't think so - that looks to be handled by nsUpdateDriver.cpp. I guess I'll file another bug...
Attachment #479588 -
Attachment is obsolete: true
Attachment #479896 -
Flags: review?(benjamin)
Attachment #479588 -
Flags: review?(benjamin)
Comment 8•14 years ago
|
||
Comment on attachment 479896 [details] [diff] [review]
fix v1.2
This looks right to me, but rs should confirm.
Attachment #479896 -
Flags: review?(robert.bugzilla)
Attachment #479896 -
Flags: review?(benjamin)
Attachment #479896 -
Flags: review+
Comment 9•14 years ago
|
||
Comment on attachment 479896 [details] [diff] [review]
fix v1.2
looks fine to me as well
Attachment #479896 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 10•14 years ago
|
||
Use anonymous namespace to avoid symbol for static CPU preference array conflicting with other symbols in the library.
Attachment #479896 -
Attachment is obsolete: true
Assignee | ||
Comment 11•14 years ago
|
||
pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/e000a23be43f
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•