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

App crashes in Debug mode with a custom WebEngineProfile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.7.3
    • WebEngine
    • None
    • Windows

    Description

       

      WebEngineView {
          profile: WebEngineProfile {
              offTheRecord: false
              storageName: "myProfile"
              persistentCookiesPolicy: WebEngineProfile.ForcePersistentCookies
          }
      }
      
      
      WebEngineView {
          profile: WebEngineProfile {
              offTheRecord: false
              storageName: "myProfile"
              persistentCookiesPolicy: WebEngineProfile.ForcePersistentCookies
          }
      }
      
      

       

      build and run a sample app in Debug mode with the above code, it will crash and says:

       

      Task trace: QWebEnginePage::setUrlRequestInterceptor [0x00007FFD0C4F0F98+499221986]   [30044:36888:1029/024556.994:FATAL:(1263)] Check failed: !HistoryPathsTracker::GetInstance()->HasPath(history_dir_). There already is a HistoryBackend running using the file at: C:\Users\fristhon\AppData\Roaming\someApp\QtWebEngine\myProfile. Tests have to make sure that HistoryBackend destruction is complete using SetOnBackendDestroyTask() or other flush mechanisms before creating a new HistoryBackend that uses the same directory. QWebEnginePage::setUrlRequestInterceptor [0x00007FFD005E59C2+298897420]

       

      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
            spfl97 Dawn Walker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes