New issue
Advanced search Search tips

Issue 636966 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

Crash in blink::EventTarget::dispatchEvent

Project Member Reported by ClusterFuzz, Aug 11 2016

Issue description

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

Fuzzer: inferno_layout_test_unmodified
Job Type: mac_asan_content_shell
Platform Id: mac

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  blink::EventTarget::dispatchEvent
  test_runner::MockWebSpeechRecognizer::RunTaskFromQueue
  base::internal::Invoker<base::internal::BindState<void
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=mac_asan_content_shell&range=392770:392806

Minimized Testcase (0.17 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95AsmFhnpB-rmo8XylY6vJv4xCi7AeooEG6rYrk3_9K2FgQEsd6mLlITiHpNmuMv--TAKvlCuHW7egnzemYeJJ8LxxCSH0ZdjFxObSeY2j_qOoMiIMmutB7zXDuwXN-aHbs6R-QTbJnW4rp4CZkaVKxCUDYmA?testcase_id=6416662964469760
<script>
  var recognition = new webkitSpeechRecognition();
  recognition.start();
  var recognition2 = new webkitSpeechRecognition();
  recognition2.start();
  </script>


Issue manually filed by: nyerramilli

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: nyerramilli@chromium.org
Components: Tools>Test>FindIt>WrongResult
Labels: findit-wrong Te-Logged M-53
Owner: mustaq@chromium.org
Status: Assigned (was: Untriaged)
Providing Findit results for internal purpose:
Suspected CLs	No CL in the regression range changes the crashed files. The result is the blame information.

Author: dtapuska@chromium.org
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/326ce2568b705fee2fbdc5e60616718ea548dfc1
Time: Thu Jul 16 01:55:02 2015
The CL last changed line 429 of file EventTarget.cpp, which is stack frame 0.

Author: abhishek.a21@samsung.com
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/ca35ef0b1ae9922047503360a19c3c7fe057d462
Time: Thu Jul 31 11:46:49 2014
The CL last changed line 272 of file mock_web_speech_recognizer.cc, which is stack frame 1.

Author: tzik
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/99de02ba952b0a69291f81c5b8ca14d81cc1f74f
Time: Fri Jul 01 05:54:12 2016
The CL last changed line 164 of file bind_internal.h, which is stack frame 2.

Author: tzik
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/99de02ba952b0a69291f81c5b8ca14d81cc1f74f
Time: Fri Jul 01 05:54:12 2016
The CL last changed line 283 of file bind_internal.h, which is stack frame 3.

Author: tzik
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/ee2487294417a82adfc854aa680c7765eef7494e
Time: Wed Jun 01 08:22:51 2016
The CL last changed line 346 of file bind_internal.h, which is stack frame 4.

Author: tzik
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/99de02ba952b0a69291f81c5b8ca14d81cc1f74f
Time: Fri Jul 01 05:54:12 2016
The CL last changed line 324 of file bind_internal.h, which is stack frame 5.

Author: tzik
Project: chromium
Changelist: https://chromium.googlesource.com/chromium/src//+/77d41139d261342a429d2775c59d8e8a386d4c81
Time: Wed Mar 09 09:47:03 2016
The CL last changed line 389 of file callback.h, which is stack frame 6.

Suspected Project: chromium
Suspected Component: Blink>DOM

using codesearch, seeing some changes to EventTarget.cpp in
https://chromium.googlesource.com/chromium/src/+/d6f91db2f44e1d429f625b61e8f41016cac0c3a1

mustaq@, Could you please check the above issue & help us in finding an owner it its not yours.

Comment 2 by mustaq@chromium.org, Aug 11 2016

Cc: mustaq@chromium.org
Owner: lukasza@chromium.org
Seems like a bug in mock_web_speech_recognizer.cc. The stack trace shows that MockWebSpeechRecognizer::RunTaskFromQueue() pops a EventTarget::dispatchEvent() from a queue of |MockWebSpeechRecognizer::Task|s, which is absolutely odd.
https://cs.chromium.org/chromium/src/components/test_runner/mock_web_speech_recognizer.cc?rcl=0&l=272

Assigning to lukasza@ who did the last change in  mock_web_speech_recognizer.cc. Please help us find the right owner for this bug.
Project Member

Comment 3 by ClusterFuzz, Oct 13 2016

ClusterFuzz has detected this issue as fixed in range 420031:420042.

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

Fuzzer: inferno_layout_test_unmodified
Job Type: mac_asan_content_shell
Platform Id: mac

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  blink::EventTarget::dispatchEvent
  test_runner::MockWebSpeechRecognizer::RunTaskFromQueue
  base::internal::Invoker<base::internal::BindState<void
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=mac_asan_content_shell&range=392770:392806
Fixed: https://cluster-fuzz.appspot.com/revisions?job=mac_asan_content_shell&range=420031:420042

Minimized Testcase (0.17 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95AsmFhnpB-rmo8XylY6vJv4xCi7AeooEG6rYrk3_9K2FgQEsd6mLlITiHpNmuMv--TAKvlCuHW7egnzemYeJJ8LxxCSH0ZdjFxObSeY2j_qOoMiIMmutB7zXDuwXN-aHbs6R-QTbJnW4rp4CZkaVKxCUDYmA?testcase_id=6416662964469760
<script>
  var recognition = new webkitSpeechRecognition();
  recognition.start();
  var recognition2 = new webkitSpeechRecognition();
  recognition2.start();
  </script>


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 4 by ClusterFuzz, Oct 13 2016

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

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Components: -Tools>Test>FindIt>WrongResult
Labels: Test-Predator-Wrong
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