Closed
Bug 1199901
Opened 9 years ago
Closed 9 years ago
shutdown crash in nsIPrincipal::GetAppStatus()
Categories
(Core :: DOM: Workers, defect)
Tracking
()
VERIFIED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox41 | --- | unaffected |
firefox42 | + | verified |
firefox43 | + | verified |
People
(Reporter: ananuti, Assigned: nsm)
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
40 bytes,
text/x-review-board-request
|
wchen
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
40 bytes,
text/x-review-board-request
|
wchen
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
This bug was filed from the Socorro interface and is report bp-df7870a8-9fc8-4a39-9aea-fd2e02150829. ============================================================= STR 1. Open Gmail & enable desktop notifications. 2. Close firefox when new mail notification show on the bottom right. [Tracking Requested - why for this release]: crash, this will get annoying for users if close firefox on notification.
Flags: needinfo?(nsm.nikhil)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → nsm.nikhil
Status: NEW → ASSIGNED
Flags: needinfo?(nsm.nikhil)
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1199901 - Clear mObserver when WorkerNotificationObserver is destroyed. r?wchen
Attachment #8655037 -
Flags: review?(wchen)
Comment 2•9 years ago
|
||
The patch doesn't look related to the crash. Is this the right patch or can you explain why this solves the problem?
Flags: needinfo?(nsm.nikhil)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to William Chen [:wchen] from comment #2) > The patch doesn't look related to the crash. Is this the right patch or can > you explain why this solves the problem? Sorry, I completely forgot about patch 2. I'll have that up in some time. This patch is for another bug I noticed on Linux that is triggered by the same STR, so please review this too. This one is caused because we fail to clear the mObserver when the observer goes away.
Flags: needinfo?(nsm.nikhil)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8655037 [details] MozReview Request: Bug 1199901 - Clear mObserver when WorkerNotificationObserver is destroyed. r?wchen Bug 1199901 - Clear mObserver when WorkerNotificationObserver is destroyed. r?wchen
Assignee | ||
Comment 5•9 years ago
|
||
Bug 1199901 - GetOrigin() fails cleanly instead of asserting principal. r?wchen When we use the XUL based alerts and the main firefox window is closed, the XUL window still keeps the process running, but as the window closes it calls DisconnectFromOwner() on the Notification. Later, when the XUL alert closes (either due to timeout or due to script) attempts to get the principal can fail. This patch allows that to happen and will just skip deleting the Notification from persistent storage.
Attachment #8655625 -
Flags: review?(wchen)
Comment 6•9 years ago
|
||
Comment on attachment 8655037 [details] MozReview Request: Bug 1199901 - Clear mObserver when WorkerNotificationObserver is destroyed. r?wchen https://reviewboard.mozilla.org/r/17787/#review16079 Trailing whitespace
Attachment #8655037 -
Flags: review?(wchen) → review+
Comment 7•9 years ago
|
||
Comment on attachment 8655625 [details] MozReview Request: Bug 1199901 - GetOrigin() fails cleanly instead of asserting principal. r?wchen https://reviewboard.mozilla.org/r/17951/#review16085
Attachment #8655625 -
Flags: review?(wchen) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/7f7c010fd294 https://hg.mozilla.org/integration/mozilla-inbound/rev/17a5de3b6eaa
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7f7c010fd294 https://hg.mozilla.org/mozilla-central/rev/17a5de3b6eaa https://hg.mozilla.org/mozilla-central/rev/50fd13696678
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment 11•9 years ago
|
||
Do you want to request uplift to aurora for these patches? Are older version (41 for example) significantly affected? Thanks!
Comment 12•9 years ago
|
||
Forgot to needinfo you. Nikhil what do you think?
Flags: needinfo?(nsm.nikhil)
Assignee | ||
Comment 13•9 years ago
|
||
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #11) > Do you want to request uplift to aurora for these patches? Are older version > (41 for example) significantly affected? Thanks! So the GetOrigin() failure was a main thread issue which means we may have already been shipping it for several releases (IIRC we have had notifications enabled for more than a year). Unless it is showing up in crash stats for older releases, I don't think it is worth uplifting.
Flags: needinfo?(nsm.nikhil)
Reporter | ||
Comment 14•9 years ago
|
||
I can't reproduce in 41 and I don't see that 41 is affected from crash-stats. I guess it's regressed by bug 1114554 so this should be uplift to aurora, yes?
status-firefox41:
--- → unaffected
Flags: needinfo?(nsm.nikhil)
Assignee | ||
Comment 16•9 years ago
|
||
Comment on attachment 8655625 [details] MozReview Request: Bug 1199901 - GetOrigin() fails cleanly instead of asserting principal. r?wchen Ekanan, you are right, Bug 1114554 caused this. Approval Request Comment [Feature/regressing bug #]: Bug 1114554 [User impact if declined]: Crash when closing the browser while a Notification is open. [Describe test coverage new/current, TreeHerder]: [Risks and why]: No risk. [String/UUID change made/needed]: None.
Flags: needinfo?(nsm.nikhil)
Attachment #8655625 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•9 years ago
|
Attachment #8655037 -
Flags: approval-mozilla-aurora?
Comment 17•9 years ago
|
||
Comment on attachment 8655625 [details] MozReview Request: Bug 1199901 - GetOrigin() fails cleanly instead of asserting principal. r?wchen Fix a crash, taking it.
Attachment #8655625 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•9 years ago
|
Attachment #8655037 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
https://hg.mozilla.org/releases/mozilla-aurora/rev/a04096cb27cc https://hg.mozilla.org/releases/mozilla-aurora/rev/77863b95e7d6 https://hg.mozilla.org/releases/mozilla-aurora/rev/f37badf7f491
Reporter | ||
Comment 19•9 years ago
|
||
Verified fixed in aurora 20150911004112.
You need to log in
before you can comment on or make changes to this bug.
Description
•