New issue
Advanced search Search tips

Issue 808472 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Null-dereference READ in v8::internal::compiler::CFGBuilder::BuildBlockForNode

Project Member Reported by ClusterFuzz, Feb 2 2018

Issue description

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

Job Type: linux_asan_chrome_mp
Crash Type: Null-dereference READ
Crash Address: 0x000000000014
Crash State:
  v8::internal::compiler::CFGBuilder::BuildBlockForNode
  v8::internal::compiler::CFGBuilder::BuildBlocks
  v8::internal::compiler::CFGBuilder::Queue
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_chrome_mp&range=526855:526856

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Cc: pnangunoori@chromium.org
Components: Blink>JavaScript
Labels: M-66 Test-Predator-Wrong
Cc: jarin@chromium.org
Owner: tebbi@chromium.org
Status: Assigned (was: Untriaged)
Reproduces in d8, and bisects to 8de3a3bcf9d3e59afdcbf7309561c5f09e27ceae ("[turbofan] add value input to DeadValue").
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/07abe39aed708e0608d461dc184d0cf4e489ef28

commit 07abe39aed708e0608d461dc184d0cf4e489ef28
Author: Tobias Tebbi <tebbi@chromium.org>
Date: Tue Feb 20 15:13:28 2018

[turbofan] simplified lowering: process DeadValue input

Without processing the input, a phi node can be flagged as unused and
replaced with {Dead}, although it is used by a {DeadValue} node.

Bug:  chromium:808472 
Change-Id: I7446883535b34770e31e4e26e1c242eb05673a91
Reviewed-on: https://chromium-review.googlesource.com/919362
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51395}
[modify] https://crrev.com/07abe39aed708e0608d461dc184d0cf4e489ef28/src/compiler/simplified-lowering.cc
[add] https://crrev.com/07abe39aed708e0608d461dc184d0cf4e489ef28/test/mjsunit/compiler/regress-808472.js
[modify] https://crrev.com/07abe39aed708e0608d461dc184d0cf4e489ef28/test/mjsunit/mjsunit.status

Project Member

Comment 4 by ClusterFuzz, Feb 21 2018

ClusterFuzz has detected this issue as fixed in range 537899:537902.

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

Job Type: linux_asan_chrome_mp
Crash Type: Null-dereference READ
Crash Address: 0x000000000014
Crash State:
  v8::internal::compiler::CFGBuilder::BuildBlockForNode
  v8::internal::compiler::CFGBuilder::BuildBlocks
  v8::internal::compiler::CFGBuilder::Queue
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_chrome_mp&range=526855:526856
Fixed: https://clusterfuzz.com/revisions?job=linux_asan_chrome_mp&range=537899:537902

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

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.
Project Member

Comment 5 by ClusterFuzz, Feb 21 2018

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 5199809464762368 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment