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

Issue 623901 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 622663
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Crash in v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::register_val

Project Member Reported by ClusterFuzz, Jun 28 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5527890074796032

Fuzzer: mbarbella_js_mutation
Job Type: linux_asan_d8
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::register_val
  v8::internal::interpreter::BytecodeRegisterOptimizer::OutputRegisterTransfer
  v8::internal::interpreter::BytecodeRegisterOptimizer::Materialize
  
Regressed: V8: r33089:33090

Minimized Testcase (0.07 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97k_RmRTziLxsDxTUWM9e4sqPDEIKAeRHwRvQsLU7EJqKF4_0fET4NfgXHJwh--a7Qr7kvXqm6saqQbnQ-X9dZ7UdOpbqg4SZ-C7DyIDsq-Ezh3KQnKHqYQp6qT2DWKJglpJhXjEfy3CNbY65fw_iUt1gZiCA?testcase_id=5527890074796032
try {
(y = 1[ [...[]]]) => 1;
(y = 1[ [...[]]]) => {};
} catch(e) {; }


Filer: tkonchada

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: rmcilroy@chromium.org
Labels: findit-wrong Te-Logged M-53
Owner: oth@chromium.org
Status: Assigned (was: Available)
Through code search on bytecode-register-optimizer.cc suspecting

https://codereview.chromium.org/1997653002

Please reassign if this is not related to your change.

Comment 2 by oth@chromium.org, Jun 28 2016

This seems like a difference between between lazy and no-lazy. It repros with:

d8 --no-lazy --allow-natives-syntax --ignition test.js

But is fine without the --no-lazy.
You might need to call the functions created by the arrow functions to trigger it without --no-lazy (since the functions won't be compiled until they are called).
Yup, crashes without --no-lazy if you call the functions. This is probably a dup of  issue 622663 
Mergedinto: 622663
Status: Duplicate (was: Assigned)
Yup, this is a dup of  issue 622663 , the test case is the same. Nikolaos has a fix which should hopefully land soon.
Project Member

Comment 6 by ClusterFuzz, Jun 29 2016

ClusterFuzz has detected this issue as fixed in range 37334:37335.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5527890074796032

Fuzzer: mbarbella_js_mutation
Job Type: linux_asan_d8
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::register_val
  v8::internal::interpreter::BytecodeRegisterOptimizer::OutputRegisterTransfer
  v8::internal::interpreter::BytecodeRegisterOptimizer::Materialize
  
Regressed: V8: r33089:33090
Fixed: V8: r37334:37335

Minimized Testcase (0.07 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97k_RmRTziLxsDxTUWM9e4sqPDEIKAeRHwRvQsLU7EJqKF4_0fET4NfgXHJwh--a7Qr7kvXqm6saqQbnQ-X9dZ7UdOpbqg4SZ-C7DyIDsq-Ezh3KQnKHqYQp6qT2DWKJglpJhXjEfy3CNbY65fw_iUt1gZiCA?testcase_id=5527890074796032
try {
(y = 1[ [...[]]]) => 1;
(y = 1[ [...[]]]) => {};
} catch(e) {; }


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 7 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment