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

WebEngineViewLoadUrl::test_loadDataUrl QML auto test crashes occasionally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.11
    • WebEngine
    • Linux x64

    Description

      Backtrace:

      Received signal 11 <unknown> 000000000000                                                                                                                                             
      #0 0x7f4b78cce92c base::debug::StackTrace::StackTrace()
      #1 0x7f4b78ccc907 base::debug::StackTrace::StackTrace()
      #2 0x7f4b78ccd701 base::debug::(anonymous namespace)::StackDumpSignalHandler()
      #3 0x7f4b725c0290 <unknown>
      #4 0x7f4b76ebe811 content::FrameTreeNode::DidStopLoading()
      #5 0x7f4b76f41f1d content::RenderFrameHostImpl::OnDidStopLoading()
      #6 0x7f4b76f7b99b _ZN4base20DispatchToMethodImplIPN7content19RenderFrameHostImplEMS2_FvvERKSt5tupleIJEEJEEEvRKT_T0_OT1_NS_13IndexSequenceIJXspT2_EEEE
      #7 0x7f4b76f6da94 _ZN4base16DispatchToMethodIPN7content19RenderFrameHostImplEMS2_FvvERKSt5tupleIJEEEEvRKT_T0_OT1_
      #8 0x7f4b76f6248c _ZN3IPC16DispatchToMethodIN7content19RenderFrameHostImplEMS2_FvvEvSt5tupleIJEEEEvPT_T0_PT1_RKT2_
      #9 0x7f4b76f562b7 _ZN3IPC8MessageTI32FrameHostMsg_DidStopLoading_MetaSt5tupleIJEEvE8DispatchIN7content19RenderFrameHostImplES7_vMS7_FvvEEEbPKNS_7MessageEPT_PT0_PT1_T2_
      #10 0x7f4b76f37d89 content::RenderFrameHostImpl::OnMessageReceived()
      #11 0x7f4b775c7efa content::RenderProcessHostImpl::OnMessageReceived()
      #12 0x7f4b7a685ff7 IPC::ChannelProxy::Context::OnDispatchMessage()
      #13 0x7f4b7a68d72f _ZN4base8internal13FunctorTraitsIMN3IPC12ChannelProxy7ContextEFvRKNS2_7MessageEEvE6InvokeIRK13scoped_refptrIS4_EJS7_EEEvS9_OT_DpOT0_
      #14 0x7f4b7a68cc9f _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN3IPC12ChannelProxy7ContextEFvRKNS4_7MessageEEJRK13scoped_refptrIS6_ES9_EEEvOT_DpOT0_
      #15 0x7f4b7a68afb6 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE7RunImplIRKSA_RKSt5tupleIJSC_S6_EEJLm0ELm1EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
      #16 0x7f4b7a689c2b _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE
      #17 0x7f4b7573f932 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
      #18 0x7f4b78f1d587 base::debug::TaskAnnotator::RunTask()
      #19 0x7f4b78d36558 base::MessageLoop::RunTask()
      #20 0x7f4b78d366de base::MessageLoop::DeferOrRunPendingTask()
      #21 0x7f4b78d36bc5 base::MessageLoop::DoWork()
      #22 0x7f4b755a5f20 QtWebEngineCore::(anonymous namespace)::MessagePumpForUIQt::customEvent()
      #23 0x7f4b72afad00 QObject::event()
      #24 0x7f4b73ae203d QApplicationPrivate::notify_helper()
      #25 0x7f4b73ae9759 QApplication::notify()
      #26 0x7f4b72ac887b QCoreApplication::notifyInternal2()
      #27 0x7f4b72acea93 QCoreApplicationPrivate::sendPostedEvents()
      #28 0x7f4b72acf110 QCoreApplication::sendPostedEvents()
      #29 0x7f4b72b25c9a postEventSourceDispatch()
      #30 0x7f4b6cbce797 g_main_context_dispatch
      #31 0x7f4b6cbcea00 <unknown>
      #32 0x7f4b6cbceaac g_main_context_iteration
      #33 0x7f4b72b255be QEventDispatcherGlib::processEvents()
      #34 0x7f4b6b1cbe6d QPAEventDispatcherGlib::processEvents()
      #35 0x7f4b72ac8a02 QCoreApplication::processEvents()
      #36 0x7f4b8484f09a QuickTestResult::wait()
      #37 0x7f4b84852298 QuickTestResult::qt_static_metacall()
      #38 0x7f4b8485296b QuickTestResult::qt_metacall()
      #39 0x7f4b72ad405e QMetaObject::metacall()
      #40 0x7f4b73209145 QQmlObjectOrGadget::metacall()
      #41 0x7f4b7315c76b CallMethod()
      #42 0x7f4b7315ce45 CallPrecise()
      #43 0x7f4b7315d6f7 QV4::QObjectMethod::callInternal()
      #44 0x7f4b7315da91 QV4::QObjectMethod::call()
      #45 0x7f4b7318294a QV4::Runtime::method_callProperty()
      #46 0x7f4b60014ddd <unknown>
        r8: 0000000000000000  r9: 000000000000000c r10: 0000000000000078 r11: 0000000000000000
       r12: 0000558bb1373280 r13: 0000558baf8485e0 r14: 0000558bafb72ba0 r15: 0000558bb138e420
        di: 00007ffd33199ab0  si: 0000000000000000  bp: 00007ffd3319c290  bx: 0000558bb137bf58
        dx: 00007f4b72039870  ax: 49c2894900000406  cx: 0000000000000000  sp: 00007ffd3319c280
        ip: 00007f4b76ebe811 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000000
       trp: 000000000000000d msk: 0000000000000000 cr2: 0000000000000000
      [end of stack trace]
      Calling _exit(1). Core file will not be generated.
      

      RenderFrameHost is deleted when loading the error page (CancelPending) and then it receives a DidStopLoading message from the renderer. Depending on the content of the memory it might crash. Can't reproduce it on 5.10 and 5.9.

      WebEngineViewLoadUrl::test_QTBUG_56661 crashes too on high background CPU load. It might be related.

      Attachments

        Issue Links

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

          Activity

            People

              pvarga Peter Varga
              pvarga Peter Varga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes