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

Failing CHECK in render_frame_host_manager.cc when reloading Instagram

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.4.0
    • WebEngine
    • None

    Description

      Currently, when navigating to an Instagram page (even just e.g. instagram.com/test/ or so), I get a HTTP 429 ("Too Many Requests", despite not accessing Instagram before...).

      When I refresh (e.g. F5 in simplebrowser), it SIGABRTs due to a failing CHECK:

      Thread 1 "simplebrowser" received signal SIGTRAP, Trace/breakpoint trap.
      0x00007ffff095bbf2 in operator() () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc:2097
      Downloading 0.18 MB source file /build/qt6-webengine/src/build/src/core/RelWithDebInfo/x86_64/../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc
      2097	           CHECK(!dest_instance->IsRelatedSiteInstance(             
      

      here:

      2092	       if (is_data_or_about_and_not_sandboxed ||
      2093	           dest_instance_impl->IsSuitableForUrlInfo(dest_url_info)) {
      2094	         // If we are forcing a swap, this should be in a different
      2095	         // BrowsingInstance.
      2096	         if (force_browsing_instance_swap) {
      2097	           CHECK(!dest_instance->IsRelatedSiteInstance(
      2098	               render_frame_host_->GetSiteInstance()));
      2099	         }
      

      stacktrace:

      #0  0x00007ffff095bbf2 in operator() () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc:2097
      #1  content::RenderFrameHostManager::DetermineSiteInstanceForURL(content::UrlInfo const&, content::SiteInstance*, content::SiteInstance*, content::SiteInstance*, ui::PageTransition, bool, bool, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc:2097
      #2  0x00007ffff095c082 in content::RenderFrameHostManager::GetSiteInstanceForNavigation(content::UrlInfo const&, content::SiteInstanceImpl*, content::SiteInstanceImpl*, content::SiteInstanceImpl*, ui::PageTransition, bool, bool, bool, bool, bool, bool, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) ()
          at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc:1897
      #3  0x00007ffff095dd95 in content::RenderFrameHostManager::GetSiteInstanceForNavigationRequest(content::NavigationRequest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc:3146
      #4  0x00007ffff095fead in content::RenderFrameHostManager::GetFrameHostForNavigation(content::NavigationRequest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/render_frame_host_manager.cc:1006
      #5  0x00007ffff08f8110 in content::NavigationRequest::OnRequestFailedInternal(network::URLLoaderCompletionStatus const&, bool, absl::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, bool) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/navigation_request.cc:3834
      #6  0x00007ffff08fa436 in content::NavigationRequest::OnWillProcessResponseChecksComplete(content::NavigationThrottle::ThrottleCheckResult) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/navigation_request.cc:4456
      #7  0x00007ffff08fd08a in content::NavigationRequest::CancelDeferredNavigationInternal(content::NavigationThrottle::ThrottleCheckResult) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/navigation_request.cc:5708
      #8  0x00007ffff08fd0d7 in content::NavigationRequest::CancelDeferredNavigation(content::NavigationThrottle*, content::NavigationThrottle::ThrottleCheckResult) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/navigation_request.cc:5649
      #9  0x00007fffeff7bafc in content::NavigationThrottle::CancelDeferredNavigation(content::NavigationThrottle::ThrottleCheckResult) () at ./../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/public/browser/navigation_throttle.cc:98
      #10 0x00007ffff084b193 in content::HttpErrorNavigationThrottle::OnBodyReadable(unsigned int) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/content/browser/renderer_host/http_error_navigation_throttle.cc:99
      #11 0x00007ffff2d64393 in base::RepeatingCallback<void (unsigned int, mojo::HandleSignalsState const&)>::Run(unsigned int, mojo::HandleSignalsState const&) const & () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/base/callback.h:242
      #12 mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/mojo/public/cpp/system/simple_watcher.cc:278
      #13 0x00007ffff25a6b3a in base::OnceCallback<void ()>::Run() && () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/base/callback.h:143
      #14 base::TaskAnnotator::RunTaskImpl(base::PendingTask&) () at ./../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/base/task/common/task_annotator.cc:135
      #15 0x00007ffff25bc49a in RunTask<base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*)::<lambda(perfetto::EventContext&)> > () at ../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/base/task/common/task_annotator.h:74
      #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*) () at ./../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:386
      #17 0x00007ffff25bcd71 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() () at ./../../../../../qtwebengine-everywhere-src-6.4.0/src/3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:291
      #18 0x00007fffeefef3d2 in QtWebEngineCore::MessagePumpForUIQt::handleScheduledWork() () at /build/qt6-webengine/src/qtwebengine-everywhere-src-6.4.0/src/core/browser_main_parts_qt.cpp:190
      #19 0x00007fffec921e56 in QObject::event(QEvent*) (this=0x55555596d5d0, e=0x555556184a00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobject.cpp:1355
      #20 0x00007ffff796ab5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55555596d5d0, e=0x555556184a00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qapplication.cpp:3313
      #21 0x00007fffec8e0408 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55555596d5d0, event=0x555556184a00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qcoreapplication.cpp:1026
      #22 0x00007fffec8e05db in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5555555e48e0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qcoreapplication.cpp:1804
      #23 0x00007fffecb05608 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x555555632010) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243
      #24 0x00007fffeb87c87b in g_main_dispatch (context=0x7fffd4005040) at ../glib/glib/gmain.c:3444
      #25 g_main_context_dispatch (context=0x7fffd4005040) at ../glib/glib/gmain.c:4162
      #26 0x00007fffeb8d3279 in g_main_context_iterate.constprop.0 (context=0x7fffd4005040, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238
      #27 0x00007fffeb87b132 in g_main_context_iteration (context=0x7fffd4005040, may_block=1) at ../glib/glib/gmain.c:4303
      #28 0x00007fffecb03602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555556431e0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #29 0x00007fffec8eb7b4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffc940, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/global/qflags.h:34
      #30 0x00007fffec8e302b in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.4.0/src/corelib/global/qflags.h:74
      #31 0x000055555556565f in main ()
      

      Unfortunately, I can't seem to reproduce outside of Instagram - doing the same with e.g. http://httpbin.org/status/429 works fine.

      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
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes