Check failed: !url.has_ref() in content::ServiceWorkerUtils::ScopeMatches |
||
Issue descriptionVersion: ToT OS: Linux What steps will reproduce the problem? (1) Enable chrome://flags/#enable-experimental-web-platform-features (2) Visit https://sowbug.github.io/weblight/ (3) Right-click and select "Inspect" (4) Click on the "Grant this site permission to access it first." link What is the expected output? WebUSB permission chooser dialog pops up. What do you see instead? DCHECK failure with the following stack trace: [18871:18871:0328/134251:FATAL:service_worker_utils.cc(44)] Check failed: !url.has_ref(). #0 0x7f349c38604e base::debug::StackTrace::StackTrace() #1 0x7f349c3a5b7b logging::LogMessage::~LogMessage() #2 0x7f3499b131fe content::ServiceWorkerUtils::ScopeMatches() #3 0x7f3499d2c7a5 content::devtools::service_worker::(anonymous namespace)::GetMatchingServiceWorkers() #4 0x7f3499d2c51a content::devtools::service_worker::ServiceWorkerHandler::UpdateHosts() #5 0x7f349a05cedd content::WebContentsImpl::DidCommitProvisionalLoad() #6 0x7f3499dac5dc content::NavigatorImpl::DidNavigate() #7 0x7f3499db2c79 content::RenderFrameHostImpl::OnDidCommitProvisionalLoad() #8 0x7f3499db0e10 content::RenderFrameHostImpl::OnMessageReceived() #9 0x7f3499f569ae content::RenderProcessHostImpl::OnMessageReceived() #10 0x7f34992c257e IPC::ChannelProxy::Context::OnDispatchMessage() #11 0x7f349c38726c base::debug::TaskAnnotator::RunTask() #12 0x7f349c3af77b base::MessageLoop::RunTask() #13 0x7f349c3afa98 base::MessageLoop::DeferOrRunPendingTask() #14 0x7f349c3afcbb base::MessageLoop::DoWork() #15 0x7f349c3b1e5a base::(anonymous namespace)::WorkSourceDispatch() #16 0x7f3496357e04 g_main_context_dispatch #17 0x7f3496358048 <unknown> #18 0x7f34963580ec g_main_context_iteration #19 0x7f349c3b1ba6 base::MessagePumpGlib::Run() #20 0x7f349c3af2cc base::MessageLoop::RunHandler() #21 0x7f349c3da5dc base::RunLoop::Run() #22 0x7f349ca08fff ChromeBrowserMainParts::MainMessageLoopRun() #23 0x7f3499cd03e8 content::BrowserMainLoop::RunMainMessageLoopParts() #24 0x7f3499cd37c8 content::BrowserMainRunnerImpl::Run() #25 0x7f3499ccb82c content::BrowserMain() #26 0x7f349a627eab content::RunNamedProcessTypeMain() #27 0x7f349a628913 content::ContentMainRunnerImpl::Run() #28 0x7f349a627450 content::ContentMain() #29 0x7f349c9c0698 ChromeMain #30 0x7f34934f7ec5 __libc_start_main #31 0x7f349c9c0561 <unknown>
,
Mar 29 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2ad8fb5ec36737523c4e878a6adf59dc2a130994 commit 2ad8fb5ec36737523c4e878a6adf59dc2a130994 Author: horo <horo@chromium.org> Date: Tue Mar 29 06:15:16 2016 Remove DCHECK(!url.has_ref()); in ServiceWorkerUtils::ScopeMatches() |url| may have ref when it is called from devtools::service_worker::ServiceWorkerHandler. BUG= 598410 Review URL: https://codereview.chromium.org/1843553002 Cr-Commit-Position: refs/heads/master@{#383678} [modify] https://crrev.com/2ad8fb5ec36737523c4e878a6adf59dc2a130994/content/common/service_worker/service_worker_utils.cc [modify] https://crrev.com/2ad8fb5ec36737523c4e878a6adf59dc2a130994/content/common/service_worker/service_worker_utils_unittest.cc
,
Mar 29 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by horo@chromium.org
, Mar 29 2016Status: Assigned (was: Untriaged)