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

Akregator segfaults in QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.11.2
    • WebEngine
    • None
    • Debian GNU/Linux sid amd64
    • Linux/X11

    Description

      Forwarding from Debian bug #910852.

      I found Akregator crashing very often when accessing articles as webpages which are rendered by Qt WebEngine.

      The stacktrace is deeply in Qt WebEngine code, so it looks like a bug in WebEngine, not in Akregator.

      #0  0x00007fffed21086c in QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest(net::URLRequest*, base::RepeatingCallback<void (int)> const&, GURL*) ()
         from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #1  0x00007fffeeca82a6 in net::NetworkDelegate::NotifyBeforeURLRequest(net::URLRequest*, base::RepeatingCallback<void (int)> const&, GURL*) ()
         from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #2  0x00007fffeedf86eb in net::URLRequest::Start() [clone .part.109] () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #3  0x00007fffedb13bce in content::ResourceLoader::StartRequestInternal() () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #4  0x00007fffedb148ad in content::ResourceLoader::Resume(bool) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #5  0x00007fffedb14a9a in content::ResourceLoader::StartRequest() () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #6  0x00007fffedb0e1de in content::ResourceDispatcherHostImpl::BeginRequestInternal(std::unique_ptr<net::URLRequest, std::default_delete<net::URLRequest> >, std::unique_ptr<content::ResourceHandler, std::default_delete<content::ResourceHandler> >) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #7  0x00007fffedb0faff in content::ResourceDispatcherHostImpl::BeginNavigationRequest(content::ResourceContext*, net::URLRequestContext*, storage::FileSystemContext*, content::NavigationRequestInfo const&, std::unique_ptr<content::NavigationUIData, std::default_delete<content::NavigationUIData> >, content::NavigationURLLoaderImplCore*, mojo::InterfacePtr<network::mojom::URLLoaderClient>, mojo::InterfaceRequest<network::mojom::URLLoader>, content::ServiceWorkerNavigationHandleCore*, content::AppCacheNavigationHandleCore*, unsigned int, content::GlobalRequestID*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #8  0x00007fffedafd855 in content::NavigationURLLoaderImplCore::Start(content::ResourceContext*, net::URLRequestContextGetter*, storage::FileSystemContext*, content::ServiceWorkerNavigationHandleCore*, content::AppCacheNavigationHandleCore*, std::unique_ptr<content::NavigationRequestInfo, std::default_delete<content::NavigationRequestInfo> >, std::unique_ptr<content::NavigationUIData, std::default_delete<content::NavigationUIData> >) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #9  0x00007fffedafd160 in base::internal::Invoker<base::internal::BindState<void (content::NavigationURLLoaderImplCore::*)(content::ResourceContext*, net::URLRequestContextGetter*, storage::FileSystemContext*, content::ServiceWorkerNavigationHandleCore*, content::AppCacheNavigationHandleCore*, std::unique_ptr<content::NavigationRequestInfo, std::default_delete<content::NavigationRequestInfo> >, std::unique_ptr<content::NavigationUIData, std::default_delete<content::NavigationUIData> >), scoped_refptr<content::NavigationURLLoaderImplCore>, content::ResourceContext*, base::internal::UnretainedWrapper<net::URLRequestContextGetter>, base::internal::UnretainedWrapper<storage::FileSystemContext>, content::ServiceWorkerNavigationHandleCore*, content::AppCacheNavigationHandleCore*, base::internal::PassedWrapper<std::unique_ptr<content::NavigationRequestInfo, std::default_delete<content::NavigationRequestInfo> > >, base::internal::PassedWrapper<std::unique_ptr<content::NavigationUIData, std::default_delete<content::NavigationUIData> > > >, void ()>::RunOnce(base::internal::BindStateBase*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #10 0x00007fffee7a47e8 in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #11 0x00007fffee7c4eea in base::MessageLoop::RunTask(base::PendingTask*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #12 0x00007fffee7c598f in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #13 0x00007fffee7c5b28 in base::MessageLoop::DoWork() [clone .part.202] () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #14 0x00007fffee7c8542 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #15 0x00007fffee7e77cb in base::RunLoop::Run() () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #16 0x00007fffed8fd3fa in content::BrowserThreadImpl::IOThreadRun(base::RunLoop*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #17 0x00007fffed8fd8a7 in content::BrowserThreadImpl::Run(base::RunLoop*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #18 0x00007fffee808bf8 in base::Thread::ThreadMain() () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #19 0x00007fffee804511 in base::(anonymous namespace)::ThreadFunc(void*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
      #20 0x00007ffff511af2a in start_thread (arg=0x7fff7ffff700) at pthread_create.c:463
              pd = 0x7fff7ffff700
              now = <optimized out>
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140735340869376, -2672070067541426078, 140737488343086, 140737488343087, 140737488343248, 0, 2671788592052650082, 
                      2672055479116054626}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
              not_first_call = <optimized out>
      #21 0x00007ffff6524edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      The original bug report has two other versions of stacktrace, where the first frame indicates jump to some random and invalid address.

      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
              mandriver Dmitry Shachnev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes