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

Issue 622658 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 613923
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Crash in v8::internal::Map::instance_type

Project Member Reported by ClusterFuzz, Jun 23 2016

Issue description

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

Fuzzer: mbarbella_js_mutation
Job Type: linux_asan_d8
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  v8::internal::Map::instance_type
  v8::internal::Builtin_Impl_HandleApiCall
  v8::internal::Builtin_HandleApiCall
  
Regressed: V8: r36418:36419

Minimized Testcase (0.26 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv949owl8xd96icC2jT8DaA00eQD2k2mp6gd3gA1nSQeGKXqxScd47jMALICdH7lIZxGkyIbx-mjvXzJMF_esQx8hN69wXn6lFbR-11m3e_PH9AgqE09UXU7-f_fFMZiSphSXxTvssJpSmJ1gSeDDGFVhJ0Q87Q?testcase_id=5637121415315456
var __v_5 = {};
  for (var __v_0 = 0; __v_0 < 1000000; __v_0++);
try {
gc();
} catch(e) { print("Caught: " + e); }
try {
__v_5 = debug.Debug;
} catch(e) {"Caught: " + e; }
try {
__v_5.setListener();
function* g() {
}
function* f() {
  yield* g();
}
} catch(e) {; }


Filer: rossberg

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Owner: yangguo@chromium.org
Status: Assigned (was: Available)
Cc: jarin@chromium.org
Owner: bmeu...@chromium.org
Reduced repro has nothing to do with the debugger nor generators.

// Flags: --turbo-escape

var o = {};
for (var i = 0; i < 1000000; i++);
try {
  o.f();
  function g() {}
  function f() { g(); }
} catch(e) {
}

In release mode we get a segfault. In debug mode we get:

#
# Fatal error in ../../../src/compiler/verifier.cc, line 1242
# Node #251:ChangeTaggedSignedToInt32 in B1 is not dominated by input@0 #184:LoadField
#

==== C stack trace ===============================
[...]
Cc: -mstarzinger@chromium.org
Owner: mstarzinger@chromium.org
Escape analysis.
Mergedinto: 613923
Status: Duplicate (was: Assigned)
Project Member

Comment 5 by ClusterFuzz, Jul 2 2016

ClusterFuzz has detected this issue as fixed in range 37394:37395.

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

Fuzzer: mbarbella_js_mutation
Job Type: linux_asan_d8
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  v8::internal::Map::instance_type
  v8::internal::Builtin_Impl_HandleApiCall
  v8::internal::Builtin_HandleApiCall
  
Regressed: V8: r36435:36436
Fixed: V8: r37394:37395

Minimized Testcase (0.26 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv949owl8xd96icC2jT8DaA00eQD2k2mp6gd3gA1nSQeGKXqxScd47jMALICdH7lIZxGkyIbx-mjvXzJMF_esQx8hN69wXn6lFbR-11m3e_PH9AgqE09UXU7-f_fFMZiSphSXxTvssJpSmJ1gSeDDGFVhJ0Q87Q?testcase_id=5637121415315456
var __v_5 = {};
  for (var __v_0 = 0; __v_0 < 1000000; __v_0++);
try {
gc();
} catch(e) { print("Caught: " + e); }
try {
__v_5 = debug.Debug;
} catch(e) {"Caught: " + e; }
try {
__v_5.setListener();
function* g() {
}
function* f() {
  yield* g();
}
} 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 6 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