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

Frequent crash in qwebengineurlrequestinterceptor test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.12.5, 5.13.1, 5.14.0 Beta 1
    • Fix Version/s: 5.13.2, 5.14.1, 5.15.4
    • Component/s: WebEngine
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      49e660a9e8e47c9cd81bb38f2b74575e7de50aca (qt/qtwebengine/5.13.2)

      Description

      tst_QWebEngineUrlRequestInterceptor quite often according to
      grafana crashes like here:
      https://testresults.qt.io/coin/integration/qt/qtwebengine/tasks/1566399140

      Stack trace:

      agent:2019/08/21 16:44:07 build.go:215: PASS : tst_QWebEngineUrlRequestInterceptor::firstPartyUrlHttp()
      agent:2019/08/21 16:44:07 build.go:215: [1:1:0821/194407.395512:ERROR:resource_dispatcher.cc(512)] unknown request
      agent:2019/08/21 16:44:07 build.go:215: Received signal 11 SEGV_MAPERR 000059e758ba
      agent:2019/08/21 16:44:07 build.go:215: #0 0x7fb2f6524520 base::debug::StackTrace::StackTrace()
      agent:2019/08/21 16:44:07 build.go:215: #1 0x7fb2f633630b base::debug::StackTrace::StackTrace()
      agent:2019/08/21 16:44:07 build.go:215: #2 0x7fb2f6523126 base::debug::(anonymous namespace)::StackDumpSignalHandler()
      agent:2019/08/21 16:44:07 build.go:215: #3 0x7fb2ec1ebb10 <unknown>
      agent:2019/08/21 16:44:07 build.go:215: #4 0x7fb2f142292b QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest()
      agent:2019/08/21 16:44:07 build.go:215: #5 0x7fb2f6d87dc6 net::NetworkDelegate::NotifyBeforeURLRequest()
      agent:2019/08/21 16:44:07 build.go:215: #6 0x7fb2f716be85 net::URLRequest::Start()
      agent:2019/08/21 16:44:07 build.go:215: #7 0x7fb2f5609a0b content::ResourceLoader::StartRequestInternal()
      agent:2019/08/21 16:44:07 build.go:215: #8 0x7fb2f560931c content::ResourceLoader::Resume()
      agent:2019/08/21 16:44:07 build.go:215: #9 0x7fb2f560b963 content::ResourceLoader::ScopedDeferral::~ScopedDeferral()
      agent:2019/08/21 16:44:07 build.go:215: #10 0x7fb2f5607021 content::ResourceLoader::StartRequest()
      agent:2019/08/21 16:44:08 build.go:215: #11 0x7fb2f55ea92e content::ResourceDispatcherHostImpl::StartLoading()
      agent:2019/08/21 16:44:08 build.go:215: #12 0x7fb2f55e9f0d content::ResourceDispatcherHostImpl::BeginRequestInternal()
      agent:2019/08/21 16:44:08 build.go:215: #13 0x7fb2f55e666c content::ResourceDispatcherHostImpl::ContinuePendingBeginRequest()
      agent:2019/08/21 16:44:08 build.go:215: #14 0x7fb2f55e5134 content::ResourceDispatcherHostImpl::BeginRequest()
      agent:2019/08/21 16:44:08 build.go:215: #15 0x7fb2f55e454e content::ResourceDispatcherHostImpl::OnRequestResourceInternal()
      agent:2019/08/21 16:44:08 build.go:215: #16 0x7fb2f55e9676 content::ResourceDispatcherHostImpl::OnRequestResourceWithMojo()
      agent:2019/08/21 16:44:08 build.go:215: #17 0x7fb2f5624216 content::URLLoaderFactoryImpl::CreateLoaderAndStart()
      agent:2019/08/21 16:44:08 build.go:215: #18 0x7fb2f88266fc network::cors::CORSURLLoaderFactory::CreateLoaderAndStart()
      agent:2019/08/21 16:44:08 build.go:215: #19 0x7fb2f561123e content::ResourceMessageFilter::CreateLoaderAndStart()
      agent:2019/08/21 16:44:08 build.go:215: #20 0x7fb2f17105fe network::mojom::URLLoaderFactoryStubDispatch::Accept()
      agent:2019/08/21 16:44:08 build.go:215: #21 0x7fb2f4db837b network::mojom::URLLoaderFactoryStub<>::Accept()
      agent:2019/08/21 16:44:08 build.go:215: #22 0x7fb2f6a28083 mojo::InterfaceEndpointClient::HandleValidatedMessage()
      agent:2019/08/21 16:44:08 build.go:215: #23 0x7fb2f6a2607d mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept()
      agent:2019/08/21 16:44:08 build.go:215: #24 0x7fb2f6a59b1b mojo::FilterChain::Accept()
      agent:2019/08/21 16:44:08 build.go:215: #25 0x7fb2f6a275de mojo::InterfaceEndpointClient::HandleIncomingMessage()
      agent:2019/08/21 16:44:08 build.go:215: #26 0x7fb2f74d79fa IPC::(anonymous namespace)::ChannelAssociatedGroupController::Accept()
      agent:2019/08/21 16:44:09 build.go:215: #27 0x7fb2f6a59b1b mojo::FilterChain::Accept()
      agent:2019/08/21 16:44:09 build.go:215: #28 0x7fb2f6a1ec1c mojo::Connector::ReadSingleMessage()
      agent:2019/08/21 16:44:09 build.go:215: #29 0x7fb2f6a1edde mojo::Connector::ReadAllAvailableMessages()
      agent:2019/08/21 16:44:09 build.go:215: #30 0x7fb2f6a1e41f mojo::Connector::OnHandleReadyInternal()
      agent:2019/08/21 16:44:09 build.go:215: #31 0x7fb2f6a1e1d8 mojo::Connector::OnWatcherHandleReady()
      agent:2019/08/21 16:44:09 build.go:215: #32 0x7fb2f6a21d01 _ZN4base8internal13FunctorTraitsIMN4mojo9ConnectorEFvjEvE6InvokeIS5_PS3_JjEEEvT_OT0_DpOT1_
      agent:2019/08/21 16:44:09 build.go:215: #33 0x7fb2f6a21a84 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN4mojo9ConnectorEFvjEJPS5_jEEEvOT_DpOT0_
      agent:2019/08/21 16:44:09 build.go:215: #34 0x7fb2f6a21658 _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo9ConnectorEFvjEJNS0_17UnretainedWrapperIS4_EEEEEFvjEE7RunImplIRKS6_RKSt5tupleIJS8_EEJLm0EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEEOj
      agent:2019/08/21 16:44:09 build.go:215: #35 0x7fb2f6a211e0 _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo9ConnectorEFvjEJNS0_17UnretainedWrapperIS4_EEEEEFvjEE3RunEPNS0_13BindStateBaseEj
      agent:2019/08/21 16:44:09 build.go:215: #36 0x7fb2f13fe6c8 _ZNKR4base17RepeatingCallbackIFvjEE3RunEj
      agent:2019/08/21 16:44:09 build.go:215: #37 0x7fb2f319323d mojo::SimpleWatcher::DiscardReadyState()
      agent:2019/08/21 16:44:09 build.go:215: #38 0x7fb2f3194561 _ZN4base8internal13FunctorTraitsIPFvRKNS_17RepeatingCallbackIFvjEEEjRKN4mojo18HandleSignalsStateEEvE6InvokeIRKSC_JS6_jSA_EEEvOT_DpOT0_
      agent:2019/08/21 16:44:09 build.go:215: #39 0x7fb2f3194308 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKPFvRKNS_17RepeatingCallbackIFvjEEEjRKN4mojo18HandleSignalsStateEEJS8_jSC_EEEvOT_DpOT0_
      agent:2019/08/21 16:44:09 build.go:215: #40 0x7fb2f3193f96 _ZN4base8internal7InvokerINS0_9BindStateIPFvRKNS_17RepeatingCallbackIFvjEEEjRKN4mojo18HandleSignalsStateEEJS5_EEEFvjSB_EE7RunImplIRKSD_RKSt5tupleIJS5_EEJLm0EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEEOjSB_
      agent:2019/08/21 16:44:09 build.go:215: #41 0x7fb2f3193957 _ZN4base8internal7InvokerINS0_9BindStateIPFvRKNS_17RepeatingCallbackIFvjEEEjRKN4mojo18HandleSignalsStateEEJS5_EEEFvjSB_EE3RunEPNS0_13BindStateBaseEjSB_
      agent:2019/08/21 16:44:09 build.go:215: #42 0x7fb2f6a7288c _ZNKR4base17RepeatingCallbackIFvjRKN4mojo18HandleSignalsStateEEE3RunEjS4_
      agent:2019/08/21 16:44:09 build.go:215: #43 0x7fb2f6a71b02 mojo::SimpleWatcher::OnHandleReady()
      agent:2019/08/21 16:44:09 build.go:215: #44 0x7fb2f6a7368f _ZN4base8internal13FunctorTraitsIMN4mojo13SimpleWatcherEFvijRKNS2_18HandleSignalsStateEEvE6InvokeIS8_RKNS_7WeakPtrIS3_EEJRKiRKjS6_EEEvT_OT0_DpOT1_
      agent:2019/08/21 16:44:10 build.go:215: #45 0x7fb2f6a73449 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN4mojo13SimpleWatcherEFvijRKNS4_18HandleSignalsStateEERKNS_7WeakPtrIS5_EEJRKiRKjS8_EEEvOT_OT0_DpOT1_
      agent:2019/08/21 16:44:10 build.go:215: #46 0x7fb2f6a7309c _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo13SimpleWatcherEFvijRKNS3_18HandleSignalsStateEEJNS_7WeakPtrIS4_EEijS5_EEEFvvEE7RunImplIRKS9_RKSt5tupleIJSB_ijS5_EEJLm0ELm1ELm2ELm3EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEE
      agent:2019/08/21 16:44:10 build.go:215: #47 0x7fb2f6a72c3e _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo13SimpleWatcherEFvijRKNS3_18HandleSignalsStateEEJNS_7WeakPtrIS4_EEijS5_EEEFvvEE3RunEPNS0_13BindStateBaseE
      agent:2019/08/21 16:44:10 build.go:215: #48 0x7fb2f138f27a _ZNO4base12OnceCallbackIFvvEE3RunEv
      agent:2019/08/21 16:44:10 build.go:215: #49 0x7fb2f6336c7b base::debug::TaskAnnotator::RunTask()
      agent:2019/08/21 16:44:10 build.go:215: #50 0x7fb2f6394208 base::MessageLoop::RunTask()
      agent:2019/08/21 16:44:10 build.go:215: #51 0x7fb2f6394368 base::MessageLoop::DeferOrRunPendingTask()
      agent:2019/08/21 16:44:10 build.go:215: #52 0x7fb2f63946e5 base::MessageLoop::DoWork()
      agent:2019/08/21 16:44:10 build.go:215: #53 0x7fb2f6556d96 base::MessagePumpLibevent::Run()
      agent:2019/08/21 16:44:10 build.go:215: #54 0x7fb2f6393ad9 base::MessageLoop::Run()
      agent:2019/08/21 16:44:10 build.go:215: #55 0x7fb2f63f87d7 base::RunLoop::Run()
      agent:2019/08/21 16:44:10 build.go:215: #56 0x7fb2f64b09e2 base::Thread::Run()
      agent:2019/08/21 16:44:10 build.go:215: #57 0x7fb2f4f2427a content::BrowserProcessSubThread::IOThreadRun()
      agent:2019/08/21 16:44:10 build.go:215: #58 0x7fb2f4f23f4e content::BrowserProcessSubThread::Run()
      agent:2019/08/21 16:44:10 build.go:215: #59 0x7fb2f64b1116 base::Thread::ThreadMain()
      agent:2019/08/21 16:44:10 build.go:215: #60 0x7fb2f6547959 base::(anonymous namespace)::ThreadFunc()
      agent:2019/08/21 16:44:10 build.go:215: #61 0x7fb2ec1e3744 start_thread
      agent:2019/08/21 16:44:10 build.go:215: r8: 00007fb2ca7f7808 r9: 00007fb2ca7f7860 r10: 00007fb2b0000070 r11: 0000000000000005
      agent:2019/08/21 16:44:10 build.go:215: r12: 00007fb2b0399a90 r13: 00007fb2ca7f7860 r14: 000000000000000d r15: 0000000000000000
      agent:2019/08/21 16:44:10 build.go:215: di: 00007fb2ca7f7810 si: 00007fb2b0399a90 bp: 00007fb2ca7f7900 bx: 00007fb2f1422674
      agent:2019/08/21 16:44:10 build.go:215: dx: 00007fb2b0399a90 ax: 0000000059e758ba cx: 00000000ffffffff sp: 00007fb2ca7f77d0
      agent:2019/08/21 16:44:10 build.go:215: ip: 00007fb2f142292b efl: 0000000000010202 cgf: 0000000000000033 erf: 0000000000000004
      agent:2019/08/21 16:44:10 build.go:215: trp: 000000000000000e msk: 0000000000000000 cr2: 0000000059e758ba
      agent:2019/08/21 16:44:10 build.go:215: [end of stack trace]
      

        Attachments

        For Gerrit Dashboard: QTBUG-79156
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kiburtse Kirill Burtsev
            Reporter:
            kiburtse Kirill Burtsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes