Crash in [@ mozilla::dom::PContentParent::OtherPid]
Categories
(Core :: IPC, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr91 | --- | unaffected |
| firefox97 | --- | wontfix |
| firefox98 | --- | fixed |
| firefox99 | --- | fixed |
People
(Reporter: RyanVM, Assigned: kershaw)
References
Details
(Keywords: crash, regression, sec-moderate, Whiteboard: [adv-main98+r])
Crash Data
Attachments
(3 files)
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1749831 +++
We landed patches during the Fx97 cycle which were intended to mitigate these crashes I thought, but we're still seeing them in the topcrash list :(
Crash report: https://crash-stats.mozilla.org/report/index/d154798e-aaa9-46b1-b5f0-1f7c80220209
Reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Top 10 frames of crashing thread:
0 XUL mozilla::dom::PContentParent::OtherPid const ipc/ipdl/PContentParent.cpp:261
1 XUL std::__1::__function::__func<mozilla::net::NeckoParent::RecvInitSocketProcessBridge /builds/worker/fetches/clang/include/c++/v1/__functional/function.h:345
2 XUL mozilla::net::nsIOService::OnProcessLaunchComplete netwerk/base/nsIOService.cpp:643
3 XUL mozilla::net::SocketProcessHost::InitAfterConnect netwerk/ipc/SocketProcessHost.cpp:201
4 XUL mozilla::ipc::TaskFactory<mozilla::net::SocketProcessHost>::TaskWrapper<mozilla::ipc::TaskFactory<mozilla::net::SocketProcessHost>::RunnableMethod<void ipc/glue/TaskFactory.h:37
5 XUL mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:771
6 XUL NS_ProcessPendingEvents xpcom/threads/nsThreadUtils.cpp:432
7 XUL nsAppShell::ProcessGeckoEvents widget/cocoa/nsAppShell.mm:505
8 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
9 CoreFoundation __CFRunLoopDoSource0
Updated•4 years ago
|
Comment 1•4 years ago
|
||
:RyanVM, since this bug is a regression, could you fill (if possible) the regressed_by field?
For more information, please visit auto_nag documentation.
| Reporter | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
- Check if NeckoParent is still able to send IPC before creating SocketProcessBridge
- Make sure mPendingEvents always be cleared after launching socket process
Depends on D138486
| Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Comment 4•4 years ago
|
||
Comment 5•4 years ago
|
||
P1: Make PNecko refcounted, r=necko-reviewers,dragana
https://hg.mozilla.org/integration/autoland/rev/584b20af94d31afa1945e62bd25ce45edfb124f0
https://hg.mozilla.org/mozilla-central/rev/584b20af94d3
P2: Add some checkes to avoid creating SocketProcessBridge when content process is destroyed, r=necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/6cd66e5a2ac36270ea2097c43456bb613fb30b10
https://hg.mozilla.org/mozilla-central/rev/6cd66e5a2ac3
| Assignee | ||
Comment 6•4 years ago
|
||
Comment on attachment 9263381 [details]
Bug 1754508 - P2: Add some checkes to avoid creating SocketProcessBridge when content process is destroyed, r=#necko
Beta/Release Uplift Approval Request
- User impact if declined: Could crash.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: N/A
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Basically, this patch only adds some checks to avoid accessing a already released pointer, so this patch should be not risky.
- String changes made/needed: N/A
| Assignee | ||
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Comment on attachment 9263381 [details]
Bug 1754508 - P2: Add some checkes to avoid creating SocketProcessBridge when content process is destroyed, r=#necko
Approved for 98 beta 6, thanks.
Updated•4 years ago
|
Comment 9•4 years ago
|
||
| uplift | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Description
•