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)
Tracking
()
VERIFIED
FIXED
Firefox 57
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)
Assignee | ||
Comment 1•7 years ago
|
||
oh boy
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Flags: needinfo?(felipc)
Reporter | ||
Comment 2•7 years ago
|
||
Ugh, now these same leaks are hitting the browser/extensions/shield-recipe-client/test directory on OSX/Win :(
Assignee | ||
Comment 3•7 years ago
|
||
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.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8901944 -
Flags: review?(mdeboer)
Assignee | ||
Comment 5•7 years ago
|
||
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?
Updated•7 years ago
|
Flags: needinfo?(ryanvm)
Comment 6•7 years ago
|
||
mozreview-review |
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+
Reporter | ||
Comment 7•7 years ago
|
||
Yes, this fixes the leaks by itself for both directories.
Flags: needinfo?(ryanvm)
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
Awesome, thanks!
Comment 10•7 years ago
|
||
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
Comment 11•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Reporter | ||
Updated•7 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•