New issue
Advanced search Search tips

Issue 633999 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug

Blocked on:
issue 675282



Sign in to add a comment

!is_optimized_code() in objects.cc

Project Member Reported by ClusterFuzz, Aug 3 2016

Issue description

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

Fuzzer: decoder_langfuzz
Job Type: linux_asan_d8_ignition_v8_arm_dbg
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  !is_optimized_code() in objects.cc
  
Regressed: V8: r38285:38286

Minimized Testcase (6.59 Kb): https://cluster-fuzz.appspot.com/download/AMIfv961xxfSg3GfmrvnDn8Cj2JQbDNTAJc1mkTTruH9Zm5H1h_wWmoy5lvAY2A9zjKCtFn-GvTpt2Z7fhrNd4DCAqQ9nzCMvyz5xdOTZ_szdxsThDDUCUmVgpmQjCGICe7koMrqnkj4qsPRFcUpvF0kYpNexkEfPA?testcase_id=5606599341375488

Filer: mstarzinger

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: yangguo@chromium.org
Owner: neis@chromium.org
Status: Assigned (was: Untriaged)
Regression range points to: https://crrev.com/f813494fcc15497908ac5701e495a5bbc3cf9676

Haven't tried reproducing locally yet. Please let me know if you need help reproducing.

Comment 2 by neis@chromium.org, Aug 4 2016

Cc: -yangguo@chromium.org neis@chromium.org mstarzinger@chromium.org
Owner: yangguo@chromium.org
Yang, can you look at this? The problem is in your recent CL
https://codereview.chromium.org/2197183002. I have a simple test
file that reproduces on 1515ddd8f1558d898eae91b43e564cba62ced173:

out/Debug/d8 --abort-on-uncaught-exception test.js

where test.js contains:

"use asm";
(function() {
  for (var i = 0; i < 100000; ++i) {}
  try { throw 666 } finally {}
})();

Result:
#
# Fatal error in ../../src/objects.cc, line 13725
# Check failed: !is_optimized_code().
#

Comment 4 by neis@chromium.org, Aug 17 2016

Hi Yang, just tried this again and it still crashes, but in a different way:

Program received signal SIGILL, Illegal instruction.
v8::base::OS::Abort () at ../../src/base/platform/platform-posix.cc:230
230	    V8_IMMEDIATE_CRASH();
(gdb) bt
#0  v8::base::OS::Abort () at ../../src/base/platform/platform-posix.cc:230
#1  0x00000000009e11f2 in v8::internal::Isolate::Throw (this=0x34b0fe0, exception=0x29a00000000, 
    location=0x7ffe8276f280) at ../../src/isolate.cc:1158
#2  0x00000000010f2311 in v8::internal::__RT_impl_Runtime_Throw (args=..., isolate=0x34b0fe0)
    at ../../src/runtime/runtime-internal.cc:85
#3  0x00000000010f21a3 in v8::internal::Runtime_Throw (args_length=1, args_object=0x7ffe8276f3d8, 
    isolate=0x34b0fe0) at ../../src/runtime/runtime-internal.cc:82
#4  0x00001d988a5063a7 in ?? ()
...

Comment 5 by neis@chromium.org, Aug 17 2016

Nevermind, I guess this is the intended behavior...
Closing this issue now. Thanks.

Comment 6 by neis@chromium.org, Aug 17 2016

Status: Fixed (was: Assigned)
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
Blockedon: 675282

Sign in to add a comment