Closed Bug 1391117 Opened 7 years ago Closed 7 years ago

sessionstore browser-chrome tests are going to permaleak on Windows when Gecko 57 merges to Beta on 2017-09-20

Categories

(Firefox :: Session Restore, defect)

Unspecified
Windows
defect
Not set
critical

Tracking

()

VERIFIED FIXED
Firefox 57
Tracking Status
firefox57 + verified

People

(Reporter: RyanVM, Assigned: Felipe)

References

Details

Attachments

(1 file)

[Tracking Requested - why for this release]: Permaleaking tests on the next merge day. Try bisection confirms that this was caused by bug 1388145. I didn't bisect through all the patches, but the first one in the series looks suspicious. Can you please take a look, Felipe? https://treeherder.mozilla.org/logviewer.html#?job_id=123440025&repo=try https://treeherder.mozilla.org/logviewer.html#?job_id=123441865&repo=try TEST-UNEXPECTED-FAIL | leakcheck | default process: 9552 bytes leaked (BackstagePass, CondVar, IdlePeriod, Mutex, SharedScriptableHelperForJSIID, ...)
Flags: needinfo?(felipc)
oh boy
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Flags: needinfo?(felipc)
Ugh, now these same leaks are hitting the browser/extensions/shield-recipe-client/test directory on OSX/Win :(
See Also: → 1392648
I believe the root cause for this is bug 1392648, but it still would be nice to prevent the code from running into this situation (what happens is that some initialization tasks are running twice due to the sessionstore-windows-restored notification being sent again during tests). So let's add a simple patch to prevent that.
Attachment #8901944 - Flags: review?(mdeboer)
Hey Ryan, if you get a chance, could you do a try push with this patch and without bug 1392648 to verify if this would independently fix the issue?
Flags: needinfo?(ryanvm)
Comment on attachment 8901944 [details] Bug 1391117 - Prevent nsBrowserGlue's initialization tasks from running twice in case its notification is sent again. https://reviewboard.mozilla.org/r/173382/#review178972 ::: commit-message-128a7:1 (Diff revision 1) > +Bug 1391117 - Prevent nsBrowserGlue's initialization tasks from running twice in case its notification is sent again. r=mdeboer Huuuuuge nit: my nick is 'mikedeboer'!!!1 ;-P
Attachment #8901944 - Flags: review?(mdeboer) → review+
Yes, this fixes the leaks by itself for both directories.
Flags: needinfo?(ryanvm)
Awesome, thanks!
Pushed by felipc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/931ed60cd313 Prevent nsBrowserGlue's initialization tasks from running twice in case its notification is sent again. r=mikedeboer
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: