Closed
Bug 1427116
Opened 8 years ago
Closed 8 years ago
Crash in nsCOMPtr_base::assign_with_AddRef | mozilla::net::HttpChannelChild::GetNeckoTarget
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1401459
| Tracking | Status | |
|---|---|---|
| firefox-esr52 | --- | unaffected |
| firefox57 | --- | affected |
| firefox58 | --- | affected |
| firefox59 | --- | affected |
People
(Reporter: philipp, Unassigned)
Details
(Keywords: crash)
Crash Data
This bug was filed from the Socorro interface and is
report bp-8db76d47-2589-4c2d-9811-9cbb90171226.
=============================================================
Top 10 frames of crashing thread:
0 @0x11db9d33158
1 xul.dll nsCOMPtr_base::assign_with_AddRef xpcom/base/nsCOMPtr.cpp:42
2 xul.dll mozilla::net::HttpChannelChild::GetNeckoTarget netwerk/protocol/http/HttpChannelChild.cpp:2453
3 xul.dll mozilla::net::HttpChannelChild::TrySendDeletingChannel netwerk/protocol/http/HttpChannelChild.cpp:3427
4 xul.dll mozilla::net::HttpChannelChild::Release netwerk/protocol/http/HttpChannelChild.cpp:259
5 xul.dll nsCOMPtr_base::~nsCOMPtr_base xpcom/base/nsCOMPtr.h:313
6 xul.dll `mozilla::net::ChannelEventQueue::ResumeInternal'::`10'::CompleteResumeRunnable::~CompleteResumeRunnable netwerk/ipc/ChannelEventQueue.cpp:165
7 xul.dll `mozilla::net::ChannelEventQueue::ResumeInternal
8 xul.dll mozilla::CancelableRunnable::Release xpcom/threads/nsThreadUtils.cpp:68
9 xul.dll nsCOMPtr<nsIRunnable>::~nsCOMPtr<nsIRunnable>
=============================================================
crashes with this signature started regressing on windows in firefox 55 - perhaps related to bug 1320744?
Flags: needinfo?(schien)
Comment 1•8 years ago
|
||
I think we need to keep a ref to `this` in TrySendDeletingChannel, otherwise HttpChannelChild may be released on the main thread while other threads call into GetNeckoTarget - in this case the ImageIO thread.
Updated•8 years ago
|
Group: core-security
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(schien)
Resolution: --- → DUPLICATE
Updated•5 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•