Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Profile corruption when using QWebEnginePage together with WebEngineView

Profile corruption when using QWebEnginePage together with WebEngineView

Scheduled Pinned Locked Moved Unsolved QtWebEngine
qwebenginepagewebengineviewchromiumcorruption
1 Posts 1 Posters 534 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BogdanV
    wrote on 17 Oct 2019, 12:24 last edited by
    #1

    I have a desktop application at work that apparently uses both QWebEnginePage to generate a license agreement page as well as two WebEngineView qml components to display some banners in a launcher.

    Running the application in debug resulted in an instant crash with an unhandled exception seemingly originating from the Chromium backend. The output log is consistent with: https://bugreports.qt.io/browse/QTBUG-59244.
    Running with the debugger attached it seems that its possible to step over the error and execution continues seemingly unaffected.

    While investigating, I noticed that if I commented out the qml WebEngineView components, everything worked.
    Deleting the "default" profile in %CURRENTUSER%\AppData\Local<AppName>\QWebEngine seems to have fixed it. Unfortunately I can no longer replicate the issue since doing this.

    Now, investigating this bug was actually a detour from my original task as such I'm afraid I cannot dig deeper but I am curious to understand more about what might've happened.

    The only hypothesis I came up with is that the "default" profile is probably used by both the QWebEnginePage object and the WebEngineView component and this caused some sort of corruption in the profile.

    Does this sound likely?
    If yes, would creating a profile for the qml components and another profile for the QWebEnginePage object reduce the chances of profile corruption?

    These are more theoretical questions really because, like I said, I'm afraid I no longer have the time to dig further into this, especially since so far there haven't been other similar incidents reported.

    1 Reply Last reply
    0

    1/1

    17 Oct 2019, 12:24

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved