|
|
Why this CL triggers an OilPan crash.
I've added a static/global
HashMap<int, PersistentHeapHashMap<WeakMember<Page>>>
and I've started seeing some OilPan-related crashes. I've shown my CL
to dcheng@ who does't see anything *obviously* wrong, so we've thought
that maybe somebody more familiar with OilPan can take a look.
Repro steps:
1. Patch in this CL
2. Build browser_tests
3. DISPLAY=:20 out/gn/browser_tests --gtest_filter=*ExtensionApiTabTest.TabUpdate*
And observe a DCHECK
The DCHECK happens when WebViewImpl's constructor assigns a (seemingly?)
unrelated instance
dev_tools_emulator_ = DevToolsEmulator::Create(this);
The crash:
[1:1:0510/135608.648852:FATAL:PersistentNode.h(69)] Check failed: !node || node->IsUnused().
base::debug::StackTrace::StackTrace()
logging::LogMessage::~LogMessage()
blink::PersistentNode::FreeListNext()
blink::PersistentRegion::AllocatePersistentNode()
blink::PersistentBase<>::Initialize()
blink::WebViewImpl::WebViewImpl()
blink::WebViewImpl::Create()
content::RenderViewImpl::Initialize()
content::RenderViewImpl::Create()
content::RenderThreadImpl::CreateView()
content::mojom::RendererStubDispatch::Accept()
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+192 lines, -19 lines) |
Patch |
 |
M |
chrome/browser/extensions/process_management_browsertest.cc
|
View
|
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browsing_instance.h
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browsing_instance.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
|
2 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/site_instance_impl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/site_instance_impl.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/renderer.mojom
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/render_view_test.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/FrameTree.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/Page.h
|
View
|
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/Page.cpp
|
View
|
|
4 chunks |
+46 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.h
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.cpp
|
View
|
|
3 chunks |
+15 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebView.h
|
View
|
|
1 chunk |
+10 lines, -1 line |
0 comments
|
Download
|
Total messages: 11 (2 generated)
|