Closed
Bug 1274319
Opened 9 years ago
Closed 9 years ago
[Elevated Update] Fast Elevation Cancel hangs Firefox
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | affected |
People
(Reporter: aflorinescu, Assigned: spohl)
References
Details
Attachments
(1 file, 1 obsolete file)
|
6.37 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
[Description]:
If at the point when the elevated authentication window is displayed a fast cancel is pressed, Nightly will hang.
[Steps to Reproduce]:
1. Install Nightly from Admin account.
2. Switch to standard account.
3. Check for update, download and restart to update.
4. When the elevated authentication window is displayed press a fast Cancel.
[Actual Result]:
The loading panel remains stuck.
[Expected Result]:
The loading panel is closed and Nightly process doesn't hang.
| Assignee | ||
Comment 1•9 years ago
|
||
The issue is identical to what we've fixed in bug 1268475 for |ObtainUpdaterArguments|. This time it's |CleanupElevatedMacUpdate| that may fail to connect to the unelevated update process if the elevation dialog gets dismissed too quickly. These two functions are the only two that suffer from this problem. I've refactored the code a bit to make this cleaner.
Assignee: nobody → spohl.mozilla.bugs
Status: NEW → ASSIGNED
Attachment #8754510 -
Flags: review?(mstange)
Updated•9 years ago
|
Attachment #8754510 -
Flags: review?(mstange) → review+
| Assignee | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/projects/oak/rev/d0433d871cf8a7aa43dfbcbe245f2d41e9046a74
Bug 1274319: Allow elevated updater on OSX to make 10 IPC connection attempts to the unelevated updater. r=mstange CLOSED TREE
| Assignee | ||
Comment 3•9 years ago
|
||
Thanks, Markus!
Adrian, please verify with this build:
http://archive.mozilla.org/pub/firefox/nightly/2016/05/2016-05-19-14-34-16-oak/firefox-49.0a1.en-US.mac.dmg
Thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(adrian.florinescu)
Resolution: --- → FIXED
| Reporter | ||
Comment 4•9 years ago
|
||
Verified the fix and the issue is still reproducible; reopening issue.
Status: RESOLVED → REOPENED
Flags: needinfo?(adrian.florinescu)
Resolution: FIXED → ---
Updated•9 years ago
|
Severity: normal → major
| Assignee | ||
Comment 5•9 years ago
|
||
The previous patch fixed the updater binary. However, in the case reported here, it is actually the Firefox process that tries to launch the privileged helper tool and causes the elevation dialog to display. Hence, it is Firefox's responsibility to clean up the unelevated updater process if the user cancels the elevation dialog. This patch adds the same fix to toolkit/xre/MacLaunchHelper.mm. Sorry to bother you again, Markus. We should be in the clear now.
Attachment #8754510 -
Attachment is obsolete: true
Attachment #8755095 -
Flags: review?(mstange)
| Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/projects/oak/rev/fac56d4f0fd7e86d04f5bd397dc576ef9ddf19ac
Bug 1274319: Allow elevated updater on OSX to make 10 IPC connection attempts to the unelevated updater. r=mstange
Updated•9 years ago
|
Attachment #8755095 -
Flags: review?(mstange) → review+
| Assignee | ||
Comment 7•9 years ago
|
||
Please verify with this build:
http://archive.mozilla.org/pub/firefox/nightly/2016/05/2016-05-20-21-29-41-oak/firefox-49.0a1.en-US.mac.dmg
Thanks!
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Flags: needinfo?(adrian.florinescu)
Resolution: --- → FIXED
Comment 8•9 years ago
|
||
Hi Stephen,
I verified this issue on Mac OS 10.9, 10.10 and 10.11 with the build from comment 7.
On OS 10.10 I couldn't reproduce the issue but on the other systems it can be reproduced. The actual results are the same: the loading panel remains stuck after the cancellation.
Please note that I also tested OS 10.10 on MacBook and the issue doesn't reproduce!?
I will retest this issue as soon as the feature becomes available in the Nightly build.
Flags: needinfo?(adrian.florinescu)
| Assignee | ||
Comment 9•9 years ago
|
||
When you verify this on Nightly, please make sure to check the console and the update log for any messages if the issue reproduces.
| Assignee | ||
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba0982c4e30cfbc79ef1f4e25c4a1afb0766cfec
Bug 1274319: Allow elevated updater and Firefox on OSX to make 10 IPC connection attempts to the unelevated updater. r=mstange
Comment 11•9 years ago
|
||
| bugherder | ||
Comment 12•9 years ago
|
||
Cornel, can someone from your team re-test this with a newer build?
Robert should this uplift after verification (to 49 aurora?)
Flags: needinfo?(robert.strong.bugs)
Flags: needinfo?(cornel.ionce)
Comment 13•9 years ago
|
||
This should already be on 49.
Stephen, please confirm.
Flags: needinfo?(robert.strong.bugs) → needinfo?(spohl.mozilla.bugs)
Comment 15•9 years ago
|
||
This is still reproducible only on Mac OS X 10.9.5 using both Nightly and Aurora from 2016-07-08. Same steps as in comment 0. Mac OS X 10.10.5 and 10.11 are not affected.
Should we reopen this bug or log a new one?
Flags: needinfo?(cornel.ionce) → needinfo?(spohl.mozilla.bugs)
| Assignee | ||
Comment 16•9 years ago
|
||
Since this only affects a subset of systems, please file a new bug. It probably also shouldn't have a rating of "major" anymore. It arguably never was a major issue, because most users wouldn't click cancel this fast.
When you file the new bug, please make sure to follow comment 9.
Flags: needinfo?(spohl.mozilla.bugs)
You need to log in
before you can comment on or make changes to this bug.
Description
•