Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51576

Pinch gesture on trackpad (for zooming) crashes renderer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.6.0 RC
    • WebEngine
    • None
    • OSX 10.11
      Qt 5.6

    Description

      1) Start provided example application with --single-process.
      2) Position mouse inside web engine view.
      3) Do a couple of pinch out gestures on an Apple trackpad.
      3) After a couple of gestures, the renderer crashes with the following assert.

      [0301/134144:FATAL:layer_tree_host_impl.cc(2480)] Check failed: !CurrentlyScrollingLayer(). 
      0   libQt5WebEngineCore_debug.5.dylib   0x000000010753158e _ZN4base5debug10StackTraceC2Ev + 30
      1   libQt5WebEngineCore_debug.5.dylib   0x00000001075315c5 _ZN4base5debug10StackTraceC1Ev + 21
      2   libQt5WebEngineCore_debug.5.dylib   0x00000001075863f8 _ZN7logging10LogMessageD2Ev + 72
      3   libQt5WebEngineCore_debug.5.dylib   0x00000001075846b5 _ZN7logging10LogMessageD1Ev + 21
      4   libQt5WebEngineCore_debug.5.dylib   0x0000000105f07c13 _ZN2cc17LayerTreeHostImpl11ScrollBeginERKN3gfx5PointENS_12InputHandler15ScrollInputTypeE + 419
      5   libQt5WebEngineCore_debug.5.dylib   0x0000000108b77322 _ZN7content17InputHandlerProxy16HandleMouseWheelERKN5blink18WebMouseWheelEventE + 658
      6   libQt5WebEngineCore_debug.5.dylib   0x0000000108b75e02 _ZN7content17InputHandlerProxy16HandleInputEventERKN5blink13WebInputEventE + 642
      7   libQt5WebEngineCore_debug.5.dylib   0x0000000108b75294 _ZN7content17InputHandlerProxy31HandleInputEventWithLatencyInfoERKN5blink13WebInputEventEPN2ui11LatencyInfoE + 676
      8   libQt5WebEngineCore_debug.5.dylib   0x0000000108b6cff6 _ZN7content19InputHandlerManager16HandleInputEventEiPKN5blink13WebInputEventEPN2ui11LatencyInfoE + 710
      9   libQt5WebEngineCore_debug.5.dylib   0x0000000108b70fa7 _ZN4base8internal15RunnableAdapterIMN7content19InputHandlerManagerEFNS2_18InputEventAckStateEiPKN5blink13WebInputEventEPN2ui11LatencyInfoEEE3RunEPS3_RKiRKS8_RKSB_ + 183
      10  libQt5WebEngineCore_debug.5.dylib   0x0000000108b70e7e _ZN4base8internal12InvokeHelperILb0EN7content18InputEventAckStateENS0_15RunnableAdapterIMNS2_19InputHandlerManagerEFS3_iPKN5blink13WebInputEventEPN2ui11LatencyInfoEEEENS0_8TypeListIJPS5_RKiRKS9_RKSC_EEEE8MakeItSoESF_SH_SJ_SL_SN_ + 110
      11  libQt5WebEngineCore_debug.5.dylib   0x0000000108b70e0a _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0EEEENS0_9BindStateINS0_15RunnableAdapterIMN7content19InputHandlerManagerEFNS6_18InputEventAckStateEiPKN5blink13WebInputEventEPN2ui11LatencyInfoEEEEFS8_PS7_iSC_SF_ENS0_8TypeListIJNS0_17UnretainedWrapperIS7_EEEEEEENSL_IJNS0_12UnwrapTraitsISN_EEEEENS0_12InvokeHelperILb0ES8_SI_NSL_IJSJ_RKiRKSC_RKSF_EEEEEFS8_SV_SX_SZ_EE3RunEPNS0_13BindStateBaseESV_SX_SZ_ + 154
      12  libQt5WebEngineCore_debug.5.dylib   0x0000000108b6b3f0 _ZNK4base8CallbackIFN7content18InputEventAckStateEiPKN5blink13WebInputEventEPN2ui11LatencyInfoEEE3RunERKiRKS6_RKS9_ + 112
      13  libQt5WebEngineCore_debug.5.dylib   0x0000000108b6a58c _ZN7content16InputEventFilter16ForwardToHandlerERKN3IPC7MessageE + 1660
      14  libQt5WebEngineCore_debug.5.dylib   0x0000000108b6c07a _ZN4base8internal15RunnableAdapterIMN7content16InputEventFilterEFvRKN3IPC7MessageEEE3RunEPS3_S7_ + 138
      15  libQt5WebEngineCore_debug.5.dylib   0x0000000108b6bfb1 _ZN4base8internal12InvokeHelperILb0EvNS0_15RunnableAdapterIMN7content16InputEventFilterEFvRKN3IPC7MessageEEEENS0_8TypeListIJRKPS4_S8_EEEE8MakeItSoESB_SF_S8_ + 65
      16  libQt5WebEngineCore_debug.5.dylib   0x0000000108b6bf69 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0ELm1EEEENS0_9BindStateINS0_15RunnableAdapterIMN7content16InputEventFilterEFvRKN3IPC7MessageEEEEFvPS7_SB_ENS0_8TypeListIJSF_S9_EEEEENSH_IJNS0_12UnwrapTraitsISF_EENSK_IS9_EEEEENS0_12InvokeHelperILb0EvSE_NSH_IJRKSF_SB_EEEEEFvvEE3RunEPNS0_13BindStateBaseE + 121
      17  libQt5WebEngineCore_debug.5.dylib   0x000000010736820e _ZNK4base8CallbackIFvvEE3RunEv + 46
      18  libQt5WebEngineCore_debug.5.dylib   0x000000010753291a _ZN4base5debug13TaskAnnotator7RunTaskEPKcS3_RKNS_11PendingTaskE + 890
      19  libQt5WebEngineCore_debug.5.dylib   0x00000001075b1e71 _ZN4base11MessageLoop7RunTaskERKNS_11PendingTaskE + 417
      20  libQt5WebEngineCore_debug.5.dylib   0x00000001075b1fbc _ZN4base11MessageLoop21DeferOrRunPendingTaskERKNS_11PendingTaskE + 76
      21  libQt5WebEngineCore_debug.5.dylib   0x00000001075b25e2 _ZN4base11MessageLoop6DoWorkEv + 530
      22  libQt5WebEngineCore_debug.5.dylib   0x00000001074fb25d _ZN4base24MessagePumpCFRunLoopBase7RunWorkEv + 93
      23  libQt5WebEngineCore_debug.5.dylib   0x00000001074fb1ec ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28
      24  libQt5WebEngineCore_debug.5.dylib   0x000000010758901a CS2_begin + 0
      25  libQt5WebEngineCore_debug.5.dylib   0x00000001074fa887 _ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv + 87
      26  CoreFoundation                      0x00007fff8fc638b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      27  CoreFoundation                      0x00007fff8fc430ac __CFRunLoopDoSources0 + 556
      28  CoreFoundation                      0x00007fff8fc425cf __CFRunLoopRun + 927
      29  CoreFoundation                      0x00007fff8fc41fc8 CFRunLoopRunSpecific + 296
      30  libQt5WebEngineCore_debug.5.dylib   0x00000001074fb81e _ZN4base20MessagePumpCFRunLoop5DoRunEPNS_11MessagePump8DelegateE + 62
      31  libQt5WebEngineCore_debug.5.dylib   0x00000001074faf7c _ZN4base24MessagePumpCFRunLoopBase3RunEPNS_11MessagePump8DelegateE + 124
      32  libQt5WebEngineCore_debug.5.dylib   0x00000001075b1920 _ZN4base11MessageLoop10RunHandlerEv + 208
      33  libQt5WebEngineCore_debug.5.dylib   0x000000010760c204 _ZN4base7RunLoop3RunEv + 68
      34  libQt5WebEngineCore_debug.5.dylib   0x00000001075b0d77 _ZN4base11MessageLoop3RunEv + 247
      35  libQt5WebEngineCore_debug.5.dylib   0x00000001076a6a19 _ZN4base6Thread3RunEPNS_11MessageLoopE + 25
      36  libQt5WebEngineCore_debug.5.dylib   0x00000001076a6f6c _ZN4base6Thread10ThreadMainEv + 1292
      37  libQt5WebEngineCore_debug.5.dylib   0x000000010768d37c _ZN4base12_GLOBAL__N_110ThreadFuncEPv + 268
      38  libsystem_pthread.dylib             0x00007fff8d85a9b1 _pthread_body + 131
      39  libsystem_pthread.dylib             0x00007fff8d85a92e _pthread_body + 0
      40  libsystem_pthread.dylib             0x00007fff8d858385 thread_start + 13
      
      The program has unexpectedly finished.
      

      Sometimes it also crashes with:

      ASSERTION FAILED: result.isRectBasedTest()
      /Users/alex/Dev/qt/qt56_source/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/input/EventHandler.cpp(2396) : bool blink::EventHandler::bestClickableNodeForHitTestResult(const blink::HitTestResult &, blink::IntPoint &, blink::Node *&)
      1   0x10e152bcc blink::EventHandler::bestClickableNodeForHitTestResult(blink::HitTestResult const&, blink::IntPoint&, blink::Node*&)
      2   0x10e15391f blink::EventHandler::applyTouchAdjustment(blink::PlatformGestureEvent*, blink::HitTestResult*)
      3   0x10e1536cd blink::EventHandler::hitTestResultForGestureEvent(blink::PlatformGestureEvent const&, unsigned int)
      4   0x10e14fc12 blink::EventHandler::targetGestureEvent(blink::PlatformGestureEvent const&, bool)
      5   0x10baba178 blink::WebViewImpl::handleGestureEvent(blink::WebGestureEvent const&)
      6   0x10babb31f non-virtual thunk to blink::WebViewImpl::handleGestureEvent(blink::WebGestureEvent const&)
      7   0x10b9fb640 blink::PageWidgetDelegate::handleInputEvent(blink::PageWidgetEventHandler&, blink::WebInputEvent const&, blink::LocalFrame*)
      8   0x10babbcf7 blink::WebViewImpl::handleInputEvent(blink::WebInputEvent const&)
      9   0x10bd3d0e9 content::RenderWidget::OnHandleInputEvent(blink::WebInputEvent const*, ui::LatencyInfo const&, bool)
      10  0x10bd50d9b void base::DispatchToMethodImpl<content::RenderWidget, void (content::RenderWidget::*)(blink::WebInputEvent const*, ui::LatencyInfo const&, bool), blink::WebInputEvent const*, ui::LatencyInfo, bool, 0ul, 1ul, 2ul>(content::RenderWidget*, void (content::RenderWidget::*)(blink::WebInputEvent const*, ui::LatencyInfo const&, bool), base::Tuple<blink::WebInputEvent const*, ui::LatencyInfo, bool> const&, base::IndexSequence<0ul, 1ul, 2ul>)
      11  0x10bd50c95 void base::DispatchToMethod<content::RenderWidget, void (content::RenderWidget::*)(blink::WebInputEvent const*, ui::LatencyInfo const&, bool), blink::WebInputEvent const*, ui::LatencyInfo, bool>(content::RenderWidget*, void (content::RenderWidget::*)(blink::WebInputEvent const*, ui::LatencyInfo const&, bool), base::Tuple<blink::WebInputEvent const*, ui::LatencyInfo, bool> const&)
      12  0x10bd48aaf bool InputMsg_HandleInputEvent::Dispatch<content::RenderWidget, content::RenderWidget, void, void (content::RenderWidget::*)(blink::WebInputEvent const*, ui::LatencyInfo const&, bool)>(IPC::Message const*, content::RenderWidget*, content::RenderWidget*, void*, void (content::RenderWidget::*)(blink::WebInputEvent const*, ui::LatencyInfo const&, bool))
      13  0x10bd3ba46 content::RenderWidget::OnMessageReceived(IPC::Message const&)
      14  0x10bd015ca content::RenderViewImpl::OnMessageReceived(IPC::Message const&)
      15  0x10e89d321 content::MessageRouter::RouteMessage(IPC::Message const&)
      16  0x10e89d29e content::MessageRouter::OnMessageReceived(IPC::Message const&)
      17  0x11074f709 content::ChildThreadImpl::OnMessageReceived(IPC::Message const&)
      18  0x10bcf583a base::internal::RunnableAdapter<bool (content::ChildThreadImpl::*)(IPC::Message const&)>::Run(content::ChildThreadImpl*, IPC::Message const&)
      19  0x10bcf57a0 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<bool (content::ChildThreadImpl::*)(IPC::Message const&)>, base::internal::TypeList<content::RenderThreadImpl*, IPC::Message const&> >::MakeItSo(base::internal::RunnableAdapter<bool (content::ChildThreadImpl::*)(IPC::Message const&)>, content::RenderThreadImpl*, IPC::Message const&)
      20  0x10bcf5720 base::internal::Invoker<base::IndexSequence<0ul>, base::internal::BindState<base::internal::RunnableAdapter<bool (content::ChildThreadImpl::*)(IPC::Message const&)>, void (content::ChildThreadImpl*, IPC::Message const&), base::internal::TypeList<base::internal::UnretainedWrapper<content::RenderThreadImpl> > >, base::internal::TypeList<base::internal::UnwrapTraits<base::internal::UnretainedWrapper<content::RenderThreadImpl> > >, base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<bool (content::ChildThreadImpl::*)(IPC::Message const&)>, base::internal::TypeList<content::RenderThreadImpl*, IPC::Message const&> >, void (IPC::Message const&)>::Run(base::internal::BindStateBase*, IPC::Message const&)
      21  0x10bcf52d6 base::Callback<void (IPC::Message const&)>::Run(IPC::Message const&) const
      22  0x10bcf4a9f base::CancelableCallback<void (IPC::Message const&)>::Forward(IPC::Message const&) const
      23  0x10bcf527a base::internal::RunnableAdapter<void (base::CancelableCallback<void (IPC::Message const&)>::*)(IPC::Message cons constt&)>::Run(base::CancelableCallback<void (IPC::Message const&)> const*, IPC::Message const&)
      24  0x10bcf5158 base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (base::CancelableCallback<void (IPC::Message const&)>::*)(IPC::Message cons constt&)>, base::internal::TypeList<base::WeakPtr<base::CancelableCallback<void (IPC::Message const&)> > const&, IPC::Message const&> >::MakeItSo(base::internal::RunnableAdapter<void (base::CancelableCallback<void (IPC::Message const&)>::*)(IPC::Message cons constt&)>, base::WeakPtr<base::CancelableCallback<void (IPC::Message const&)> > const&, IPC::Message const&)
      25  0x10bcf50f8 base::internal::Invoker<base::IndexSequence<0ul>, base::internal::BindState<base::internal::RunnableAdapter<void (base::CancelableCallback<void (IPC::Message const&)>::*)(IPC::Message cons constt&)>, void (base::CancelableCallback<void (IPC::Message const&)> const*, IPC::Message const&), base::internal::TypeList<base::WeakPtr<base::CancelableCallback<void (IPC::Message const&)> > > >, base::internal::TypeList<base::internal::UnwrapTraits<base::WeakPtr<base::CancelableCallback<void (IPC::Message const&)> > > >, base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (base::CancelableCallback<void (IPC::Message const&)>::*)(IPC::Message cons constt&)>, base::internal::TypeList<base::WeakPtr<base::CancelableCallback<void (IPC::Message const&)> > const&, IPC::Message const&> >, void (IPC::Message const&)>::Run(base::internal::BindStateBase*, IPC::Message const&)
      26  0x10bcf52d6 base::Callback<void (IPC::Message const&)>::Run(IPC::Message const&) const
      27  0x10bbcd4e8 base::internal::InvokeHelper<false, void, base::Callback<void (IPC::Message const&)>, base::internal::TypeList<IPC::Message const&> >::MakeItSo(base::Callback<void (IPC::Message const&)>, IPC::Message const&)
      28  0x10bbcd4a9 base::internal::Invoker<base::IndexSequence<0ul>, base::internal::BindState<base::Callback<void (IPC::Message const&)>, void (IPC::Message const&), base::internal::TypeList<IPC::Message> >, base::internal::TypeList<base::internal::UnwrapTraits<IPC::Message> >, base::internal::InvokeHelper<false, void, base::Callback<void (IPC::Message const&)>, base::internal::TypeList<IPC::Message const&> >, void ()>::Run(base::internal::BindStateBase*)
      29  0x10a3c920e base::Callback<void ()>::Run() const
      30  0x10a59391a base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&)
      31  0x10ddf30ed scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(unsigned long, bool, base::PendingTask*)
      The program has unexpectedly finished.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes