Closed
Bug 1304457
Opened 8 years ago
Closed 8 years ago
RemoteContentController::Destroy should set mCanSend = false
Categories
(Core :: Graphics: Layers, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox49 | --- | unaffected |
firefox50 | --- | unaffected |
firefox51 | --- | fixed |
firefox52 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
(Keywords: regression, Whiteboard: [gfx-noted])
Attachments
(2 files)
58 bytes,
text/x-review-board-request
|
dvander
:
review+
gchang
:
approval-mozilla-aurora+
|
Details |
58 bytes,
text/x-review-board-request
|
dvander
:
review+
gchang
:
approval-mozilla-aurora+
|
Details |
Quoting bug 1272942 comment 33: > I reproduced in rr and it looks like mCanSend should be getting set to false > in RemoteContentController::Destroy(). When that function calls SendDestroy, > it sends a destroy message to APZChild which promptly deletes itself during > the processing of that message. So the parent side shouldn't be sending any > more messages to the child after it has called SendDestroy(). Also while I'm here I'm going to fix bug 1298954 comment 8: > At least one thing wrong with the code in RemoteContentController is that it > doesn't have mCanSend checks on a few functions - including > SetScrollingRootContent.
Assignee | ||
Comment 1•8 years ago
|
||
Regression from bug 1289650.
Blocks: 1289650
status-firefox49:
--- → unaffected
status-firefox50:
--- → unaffected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
Keywords: regression
OS: Unspecified → All
Priority: -- → P2
Hardware: Unspecified → All
Whiteboard: [gfx-noted]
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8793413 [details] Bug 1304457 - Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. https://reviewboard.mozilla.org/r/80154/#review78822
Attachment #8793413 -
Flags: review?(dvander) → review+
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8793414 [details] Bug 1304457 - Add some missing mCanSend checks. https://reviewboard.mozilla.org/r/80156/#review78824
Attachment #8793414 -
Flags: review?(dvander) → review+
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c3920483acd Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. r=dvander https://hg.mozilla.org/integration/autoland/rev/ab5ccadf750e Add some missing mCanSend checks. r=dvander
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3c3920483acd https://hg.mozilla.org/mozilla-central/rev/ab5ccadf750e
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Assignee | ||
Comment 8•8 years ago
|
||
Comment on attachment 8793413 [details] Bug 1304457 - Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. Approval Request Comment [Feature/regressing bug #]: bug 1289650 [User impact if declined]: sporadic crashes [Describe test coverage new/current, TreeHerder]: some automated tests were intermittently crashing because of this bug (see bug 1272942), so this code is exercised in automation [Risks and why]: pretty low risk, code is well understood and the bug appears to be have been a simple oversight [String/UUID change made/needed]: none
Attachment #8793413 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•8 years ago
|
Attachment #8793414 -
Flags: approval-mozilla-aurora?
Comment 9•8 years ago
|
||
Comment on attachment 8793413 [details] Bug 1304457 - Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. This patch fixes a regression. Take it in 51 aurora.
Attachment #8793413 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•8 years ago
|
Attachment #8793414 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 10•8 years ago
|
||
remote: https://hg.mozilla.org/releases/mozilla-aurora/rev/68cf1c5b64ec remote: https://hg.mozilla.org/releases/mozilla-aurora/rev/4dd6247f6710
Comment 11•8 years ago
|
||
Can you please request Beta approval for this given bug 1272942 comment 40? Thanks!
Flags: needinfo?(bugmail)
Assignee | ||
Comment 12•8 years ago
|
||
This patch won't apply to beta. As far as I can tell the beta code doesn't suffer from this problem. I commented on bug 1272942.
Flags: needinfo?(bugmail)
Assignee | ||
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•