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

Crash in QtWebEngineCore::BrowserContextAdapter::browserContext()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.1
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:

      Description

      Since 5.9.0, QWebEngine crashes on aarch64. The (sadly incomplete) backtrace is

       

       #0  0x0000ffffb1903348 in QtWebEngineCore::BrowserContextAdapter::browserContext() () from /usr/lib/libQt5WebEngineCore.so.5
       #1  0x0000ffffb194fbc0 in QtWebEngineCore::WebContentsAdapter::initialize(QtWebEngineCore::WebContentsAdapterClient*) () from /usr/lib/libQt5WebEngineCore.so.5
       #2  0x000000000040856c in ?? ()
       #3  0x0000000000407558 in ?? ()
       #4  0x0000000000407edc in ?? ()
       #5  0x0000000000406458 in ?? ()
       #6  0x0000ffffb6c75564 in __libc_start_main () from /lib/libc.so.6
       #7  0x0000000000406858 in ?? () 

      This is caused by the following snippet:

       

       

      QWebEngineView *view = new QWebEngineView(...);
      QWebEnginePage *page = new QWebEnginePage(QWebEngineProfile::defaultProfile(), view);
      

       

       This used to work fine on Qt 5.8.0 but doesn't anymore with Qt 5.9.0.

       

        Attachments

        1. Patch.diff
          5 kB
        2. qtbug61200.patch
          0.7 kB
        For Gerrit Dashboard: QTBUG-61200
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              naniel naniel
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes