Closed Bug 1370634 Opened 7 years ago Closed 7 years ago

Sometimes the firefox.exe process doesn't exit before applying an update.

Categories

(Toolkit :: Application Update, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

Details

Attachments

(1 file, 2 obsolete files)

A better workaround will be implemented in bug 1112937 but that bug will take a bit longer to implement. One thing that can be done to make this less likely to happen is to extend the wait time for the firefox.exe process so it is more likely to exit.
Attached patch patch rev1 (obsolete) — Splinter Review
It appears that there are times that the firefox.exe process takes longer than normal to exit per bug 1370576. I'd like to get this in for Firefox 55 since I doubt I will be able to land bug 1112937 in time.
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Attachment #8874983 - Flags: review?(mhowell)
Comment on attachment 8874983 [details] [diff] [review]
patch rev1

Review of attachment 8874983 [details] [diff] [review]:
-----------------------------------------------------------------

What do you think about bumping this up all the way to the shutdown hang watchdog's timeout (which is 60 + 3 seconds)? Seems like, since both places are trying to define what a reasonable upper bound is for how long a shutdown should take, they should probably be in agreement.
Attached patch patch rev2 (obsolete) — Splinter Review
Since these won't ever be exactly in sync I went with 70 seconds. Does that sound ok with you?
Attachment #8874983 - Attachment is obsolete: true
Attachment #8874983 - Flags: review?(mhowell)
Attachment #8874999 - Flags: review?(mhowell)
Comment on attachment 8874999 [details] [diff] [review]
patch rev2

Review of attachment 8874999 [details] [diff] [review]:
-----------------------------------------------------------------

Yep! Thanks.
Attachment #8874999 - Flags: review?(mhowell) → review+
I updated the comment so it is clearer.
Attachment #8874999 - Attachment is obsolete: true
Attachment #8875004 - Flags: review+
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3ccce72b9da0
Make the time to wait the callback application (e.g. firefox.exe) to exit in the updater to be greater than the application's watchdog timer. r=mhowell
https://hg.mozilla.org/mozilla-central/rev/3ccce72b9da0
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
No longer blocks: 1370576
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: