New issue
Advanced search Search tips

Issue 867040 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Scrolling with devtools remote debugging DCHECKs

Project Member Reported by mcnee@chromium.org, Jul 24

Issue description

Chrome Version: 70.0.3501.0
OS: Android

Follow https://developers.google.com/web/tools/chrome-devtools/remote-debugging/ 
Click and drag on the screencast to scroll a page.

[FATAL:input_router_impl.cc(318)] Check failed: global_touch_position_.find(touch_point->id) == global_touch_position_.end(). 

Stack Trace:
  RELADDR   FUNCTION                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 FILE:LINE
  000de675  logging::LogMessage::~LogMessage()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       /usr/local/google/home/mcnee/code/chromium/src/base/logging.cc:592:29
  00cfda55  content::InputRouterImpl::SetMovementXYForTouchPoints(blink::WebTouchEvent*)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/input/input_router_impl.cc:317:9
  00cfd933  content::InputRouterImpl::SendTouchEvent(content::EventWithLatencyInfo<blink::WebTouchEvent> const&)                                                                                                                                                                                                                                                                                                                                                                                                                                                                     /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/input/input_router_impl.cc:189:3
  00d4710f  content::RenderWidgetHostImpl::ForwardTouchEventWithLatencyInfo(blink::WebTouchEvent const&, ui::LatencyInfo const&)                                                                                                                                                                                                                                                                                                                                                                                                                                                     /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/render_widget_host_impl.cc:1431:18
  00d4b0b7  content::RenderWidgetHostInputEventRouter::DispatchTouchEvent(content::RenderWidgetHostViewBase*, content::RenderWidgetHostViewBase*, blink::WebTouchEvent const&, ui::LatencyInfo const&, base::Optional<gfx::PointF> const&)                                                                                                                                                                                                                                                                                                                                           /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/render_widget_host_input_event_router.cc:613:25
  00d4c269  content::RenderWidgetHostInputEventRouter::ForwardEmulatedTouchEvent(blink::WebTouchEvent const&, content::RenderWidgetHostViewBase*)                                                                                                                                                                                                                                                                                                                                                                                                                                    /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/render_widget_host_input_event_router.cc:1414:3
  00d061f3  content::TouchEmulator::HandleEmulatedTouchEvent(blink::WebTouchEvent, content::RenderWidgetHostViewBase*)                                                                                                                                                                                                                                                                                                                                                                                                                                                               /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/input/touch_emulator.cc:314:12
  00d05ff3  content::TouchEmulator::HandleMouseEvent(blink::WebMouseEvent const&, content::RenderWidgetHostViewBase*)                                                                                                                                                                                                                                                                                                                                                                                                                                                                /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/input/touch_emulator.cc:227:3
  00d4698d  content::RenderWidgetHostImpl::ForwardMouseEventWithLatencyInfo(blink::WebMouseEvent const&, ui::LatencyInfo const&)                                                                                                                                                                                                                                                                                                                                                                                                                                                     /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/render_widget_host_impl.cc:1255:23
  00d468af  content::RenderWidgetHostImpl::ForwardMouseEvent(blink::WebMouseEvent const&)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            /usr/local/google/home/mcnee/code/chromium/src/content/browser/renderer_host/render_widget_host_impl.cc:1229:3
  00bda5f3  content::protocol::InputHandler::EmulateTouchFromMouseEvent(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int, int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, content::protocol::Maybe<double>, content::protocol::Maybe<double>, content::protocol::Maybe<double>, content::protocol::Maybe<int>, content::protocol::Maybe<int>)                                                                                                                  /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/protocol/input_handler.cc:0:35
  00bda64f  non-virtual thunk to content::protocol::InputHandler::EmulateTouchFromMouseEvent(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int, int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, content::protocol::Maybe<double>, content::protocol::Maybe<double>, content::protocol::Maybe<double>, content::protocol::Maybe<int>, content::protocol::Maybe<int>)                                                                                             /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/protocol/input_handler.cc:0:0
  00b18359  content::protocol::Input::DispatcherImpl::emulateTouchFromMouseEvent(int, std::__ndk1::unique_ptr<content::protocol::DictionaryValue, std::__ndk1::default_delete<content::protocol::DictionaryValue> >, content::protocol::ErrorSupport*)                                                                                                                                                                                                                                                                                                                               /usr/local/google/home/mcnee/code/chromium/src/out_android/Default/gen/content/browser/devtools/protocol/input.cc:540:44
  00b13f75  content::protocol::Browser::DispatcherImpl::dispatch(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::unique_ptr<content::protocol::DictionaryValue, std::__ndk1::default_delete<content::protocol::DictionaryValue> >)                                                                                                                                                                                                                                                                          /usr/local/google/home/mcnee/code/chromium/src/out_android/Default/gen/content/browser/devtools/protocol/browser.cc:163:12
  00b2bfa9  content::protocol::UberDispatcher::dispatch(std::__ndk1::unique_ptr<content::protocol::Value, std::__ndk1::default_delete<content::protocol::Value> >, int*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >*)                                                                                                                                                                                                                                                                                                            /usr/local/google/home/mcnee/code/chromium/src/out_android/Default/gen/content/browser/devtools/protocol/protocol.cc:822:24
  00bc988b  content::DevToolsSession::DispatchProtocolMessage(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, base::DictionaryValue*)                                                                                                                                                                                                                                                                                                                                                                                         /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/devtools_session.cc:138:20
  00bc2cfb  content::DevToolsAgentHostImpl::DispatchProtocolMessage(content::DevToolsAgentHostClient*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, base::DictionaryValue*)                                                                                                                                                                                                                                                                                                                                                /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/devtools_agent_host_impl.cc:247:12
  00bc2cc9  content::DevToolsAgentHostImpl::DispatchProtocolMessage(content::DevToolsAgentHostClient*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)                                                                                                                                                                                                                                                                                                                                                                        /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/devtools_agent_host_impl.cc:236:10
  00a324c1  (anonymous namespace)::TabProxyDelegate::SendMessageToBackend(content::DevToolsExternalAgentProxy*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)                                                                                                                                                                                                                                                                                                                                                               /usr/local/google/home/mcnee/code/chromium/src/chrome/browser/android/devtools_manager_delegate_android.cc:137:20
  00bd6c85  content::ForwardingAgentHost::DispatchProtocolMessage(content::DevToolsAgentHostClient*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)                                                                                                                                                                                                                                                                                                                                                                          /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/forwarding_agent_host.cc:72:14
  00bc58d7  content::DevToolsAgentHostClientImpl::OnMessage(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)                                                                                                                                                                                                                                                                                                                                                                                                                   /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/devtools_http_handler.cc:357:20
  00bc4d63  content::DevToolsHttpHandler::OnWebSocketMessage(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)                                                                                                                                                                                                                                                                                                                                                                                                             /usr/local/google/home/mcnee/code/chromium/src/content/browser/devtools/devtools_http_handler.cc:769:17
  00b9a7ed  void base::internal::InvokeHelper<true, void>::MakeItSo<void (content::BrowserPluginGuest::* const&)(content::WebContentsImpl*, BrowserPluginHostMsg_Attach_Params const&), base::WeakPtr<content::BrowserPluginGuest> const&, content::WebContentsImpl* const&, BrowserPluginHostMsg_Attach_Params const&>(void (content::BrowserPluginGuest::* const&&&)(content::WebContentsImpl*, BrowserPluginHostMsg_Attach_Params const&), base::WeakPtr<content::BrowserPluginGuest> const&&&, content::WebContentsImpl* const&&&, BrowserPluginHostMsg_Attach_Params const&&&)  /usr/local/google/home/mcnee/code/chromium/src/base/bind_internal.h:627:5
  000ca647  base::OnceCallback<void ()>::Run() &&                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /usr/local/google/home/mcnee/code/chromium/src/base/callback.h:99:12
  000d2c6b  base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     /usr/local/google/home/mcnee/code/chromium/src/base/debug/task_annotator.cc:101:33
  000e4a6b  base::MessageLoop::RunTask(base::PendingTask*)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           /usr/local/google/home/mcnee/code/chromium/src/base/message_loop/message_loop.cc:453:46
  000e4c77  base::MessageLoop::DeferOrRunPendingTask(base::PendingTask)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /usr/local/google/home/mcnee/code/chromium/src/base/message_loop/message_loop.cc:464:5
  000e4da7  base::MessageLoop::DoWork()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /usr/local/google/home/mcnee/code/chromium/src/base/message_loop/message_loop.cc:526:16
  000e611b  base::MessagePumpForUI::OnNonDelayedLooperCallback()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     /usr/local/google/home/mcnee/code/chromium/src/base/message_loop/message_pump_android.cc:145:37
  000e5f87  base::(anonymous namespace)::NonDelayedLooperCallback(int, int, void*)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   /usr/local/google/home/mcnee/code/chromium/src/base/message_loop/message_pump_android.cc:61:9
  00011e13  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /system/lib/libutils.so
  00011b21  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /system/lib/libutils.so
  0007fddf  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
 
Owner: wjmaclean@chromium.org
Status: Assigned (was: Untriaged)
Assigning to James who recently was looking at emulated touch.
Status: Fixed (was: Assigned)
I re-tested after landing

https://chromium-review.googlesource.com/c/chromium/src/+/1169528

and this issue seems to be fixed now. Please re-open if needed.

Sign in to add a comment