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

Crash in QtWebEngineCore::BrowserContextAdapter::browserContext()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.1
    • 5.9.0
    • WebEngine
    • None

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: