New issue
Advanced search Search tips

Issue 835051 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: !ScriptForbiddenScope::IsScriptForbidden() in v8_per_isolate_data.cc

Project Member Reported by ClusterFuzz, Apr 20 2018

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=5697716475396096

Fuzzer: ifratric-browserfuzzer-v3
Job Type: linux_lsan_chrome_mp
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !ScriptForbiddenScope::IsScriptForbidden() in v8_per_isolate_data.cc
  blink::BeforeCallEnteredCallback
  FireBeforeCallEnteredCallback
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_lsan_chrome_mp&range=523898:523900

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5697716475396096

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Project Member

Comment 1 by ClusterFuzz, Apr 20 2018

Components: Blink>Bindings Blink>JavaScript
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Owner: adithyas@chromium.org
Status: Assigned (was: Untriaged)
Not immediately obvious what's going on here. adithyas@, mind having a look? (I know how much you adore ScriptForbiddenScope bugs...)
Components: -Blink>JavaScript Blink>SVG
Owner: schenney@chromium.org
Looks like we call RemoveChildren inside SVGUseElement::BuildPendingResource() which runs in a ScriptForbiddenScope. Calling RemoveChildren (even with kOmitSubtreeModifiedEvent) can result in script execution if the focused element is removed (which is what happens in this case).
Labels: M-68
Owner: f...@opera.com
fs@, could you look into this please?

Comment 5 by f...@opera.com, May 3 2018

We lack a good place where we can tear down the old instance tree (which is what's happening here.) For most cases blurring in InvalidateShadowTree would work I think, but not in this case apparently (since we get a id-change notification which is synchronous from RemoveChild.) FWIW, this must've been around for a while, appears similar to issue 656160.

Sign in to add a comment