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

tst_qwebengineurlrequestinterceptor::ipv6HostEncoding test crashes on Windows occasionally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.15
    • WebEngine
    • None
    • Windows

    Description

      Start test to reproduce:

      ./tst_qwebengineurlrequestinterceptor ipv6HostEncoding
      

      content::FrameTreeNode::current_frame_host() returns nullptr when initializing top_document_url in ProxyingURLLoaderFactoryQt::CreateLoaderAndStart()

        Qt5WebEngineCored.dll!QtWebEngineCore::ProxyingURLLoaderFactoryQt::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader> loader={...}, int routing_id=1, int request_id=48234, unsigned int options=2, const network::ResourceRequest & request={...}, mojo::InterfacePtr<network::mojom::URLLoaderClient> client={...}, const net::MutableNetworkTrafficAnnotationTag & traffic_annotation={...}) Line 532
        Qt5WebEngineCored.dll!network::mojom::URLLoaderFactoryStubDispatch::Accept(network::mojom::URLLoaderFactory * impl=0x0000025bc1510310, mojo::Message * message=0x000000cefaafa230) Line 228
        Qt5WebEngineCored.dll!network::mojom::URLLoaderFactoryStub<mojo::RawPtrImplRefTraits<network::mojom::URLLoaderFactory>>::Accept(mojo::Message * message=0x000000cefaafa230) Line 134
        Qt5WebEngineCored.dll!mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message * message=0x000000cefaafa230) Line 553
        Qt5WebEngineCored.dll!mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept(mojo::Message * message=0x000000cefaafa230) Line 141
        Qt5WebEngineCored.dll!mojo::MessageDispatcher::Accept(mojo::Message * message=0x000000cefaafa230) Line 46
        Qt5WebEngineCored.dll!mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message * message=0x000000cefaafa230) Line 357
        Qt5WebEngineCored.dll!mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper * message_wrapper=0x000000cefaafa8c0, mojo::internal::MultiplexRouter::ClientCallBehavior client_call_behavior=ALLOW_DIRECT_CLIENT_CALLS, base::SequencedTaskRunner * current_task_runner=0x0000025bbb07a950) Line 876
        Qt5WebEngineCored.dll!mojo::internal::MultiplexRouter::Accept(mojo::Message * message=0x000000cefaafb2e0) Line 598
        Qt5WebEngineCored.dll!mojo::MessageDispatcher::Accept(mojo::Message * message=0x000000cefaafb2e0) Line 41
        Qt5WebEngineCored.dll!mojo::Connector::DispatchMessageW(mojo::Message message={...}) Line 604
        Qt5WebEngineCored.dll!mojo::Connector::ReadAllAvailableMessages() Line 680
        Qt5WebEngineCored.dll!mojo::Connector::OnHandleReadyInternal(unsigned int result=0) Line 515
        Qt5WebEngineCored.dll!mojo::Connector::OnWatcherHandleReady(unsigned int result=0) Line 475
        Qt5WebEngineCored.dll!base::internal::FunctorTraits<void (__cdecl mojo::Connector::*)(unsigned int),void>::Invoke<void (__cdecl mojo::Connector::*)(unsigned int),mojo::Connector *,unsigned int>(void(mojo::Connector::*)(unsigned int) method=0x00007ff803e732df, mojo::Connector * && receiver_ptr=0x0000025bc178a188, unsigned int && <args_0>=0) Line 499
        Qt5WebEngineCored.dll!base::internal::InvokeHelper<0,void>::MakeItSo<void (__cdecl mojo::Connector::*const &)(unsigned int),mojo::Connector *,unsigned int>(void(mojo::Connector::*)(unsigned int) & functor=0x00007ff803e732df, mojo::Connector * && <args_0>=0x0000025bc178a188, unsigned int && <args_1>=0) Line 600
        Qt5WebEngineCored.dll!base::internal::Invoker<base::internal::BindState<void (__cdecl mojo::Connector::*)(unsigned int),base::internal::UnretainedWrapper<mojo::Connector>>,void __cdecl(unsigned int)>::RunImpl<void (__cdecl mojo::Connector::*const &)(unsigned int),std::tuple<base::internal::UnretainedWrapper<mojo::Connector>> const &,0>(void(mojo::Connector::*)(unsigned int) & functor=0x00007ff803e732df, const std::tuple<base::internal::UnretainedWrapper<mojo::Connector>> & bound={...}, std::integer_sequence<unsigned __int64,0> __formal={...}, unsigned int && <unbound_args_0>=0) Line 676
        Qt5WebEngineCored.dll!base::internal::Invoker<base::internal::BindState<void (__cdecl mojo::Connector::*)(unsigned int),base::internal::UnretainedWrapper<mojo::Connector>>,void __cdecl(unsigned int)>::Run(base::internal::BindStateBase * base=0x0000025bc170f5e0, unsigned int <unbound_args_0>=0) Line 657
        Qt5WebEngineCored.dll!base::RepeatingCallback<void __cdecl(unsigned int)>::Run(unsigned int <args_0>=0) Line 133
        Qt5WebEngineCored.dll!mojo::SimpleWatcher::DiscardReadyState(const base::RepeatingCallback<void __cdecl(unsigned int)> & callback={...}, unsigned int result=0, const mojo::HandleSignalsState & state={...}) Line 195
        Qt5WebEngineCored.dll!base::internal::FunctorTraits<void (__cdecl*)(base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &),void>::Invoke<void (__cdecl*const &)(base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &),base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &>(void(*)(const base::RepeatingCallback<void __cdecl(unsigned int)> &, unsigned int, const mojo::HandleSignalsState &) & function=0x00007ff8041ef0c6, const base::RepeatingCallback<void __cdecl(unsigned int)> & <args_0>={...}, unsigned int && <args_1>=0, const mojo::HandleSignalsState & <args_2>={...}) Line 399
        Qt5WebEngineCored.dll!base::internal::InvokeHelper<0,void>::MakeItSo<void (__cdecl*const &)(base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &),base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &>(void(*)(const base::RepeatingCallback<void __cdecl(unsigned int)> &, unsigned int, const mojo::HandleSignalsState &) & functor=0x00007ff8041ef0c6, const base::RepeatingCallback<void __cdecl(unsigned int)> & <args_0>={...}, unsigned int && <args_1>=0, const mojo::HandleSignalsState & <args_2>={...}) Line 600
        Qt5WebEngineCored.dll!base::internal::Invoker<base::internal::BindState<void (__cdecl*)(base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &),base::RepeatingCallback<void __cdecl(unsigned int)>>,void __cdecl(unsigned int,mojo::HandleSignalsState const &)>::RunImpl<void (__cdecl*const &)(base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &),std::tuple<base::RepeatingCallback<void __cdecl(unsigned int)>> const &,0>(void(*)(const base::RepeatingCallback<void __cdecl(unsigned int)> &, unsigned int, const mojo::HandleSignalsState &) & functor=0x00007ff8041ef0c6, const std::tuple<base::RepeatingCallback<void __cdecl(unsigned int)>> & bound={...}, std::integer_sequence<unsigned __int64,0> __formal={...}, unsigned int && <unbound_args_0>=0, const mojo::HandleSignalsState & <unbound_args_1>={...}) Line 676
        Qt5WebEngineCored.dll!base::internal::Invoker<base::internal::BindState<void (__cdecl*)(base::RepeatingCallback<void __cdecl(unsigned int)> const &,unsigned int,mojo::HandleSignalsState const &),base::RepeatingCallback<void __cdecl(unsigned int)>>,void __cdecl(unsigned int,mojo::HandleSignalsState const &)>::Run(base::internal::BindStateBase * base=0x0000025bc170f420, unsigned int <unbound_args_0>=0, const mojo::HandleSignalsState & <unbound_args_1>={...}) Line 657
        Qt5WebEngineCored.dll!mojo::SimpleWatcher::OnHandleReady(int watch_id=1, unsigned int result=0, const mojo::HandleSignalsState & state={...}) Line 293
        Qt5WebEngineCored.dll!mojo::SimpleWatcher::Context::Notify(unsigned int result=0, MojoHandleSignalsState signals_state={...}, unsigned int flags=0) Line 119
        Qt5WebEngineCored.dll!mojo::SimpleWatcher::Context::CallNotify(const MojoTrapEvent * event=0x000000cefaafbcd0) Line 61
        Qt5WebEngineCored.dll!mojo::core::WatcherDispatcher::InvokeWatchCallback(unsigned __int64 context=2593110968208, unsigned int result=0, const mojo::core::HandleSignalsState & state={...}, unsigned int flags=0) Line 95
        Qt5WebEngineCored.dll!mojo::core::Watch::InvokeCallback(unsigned int result=0, const mojo::core::HandleSignalsState & state={...}, unsigned int flags=0) Line 79
        Qt5WebEngineCored.dll!mojo::core::RequestContext::~RequestContext() Line 73
        Qt5WebEngineCored.dll!mojo::core::NodeChannel::OnChannelMessage(const void * payload=0x0000025bbe492fe0, unsigned __int64 payload_size=1288, std::vector<mojo::PlatformHandle,std::allocator<mojo::PlatformHandle>> handles={...}) Line 598
        Qt5WebEngineCored.dll!mojo::core::Channel::TryDispatchMessage(base::span<char const ,-1> buffer={...}, unsigned __int64 * size_hint=0x000000cefaafd788) Line 714
        Qt5WebEngineCored.dll!mojo::core::Channel::OnReadComplete(unsigned __int64 bytes_read=1304, unsigned __int64 * next_read_size_hint=0x000000cefaafd788) Line 610
        Qt5WebEngineCored.dll!mojo::core::`anonymous namespace'::ChannelWin::OnReadDone(unsigned __int64 bytes_read=1304) Line 248
        Qt5WebEngineCored.dll!mojo::core::`anonymous namespace'::ChannelWin::OnIOCompleted(base::MessagePumpForIO::IOContext * context=0x0000025bbe0e50d0, unsigned long bytes_transfered=1304, unsigned long error=0) Line 235
        Qt5WebEngineCored.dll!base::MessagePumpForIO::WaitForIOCompletion(unsigned long timeout=91502, base::MessagePumpForIO::IOHandler * filter=0x0000000000000000) Line 682
        Qt5WebEngineCored.dll!base::MessagePumpForIO::WaitForWork(base::MessagePump::Delegate::NextWorkInfo next_work_info={...}) Line 660
        Qt5WebEngineCored.dll!base::MessagePumpForIO::DoRunLoop() Line 642
        Qt5WebEngineCored.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate=0x0000025bbaf9eea8) Line 76
       Qt5WebEngineCored.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool application_tasks_allowed=true, base::TimeDelta timeout={...}) Line 467
       Qt5WebEngineCored.dll!base::RunLoop::Run() Line 158
       Qt5WebEngineCored.dll!base::Thread::Run(base::RunLoop * run_loop=0x000000cefaafef90) Line 305
        Qt5WebEngineCored.dll!content::BrowserProcessSubThread::IOThreadRun(base::RunLoop * run_loop=0x000000cefaafef90) Line 159
        Qt5WebEngineCored.dll!content::BrowserProcessSubThread::Run(base::RunLoop * run_loop=0x000000cefaafef90) Line 111
       Qt5WebEngineCored.dll!base::Thread::ThreadMain() Line 378
       Qt5WebEngineCored.dll!base::`anonymous namespace'::ThreadFunc(void * params=0x0000025bbb084ff0) Line 104
       kernel32.dll!00007ff8653d7974() Unknown Non-user code. Cannot find or open the PDB file.
       ntdll.dll!00007ff867b0a261() Unknown Non-user code. Cannot find or open the PDB file.
      

      Attachments

        Issue Links

          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
              ztamas Tamas Zakor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes