New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 778372 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Out until 24 Jan
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 477150



Sign in to add a comment

CHECK failure in content::NavigationEntryImpl::ClearStaleFrameEntriesForNewFrame

Project Member Reported by lukasza@chromium.org, Oct 25 2017

Issue description

REPRO STEPS:

1. Run external/wpt/html/browsers/origin/cross-origin-objects/cross-origin-objects.html layout test while isolating test origins:

DISPLAY=:20 third_party/WebKit/Tools/Scripts/run-webkit-tests -t gn --no-retry --additional-drt-flag=--no-sandbox --additional-drt-flag=--isolate-origins=http://www.web-platform.test:8001/,http://www1.web-platform.test:8001/,http://www2.web-platform.test:8001/,http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8001/,http://xn--lve-6lad.web-platform.test:8001/,http://www.web-platform.test:8081/,http://www1.web-platform.test:8081/,http://www2.web-platform.test:8081/,http://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8081/,http://xn--lve-6lad.web-platform.test:8081/,https://www.web-platform.test:8444/,https://www1.web-platform.test:8444/,https://www2.web-platform.test:8444/,https://xn--n8j6ds53lwwkrqhv28a.web-platform.test:8444/,https://xn--lve-6lad.web-platform.test:8444/ --additional-expectations=third_party/WebKit/LayoutTests/FlagExpectations/site-per-process external/wpt/html/browsers/origin/cross-origin-objects/cross-origin-objects.html


EXPECTED BEHAVIOR: passes

ACTUAL BEHAVIOR: DCHECK failure

[36459:36459:1025/124735.340577:2350211490333:FATAL:navigation_entry_impl.cc(946)] Check failed: count <= 1 (2 vs. 1)
#0 0x7f81056d87f7 base::debug::StackTrace::StackTrace()
#1 0x7f8105700751 logging::LogMessage::~LogMessage()
#2 0x7f810696148e content::NavigationEntryImpl::ClearStaleFrameEntriesForNewFrame()
#3 0x7f8106949c39 content::FrameTree::AddFrame()
#4 0x7f810698356b content::RenderFrameHostImpl::OnCreateChildFrame()
#5 0x7f810699f8cd content::(anonymous namespace)::CreateChildFrameOnUI()
#6 0x7f81069a16e6 _ZN4base8internal7InvokerINS0_9BindStateIPFviiN5blink16WebTreeScopeTypeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEESD_RKNS_16UnguessableTokenERKN7content11FramePolicyERKNSH_20FrameOwnerPropertiesEiEJiiS4_SB_SB_SE_SI_SL_iEEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#7 0x7f81056d90a1 base::debug::TaskAnnotator::RunTask()
#8 0x7f810570a700 base::internal::IncomingTaskQueue::RunTask()
#9 0x7f810570e63f base::MessageLoop::RunTask()
#10 0x7f810570e985 base::MessageLoop::DeferOrRunPendingTask()
#11 0x7f810570ec36 base::MessageLoop::DoWork()
#12 0x7f8105710529 base::MessagePumpGlib::Run()
#13 0x7f810570dfba base::MessageLoop::Run()
#14 0x7f81057415e6 base::RunLoop::Run()
#15 0x7f8106815689 content::BrowserMainLoop::MainMessageLoopRun()
#16 0x7f81068153de content::BrowserMainLoop::RunMainMessageLoopParts()
#17 0x7f810681893b content::BrowserMainRunnerImpl::Run()
#18 0x0000003c2105 LayoutTestBrowserMain()
#19 0x0000003c1441 content::ShellMainDelegate::RunProcess()
#20 0x7f81071a75d6 content::RunNamedProcessTypeMain()
#21 0x7f81071a812c content::ContentMainRunnerImpl::Run()
#22 0x7f81035f2483 service_manager::Main()
#23 0x7f81071a6a62 content::ContentMain()
#24 0x0000002fe144 main
#25 0x7f80fdfdaf45 __libc_start_main
#26 0x0000002fe029 <unknown>

 
Owner: nasko@chromium.org
Status: Assigned (was: Untriaged)
Summary: CHECK failure content::NavigationEntryImpl::ClearStaleFrameEntriesForNewFrame (was: DCHECK failure content::NavigationEntryImpl::ClearStaleFrameEntriesForNewFrame)
Assigning to nasko@, since the CHECK comes from his r409107.

For the record - I can consistently repro the failure at ToT (which for me is r510954 / d9b7b30337ded7f20041f545792bcbadc55dd8d1).  It is possible that future uniqueName shenanigans might impact the repro (e.g. see https://chromium-review.googlesource.com/c/chromium/src/+/713654).
Cc: creis@chromium.org dcheng@chromium.org
+creis@ and dcheng@ since this bug is somewhat related to uniqueNames...
Description: Show this description
Summary: CHECK failure in content::NavigationEntryImpl::ClearStaleFrameEntriesForNewFrame (was: CHECK failure content::NavigationEntryImpl::ClearStaleFrameEntriesForNewFrame)
Blocking: 477150
Labels: -Pri-3 Test-Layout Pri-2

Sign in to add a comment