Closed
Bug 1325655
Opened 8 years ago
Closed 8 years ago
Crash in NS_QueryNotificationCallbacks<T>
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla54
People
(Reporter: marcia, Assigned: mayhemer)
References
Details
(Keywords: crash, Whiteboard: [necko-active])
Crash Data
Attachments
(2 files, 1 obsolete file)
1.44 KB,
patch
|
jduell.mcbugs
:
review+
gchang
:
approval-mozilla-aurora+
jcristau
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
2.02 KB,
patch
|
valentin
:
review+
gchang
:
approval-mozilla-aurora+
jcristau
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-ca636fe8-9324-4579-972f-7b3112161223.
=============================================================
Seen while looking at Nightly crash stats: http://bit.ly/2hQqu7F. Crashes started with 20161221030226 build.
Possible regression range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=567894f026558e6dada617a3998f29aed06ac7d8&tochange=c36fbe84042debef0a5d58b7fc88185b401762ce
Comment 1•8 years ago
|
||
It looks like channel is null, which would mean that RedirectChannelRegistrar::LinkChannels didn't find the real channel for that id. Honza, can you have a look at it?
Assignee: nobody → honzab.moz
Whiteboard: [necko-active]
Updated•8 years ago
|
status-firefox51:
--- → affected
status-firefox52:
--- → affected
status-firefox-esr45:
--- → affected
Comment 2•8 years ago
|
||
In 50, (100.0% in signature vs 18.68% overall) Addon "Adblock Plus" = true.
status-firefox50:
--- → affected
![]() |
||
Comment 3•8 years ago
|
||
This is the #5 topcrash in Nightly 20170106030204.
![]() |
Assignee | |
Comment 5•8 years ago
|
||
clear and simple. no test coverage.
Attachment #8827481 -
Flags: review?(jduell.mcbugs)
Updated•8 years ago
|
Attachment #8827481 -
Flags: review?(jduell.mcbugs) → review+
![]() |
Assignee | |
Comment 6•8 years ago
|
||
no try since there is code path that would execute this in our test suite.
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/703b1e442123
Let HttpChannelParent::ConnectChannel hard-fail when no nsHttpChannel is not found registered. r=jduell
Keywords: checkin-needed
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Comment 9•8 years ago
|
||
Please request Aurora/Beta approval on this when you get a chance.
Flags: needinfo?(honzab.moz)
![]() |
Assignee | |
Comment 10•8 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #9)
> Please request Aurora/Beta approval on this when you get a chance.
Not until bug 1334645 comes to some conclusion.
![]() |
Assignee | |
Comment 11•8 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #10)
> (In reply to Ryan VanderMeulen [:RyanVM] from comment #9)
> > Please request Aurora/Beta approval on this when you get a chance.
>
> Not until bug 1334645 comes to some conclusion.
No time to investigate that bug and probably the relation to this bug is a red herring. Asking for a now.
Flags: needinfo?(honzab.moz)
![]() |
Assignee | |
Comment 12•8 years ago
|
||
Comment on attachment 8827481 [details] [diff] [review]
v1 part 1/2 (fail when no channel found)
Applies cleanly on m-a, m-b
Approval Request Comment
[Feature/Bug causing the regression]: e10s, async redirects (landed years ago)
[User impact if declined]: parent process crash
[Is this code covered by automated tests?]: yes, but this case is not!
[Has the fix been verified in Nightly?]: yes, according crash stats
[Needs manual test from QE? If yes, steps to reproduce]: i unfortunately don't know about a way to repro this :(
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: depends on how it turns out with bug 1334645 which is tho inconclusive if caused by landing this on nightly (crash stats sucks)
[Why is the change risky/not risky?]: this is a second or a third fix in this area. the crash (and all the crashes fixed before this bug) are caused by an addon or combination of addons and a so far unknown scenario/configuration. it may be possible this patch will just 'shift' the problem further down - that another crash or something may appear further in the logic paths.
[String changes made/needed]: none
Attachment #8827481 -
Flags: approval-mozilla-beta?
Attachment #8827481 -
Flags: approval-mozilla-aurora?
Comment 13•8 years ago
|
||
Comment on attachment 8827481 [details] [diff] [review]
v1 part 1/2 (fail when no channel found)
Fix a crash. Aurora53+.
Attachment #8827481 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•8 years ago
|
||
bugherder uplift |
![]() |
Assignee | |
Comment 15•8 years ago
|
||
Comment on attachment 8827481 [details] [diff] [review]
v1 part 1/2 (fail when no channel found)
Dropping a?beta since this is probably cause another, harder to fix kind of crash, now appearing (probably freshly - yet unconfirmed) on aurora after this has been landed there.
Attachment #8827481 -
Flags: approval-mozilla-beta?
![]() |
Assignee | |
Comment 16•8 years ago
|
||
The fix needs adjustments. Killing the IPC channel probably makes the platform go crazy.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
![]() |
Assignee | |
Updated•8 years ago
|
Status: REOPENED → ASSIGNED
![]() |
Assignee | |
Updated•8 years ago
|
Attachment #8827481 -
Attachment description: v1 (fail when no channel found) → v1 part 1/2 (fail when no channel found)
![]() |
Assignee | |
Comment 17•8 years ago
|
||
- return false from ipc Recv really is something to never use!
- I moved the block before the line we rewrite mChannel since I want to leave the current mChannel non null ; there are not many non-nullness checks around this code :/
- please check that Delete() is the right thing to do and that when the child sends some IPC in the meantime we don't crash again
Valentin, I remember you were digging here recently, hence you may be the best reviewer for this.
Attachment #8836165 -
Flags: review?(valentin.gosu)
![]() |
Assignee | |
Comment 18•8 years ago
|
||
refresh!
Attachment #8836165 -
Attachment is obsolete: true
Attachment #8836165 -
Flags: review?(valentin.gosu)
Attachment #8836166 -
Flags: review?(valentin.gosu)
Updated•8 years ago
|
Attachment #8836166 -
Flags: review?(valentin.gosu) → review+
![]() |
Assignee | |
Updated•8 years ago
|
Keywords: checkin-needed
![]() |
Assignee | |
Comment 19•8 years ago
|
||
Comment on attachment 8836166 [details] [diff] [review]
v1 part 2/2 (don't kill the IPC with return false, but regularly delete self)
Approval Request Comment - see comment 12.
Attachment #8836166 -
Flags: approval-mozilla-aurora?
Comment 20•8 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9685460cc7d0
Let HttpChannelParent::ConnectChannel delete itself if redirect target nsHttpChannel is not found registered. r=valentin
Keywords: checkin-needed
Comment 21•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Comment 22•8 years ago
|
||
Comment on attachment 8836166 [details] [diff] [review]
v1 part 2/2 (don't kill the IPC with return false, but regularly delete self)
Fix a crash. Aurora53+.
Attachment #8836166 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 23•8 years ago
|
||
bugherder uplift |
Comment 24•8 years ago
|
||
This is looking really good on crash-stats since the second patch landed on Trunk and Aurora. How are we feeling about requesting uplift to Beta?
Flags: needinfo?(honzab.moz)
![]() |
Assignee | |
Comment 25•8 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #24)
> This is looking really good on crash-stats since the second patch landed on
> Trunk and Aurora. How are we feeling about requesting uplift to Beta?
Positively :)
Flags: needinfo?(honzab.moz)
![]() |
Assignee | |
Comment 26•8 years ago
|
||
Comment on attachment 8827481 [details] [diff] [review]
v1 part 1/2 (fail when no channel found)
Approval Request Comment: comment 12
Attachment #8827481 -
Flags: approval-mozilla-beta?
![]() |
Assignee | |
Comment 27•8 years ago
|
||
Comment on attachment 8836166 [details] [diff] [review]
v1 part 2/2 (don't kill the IPC with return false, but regularly delete self)
Approval Request Comment: comment 12
Attachment #8836166 -
Flags: approval-mozilla-beta?
Comment 29•8 years ago
|
||
Comment on attachment 8827481 [details] [diff] [review]
v1 part 1/2 (fail when no channel found)
crash fix for beta52
Attachment #8827481 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 30•8 years ago
|
||
Comment on attachment 8836166 [details] [diff] [review]
v1 part 2/2 (don't kill the IPC with return false, but regularly delete self)
crash fix for beta52
Attachment #8836166 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 31•8 years ago
|
||
bugherder uplift |
Comment 32•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-esr52/rev/d4c847e22d29
https://hg.mozilla.org/releases/mozilla-esr52/rev/856362367643
status-firefox-esr52:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•