New issue
Advanced search Search tips

Issue 749000 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

chrome.gpuBenchmarking.pointerActionSequence([]) causes DCHECK failure

Project Member Reported by hajimehoshi@chromium.org, Jul 26 2017

Issue description

$ cat third_party/WebKit/LayoutTest/test.html

<script>
chrome.gpuBenchmarking.pointerActionSequence([]);
</script>

$ ./out/Default/content_shell --run-layout-test test.html


#READY
[110034:110062:0726/182455.887043:1650194349639:ERROR:devtools_http_handler.cc(786)] 
DevTools listening on 127.0.0.1:44725

Content-Type: text/plain
layer at (0,0) size 800x600
  LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
  LayoutBlockFlow {HTML} at (0,0) size 800x600
    LayoutBlockFlow {BODY} at (8,8) size 784x584
#EOF
#EOF
[110034:110034:0726/182457.009982:1650195472515:FATAL:synthetic_pointer_action.cc(54)] Check failed: num_actions_dispatched_ < params_.params.size() (0 vs. 0)
#0 0x7fd8b1112da7 base::debug::StackTrace::StackTrace()
#1 0x7fd8b1139de1 logging::LogMessage::~LogMessage()
#2 0x7fd8b200d90b content::SyntheticPointerAction::ForwardTouchOrMouseInputEvents()
#3 0x7fd8b200d823 content::SyntheticPointerAction::ForwardInputEvents()
#4 0x7fd8b200b75e content::SyntheticGestureController::DispatchNextEvent()
#5 0x7fd8b200bd1e _ZN4base8internal7InvokerINS0_9BindStateIZN7content26SyntheticGestureController10StartTimerEvE3$_0JNS_7WeakPtrIS4_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#6 0x7fd8b11bb900 base::Timer::RunScheduledTask()
#7 0x7fd8b11135eb base::debug::TaskAnnotator::RunTask()
#8 0x7fd8b1146b3a base::MessageLoop::RunTask()
#9 0x7fd8b1146e72 base::MessageLoop::DeferOrRunPendingTask()
#10 0x7fd8b11473ef base::MessageLoop::DoDelayedWork()
#11 0x7fd8b1149310 base::(anonymous namespace)::WorkSourceDispatch()
#12 0x7fd8a8dade04 g_main_context_dispatch
#13 0x7fd8a8dae048 <unknown>
#14 0x7fd8a8dae0ec g_main_context_iteration
#15 0x7fd8b1149046 base::MessagePumpGlib::Run()
#16 0x7fd8b11466ff base::MessageLoop::Run()
#17 0x7fd8b117a987 base::RunLoop::Run()
#18 0x7fd8b1d4a8fa content::BrowserMainLoop::MainMessageLoopRun()
#19 0x7fd8b1d4a68e content::BrowserMainLoop::RunMainMessageLoopParts()
#20 0x7fd8b1d4d6fb content::BrowserMainRunnerImpl::Run()
#21 0x000000536dd5 LayoutTestBrowserMain()
#22 0x0000005366a0 content::ShellMainDelegate::RunProcess()
#23 0x7fd8b2590ea3 content::RunNamedProcessTypeMain()
#24 0x7fd8b25918e8 content::ContentMainRunnerImpl::Run()
#25 0x7fd8af2cafe6 service_manager::Main()
#26 0x7fd8b2590392 content::ContentMain()
#27 0x000000478a5f main
#28 0x7fd8aa704f45 __libc_start_main
#29 0x000000478949 <unknown>

Received signal 6
#0 0x7fd8b1112da7 base::debug::StackTrace::StackTrace()
#1 0x7fd8b111287f base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fd8b3110330 <unknown>
#3 0x7fd8aa719c37 gsignal
#4 0x7fd8aa71d028 abort
#5 0x7fd8b11109b2 base::debug::BreakDebugger()
#6 0x7fd8b113a2b2 logging::LogMessage::~LogMessage()
#7 0x7fd8b200d90b content::SyntheticPointerAction::ForwardTouchOrMouseInputEvents()
#8 0x7fd8b200d823 content::SyntheticPointerAction::ForwardInputEvents()
#9 0x7fd8b200b75e content::SyntheticGestureController::DispatchNextEvent()
#10 0x7fd8b200bd1e _ZN4base8internal7InvokerINS0_9BindStateIZN7content26SyntheticGestureController10StartTimerEvE3$_0JNS_7WeakPtrIS4_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#11 0x7fd8b11bb900 base::Timer::RunScheduledTask()
#12 0x7fd8b11135eb base::debug::TaskAnnotator::RunTask()
#13 0x7fd8b1146b3a base::MessageLoop::RunTask()
#14 0x7fd8b1146e72 base::MessageLoop::DeferOrRunPendingTask()
#15 0x7fd8b11473ef base::MessageLoop::DoDelayedWork()
#16 0x7fd8b1149310 base::(anonymous namespace)::WorkSourceDispatch()
#17 0x7fd8a8dade04 g_main_context_dispatch
#18 0x7fd8a8dae048 <unknown>
#19 0x7fd8a8dae0ec g_main_context_iteration
#20 0x7fd8b1149046 base::MessagePumpGlib::Run()
#21 0x7fd8b11466ff base::MessageLoop::Run()
#22 0x7fd8b117a987 base::RunLoop::Run()
#23 0x7fd8b1d4a8fa content::BrowserMainLoop::MainMessageLoopRun()
#24 0x7fd8b1d4a68e content::BrowserMainLoop::RunMainMessageLoopParts()
#25 0x7fd8b1d4d6fb content::BrowserMainRunnerImpl::Run()
#26 0x000000536dd5 LayoutTestBrowserMain()
#27 0x0000005366a0 content::ShellMainDelegate::RunProcess()
#28 0x7fd8b2590ea3 content::RunNamedProcessTypeMain()
#29 0x7fd8b25918e8 content::ContentMainRunnerImpl::Run()
#30 0x7fd8af2cafe6 service_manager::Main()
#31 0x7fd8b2590392 content::ContentMain()
#32 0x000000478a5f main
#33 0x7fd8aa704f45 __libc_start_main
#34 0x000000478949 <unknown>
  r8: ffff812eef8beea0  r9: ffff812eef8bee90 r10: 0000000000000008 r11: 0000000000000206
 r12: 00007ffc71822e08 r13: 000000000000009e r14: 00007ffc71822e00 r15: 00007ffc71822df8
  di: 000000000001add2  si: 000000000001add2  bp: 00007ffc71822980  bx: 00007ffc71822980
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007fd8aa719c37  sp: 00007ffc718227d8
  ip: 00007fd8aa719c37 efl: 0000000000000206 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

 
Components: Blink>Input
Owner: hajimehoshi@chromium.org
Status: Started (was: Untriaged)
https://chromium-review.googlesource.com/c/586213/
Project Member

Comment 3 by bugdroid1@chromium.org, Jul 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/08d41c200986b122f3c245a9d301e377d76812dc

commit 08d41c200986b122f3c245a9d301e377d76812dc
Author: Hajime Hoshi <hajimehoshi@chromium.org>
Date: Wed Jul 26 16:18:27 2017

Bug fix: DCHECK failure when an empty array is given to chrome.gpuBenchmarking.pointerActionSequence

Bug:  749000 
Change-Id: Ib1ba0cea9c8f39be6ff3f24ab2e3b05569555b6c
Reviewed-on: https://chromium-review.googlesource.com/586213
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489660}
[modify] https://crrev.com/08d41c200986b122f3c245a9d301e377d76812dc/content/browser/renderer_host/input/synthetic_pointer_action.cc
[modify] https://crrev.com/08d41c200986b122f3c245a9d301e377d76812dc/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc

Status: Fixed (was: Started)

Sign in to add a comment