Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.7.3
-
None
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]