Closed
Bug 1181595
Opened 8 years ago
Closed 8 years ago
crash in mozilla::dom::MessagePort::RemoveDocFromBFCache()
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
RESOLVED
FIXED
mozilla43
People
(Reporter: tracy, Assigned: baku)
References
Details
(Keywords: crash, topcrash-win)
Crash Data
Attachments
(2 files)
721 bytes,
patch
|
smaug
:
review+
kglazko
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
780 bytes,
patch
|
smaug
:
review+
ritu
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-7031611a-073b-40ef-913d-41e0f2150703. ============================================================= This first appeared on Nightly builds of 2015061803. It ramped up in volume once merged to Aurora with builds from 2015063003
Comment 1•8 years ago
|
||
null pointer + offset crash?
Comment 2•8 years ago
|
||
looks like so.
Assignee | ||
Comment 3•8 years ago
|
||
Flags: needinfo?(amarchesini)
Attachment #8631115 -
Flags: review?(bugs)
Updated•8 years ago
|
Attachment #8631115 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce51b85a39bc
Assignee: nobody → amarchesini
Comment 5•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ce51b85a39bc
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8631115 [details] [diff] [review] mc2.patch Approval Request Comment [Feature/regressing bug #]: MessagePort/MessageChannel [User impact if declined]: a crash [Describe test coverage new/current, TreeHerder]: none. it's very racy. [Risks and why]: none. the patch replaces a MOZ_ASSERT() with a if(..) return; [String/UUID change made/needed]: none.
Attachment #8631115 -
Flags: approval-mozilla-aurora?
Comment 8•8 years ago
|
||
Comment on attachment 8631115 [details] [diff] [review] mc2.patch Minimal risk, the patch replaces a MOZ_ASSERT() with a if(..) return; and is not causing issues on m-c.
Attachment #8631115 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
![]() |
||
Comment 10•8 years ago
|
||
The signature still shows up in 41.0b1: https://crash-stats.mozilla.com/signature/?product=Firefox&version=41.0b1&signature=mozilla%3A%3Adom%3A%3AMessagePort%3A%3ARemoveDocFromBFCache%28%29&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&page=1 Andrea, do we need to reopen this?
Flags: needinfo?(amarchesini)
![]() |
||
Comment 11•8 years ago
|
||
I would say yes. (Or a new bug; I don't care which) In those crash reports, it is not |window| that is null. It is |this| that is null, which means that |mPort| is null here: bool MessagePortChild::RecvReceiveData(nsTArray<MessagePortMessage>&& aMessages) { MOZ_ASSERT(mPort); mPort->MessagesReceived(aMessages); return true; }
Assignee | ||
Comment 12•8 years ago
|
||
What I suspect is happening here is: 1. port1 is sending data 2. port2.close() -> we set mPort to null in the actor 3. port2 receives data before that the close() operation is managed by the MessagePortService.
Status: RESOLVED → REOPENED
Flags: needinfo?(amarchesini)
Resolution: FIXED → ---
Assignee | ||
Comment 13•8 years ago
|
||
Attachment #8648058 -
Flags: review?(bugs)
Comment 14•8 years ago
|
||
Comment on attachment 8648058 [details] [diff] [review] crash.patch I would have opened a new bug for this patch. Easier to track what has been fixed and where.
Attachment #8648058 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 15•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6411f2fcd3ec
Assignee | ||
Comment 16•8 years ago
|
||
Comment on attachment 8648058 [details] [diff] [review] crash.patch Approval Request Comment [Feature/regressing bug #]: MessagePort/Channel [User impact if declined]: a crash can happen [Describe test coverage new/current, TreeHerder]: race condition [Risks and why]: no risk. We just add a if() check. [String/UUID change made/needed]: none
Attachment #8648058 -
Flags: approval-mozilla-aurora?
![]() |
||
Comment 17•8 years ago
|
||
Only aurora? This crash signature is seen on beta as well. (v41 has become beta in the time since comment 6)
Assignee | ||
Comment 18•8 years ago
|
||
Comment on attachment 8648058 [details] [diff] [review] crash.patch Approval Request Comment [Feature/regressing bug #]: MessagePort/Channel [User impact if declined]: a crash can happen [Describe test coverage new/current, TreeHerder]: race condition hard to reproduce. [Risks and why]: none [String/UUID change made/needed]: none
Attachment #8648058 -
Flags: approval-mozilla-beta?
Comment on attachment 8648058 [details] [diff] [review] crash.patch Crash fix, let's uplift to Aurora and Beta.
Attachment #8648058 -
Flags: approval-mozilla-beta?
Attachment #8648058 -
Flags: approval-mozilla-beta+
Attachment #8648058 -
Flags: approval-mozilla-aurora?
Attachment #8648058 -
Flags: approval-mozilla-aurora+
https://hg.mozilla.org/mozilla-central/rev/6411f2fcd3ec
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Comment 23•8 years ago
|
||
Landed on beta https://hg.mozilla.org/releases/mozilla-beta/rev/e393da8ff81b
Updated•8 years ago
|
Target Milestone: mozilla42 → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•