Closed
Bug 1139845
Opened 9 years ago
Closed 9 years ago
Fix ChromeProcessController crash when window is immediately closed
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
mozilla39
People
(Reporter: dvander, Assigned: dvander)
References
Details
Attachments
(2 files, 1 obsolete file)
4.08 KB,
patch
|
MatsPalmgren_bugz
:
review+
Sylvestre
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
1.23 KB,
patch
|
botond
:
review+
Sylvestre
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
If a widget is shut down too fast, ChromeProcessController::InitializeRoot will still fire later and assumes there's still a view.
Attachment #8573206 -
Flags: review?(botond)
Updated•9 years ago
|
Attachment #8573206 -
Flags: review?(botond) → review+
Comment 2•9 years ago
|
||
Carrying over tracking flags from duplicate bug 1140201. [Tracking Requested - why for this release]: we should fix this crash before it hits the release channel
Comment 3•9 years ago
|
||
Don't we need to update things like "GetPresShell()->GetDocument()" now that GetPresShell() can return null?
Flags: needinfo?(botond)
Comment 4•9 years ago
|
||
Yes, you're right. Updated patch to do so.
Attachment #8573206 -
Attachment is obsolete: true
Flags: needinfo?(botond)
Attachment #8574053 -
Flags: review?(mats)
Comment 5•9 years ago
|
||
Comment on attachment 8574053 [details] [diff] [review] Fix Thanks.
Attachment #8574053 -
Flags: review?(mats) → review+
Comment 6•9 years ago
|
||
Tracking crash.
Comment 7•9 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8c8a064db03a
Comment 8•9 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #7) > Try push: > https://treeherder.mozilla.org/#/jobs?repo=try&revision=8c8a064db03a All green! Setting checkin-needed as the tree is closed.
Keywords: checkin-needed
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4400a4a2de00
Keywords: checkin-needed
Assignee | ||
Comment 10•9 years ago
|
||
This still crashed on try, so one more follow-up fix: looks like even if we get a document, its document element could be gone.
Attachment #8575549 -
Flags: review?(botond)
https://hg.mozilla.org/mozilla-central/rev/4400a4a2de00
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•9 years ago
|
Attachment #8575549 -
Flags: review?(botond) → review+
Comment 12•9 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #2) > Carrying over tracking flags from duplicate bug 1140201. I didn't scrutinize the tracking flags when I carried them over, but now that I look at them again, I don't think this needs to be tracking Firefox 37: the bug which introduced the crash is bug 1124452, which landed in 38, and was uplifted to the b2g37 branch, but not to 37 itself. Mats, is there something I missed, or can we remove the tracking-firefox37 flag?
Flags: needinfo?(mats)
Comment 13•9 years ago
|
||
Fwiw, I looked at gfx/layers/apz/util/ChromeProcessController.cpp and I don't see the changes from bug 1124452 there so I think you're right that that 37 isn't affected, except for b2g. (I guess you should ask approval for b2g37 on the patches in this bug though?) lmandel perhaps wants to tripple-check that? :-)
tracking-firefox37:
+ → ---
Flags: needinfo?(mats) → needinfo?(lmandel)
Comment 14•9 years ago
|
||
(I looked at the file in my *beta* source tree that is, which I assume is 37 at this point)
Comment 15•9 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #13) > Fwiw, I looked at gfx/layers/apz/util/ChromeProcessController.cpp and I > don't see the changes > from bug 1124452 there so I think you're right that that 37 isn't affected, > except for b2g. > lmandel perhaps wants to tripple-check that? :-) Confirmed. I checked Socorro and don't see any crash reports for 37. (In reply to Mats Palmgren (:mats) from comment #14) > (I looked at the file in my *beta* source tree that is, which I assume is 37 > at this point) And indeed Beta is currently 37. :)
Flags: needinfo?(lmandel)
Comment 16•9 years ago
|
||
Comment on attachment 8574053 [details] [diff] [review] Fix Requesting approval to uplift to aurora (38) and b2g37, as these are the branches the regressing bug is on. Approval Request Comment [Feature/regressing bug #]: Bug 1124452. [User impact if declined]: Crashes: https://crash-stats.mozilla.com/report/list?signature=nsView%3A%3AGetPresShell%28%29#tab-reports [Describe test coverage new/current, TreeHerder]: On m-c since 2015-03-10. [Risks and why]: Low, this is an obvious null pointer dereference fix. [String/UUID change made/needed]: None.
Attachment #8574053 -
Flags: approval-mozilla-b2g37?
Attachment #8574053 -
Flags: approval-mozilla-aurora?
Comment 17•9 years ago
|
||
Comment on attachment 8575549 [details] [diff] [review] follow-up See previous comment.
Attachment #8575549 -
Flags: approval-mozilla-b2g37?
Attachment #8575549 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Attachment #8574053 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Updated•9 years ago
|
Attachment #8575549 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Comment 18•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/743955e3644c I folded the follow-up into the first patch. That said, it appears to have not landed on trunk yet?
Updated•9 years ago
|
Attachment #8574053 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•9 years ago
|
Flags: needinfo?(dvander)
Updated•9 years ago
|
Attachment #8575549 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 21•9 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #18) > I folded the follow-up into the first patch. That said, it appears to have > not landed on trunk yet? Indeed, I didn't realize the follow-up hasn't landed yet when I requested the approval. Thanks for catching that (and for landing it)!
You need to log in
before you can comment on or make changes to this bug.
Description
•