New issue
Advanced search Search tips

Issue 782113 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 781583
Owner:
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Stack-overflow in v8::internal::ElementsAccessorBase<v8::internal::FastHoleyObjectElementsAccessor

Project Member Reported by ClusterFuzz, Nov 7 2017

Issue description

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

Fuzzer: ochang_js_fuzzer
Job Type: linux_ubsan_vptr_d8
Platform Id: linux

Crash Type: Stack-overflow
Crash Address: 0x7ffc2cd9aff8
Crash State:
  v8::internal::ElementsAccessorBase<v8::internal::FastHoleyObjectElementsAccessor
  CollectElementIndices
  v8::internal::KeyAccumulator::CollectOwnElementIndices
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_d8&range=48783:48784

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Nov 7 2017

Labels: Test-Predator-AutoOwner
Owner: bmeu...@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/v8/v8/+/d5c19aa9fc536638b4d3831ba01cf0f1a6a05bbe ([ic] Ensure that we make progress on KeyedLoadIC polymorphic name.).

If this is incorrect, please remove the owner and apply the Test-Predator-Wrong-CLs label.
Status: Started (was: Assigned)
Minimized it to

function foo() {
  for (const x of Array.prototype) {}
}
Array.prototype[Symbol.iterator] = function*() {
  try { foo(); } catch (e) { }
  try { foo(); } catch (e) { }
}
for (const x of Array.prototype) {}

there's some place where we don't do proper stack overflow checks.
Owner: mstarzinger@chromium.org
Status: Assigned (was: Started)
This doesn't seem to be related to my CL. Seems to be some edge case with the throwing logic? Michi, can you please take a look.
Labels: -Test-Predator-AutoOwner Test-Predator-Auto-Owner
Mergedinto: 781583
Status: Duplicate (was: Assigned)
This is due to a missing stack check during generator resumption.
Project Member

Comment 6 by ClusterFuzz, Nov 14 2017

ClusterFuzz has detected this issue as fixed in range 49326:49327.

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

Fuzzer: ochang_js_fuzzer
Job Type: linux_ubsan_vptr_d8
Platform Id: linux

Crash Type: Stack-overflow
Crash Address: 0x7ffc2cd9aff8
Crash State:
  v8::internal::ElementsAccessorBase<v8::internal::FastHoleyObjectElementsAccessor
  CollectElementIndices
  v8::internal::KeyAccumulator::CollectOwnElementIndices
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_d8&range=48783:48784
Fixed: https://clusterfuzz.com/revisions?job=linux_ubsan_vptr_d8&range=49326:49327

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

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

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

Sign in to add a comment