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. Application freeze when displaying a page in QtWebEngine
Forum Updated to NodeBB v4.3 + New Features

Application freeze when displaying a page in QtWebEngine

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 2 Posters 141 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.
  • E Offline
    E Offline
    Ekia
    wrote last edited by
    #1

    Hi everyone,

    I'm working on a Qt desktop C++ application, based on Qt 5.15.2 (which I know is very old, it will move to Qt 6.8 in a couple of months). I'm facing an issue in Windows with several customers reporting a freeze at application start, as soon as we try to display a web page in the internal web browser. This freeze is not systematic and appears ~50% of the time. Of course, I tried to reproduce it on several Windows machines with no luck so far (else it would have been too simple :P).

    I'd like to know if you'd have some recommendations about how to investigate this case more in depth, especially in this complicated context where I don't have access to a machine to reproduce the issue. Any information about known issues (like linked to graphic drivers and/or OS updates) would also be very appreciated.

    Thanks in advance.

    PS: I put it as a side note, as I'm not sure yet whether it is linked, but I've seen logs like this ones on some of the impacted machines: "Qt internal: Release of profile requested but WebEnginePage still not deleted. Expect troubles !". Do you think that it could be linked to that, with potentially "corrupted" temporary files being read again when starting the app?

    JonBJ 1 Reply Last reply
    0
    • E Ekia

      Hi everyone,

      I'm working on a Qt desktop C++ application, based on Qt 5.15.2 (which I know is very old, it will move to Qt 6.8 in a couple of months). I'm facing an issue in Windows with several customers reporting a freeze at application start, as soon as we try to display a web page in the internal web browser. This freeze is not systematic and appears ~50% of the time. Of course, I tried to reproduce it on several Windows machines with no luck so far (else it would have been too simple :P).

      I'd like to know if you'd have some recommendations about how to investigate this case more in depth, especially in this complicated context where I don't have access to a machine to reproduce the issue. Any information about known issues (like linked to graphic drivers and/or OS updates) would also be very appreciated.

      Thanks in advance.

      PS: I put it as a side note, as I'm not sure yet whether it is linked, but I've seen logs like this ones on some of the impacted machines: "Qt internal: Release of profile requested but WebEnginePage still not deleted. Expect troubles !". Do you think that it could be linked to that, with potentially "corrupted" temporary files being read again when starting the app?

      JonBJ Online
      JonBJ Online
      JonB
      wrote last edited by
      #2

      @Ekia
      When it "freezes" for someone else, have you asked them to verify that they can successfully visit the particular web page in Chrome quite outside of your Qt application/QtWebEngine?

      For the "Qt internal", at least read https://forum.qt.io/topic/110568/qwebengine-not-cleaning-up-chromium-processes-and-get-a-warning

      1 Reply Last reply
      1
      • E Offline
        E Offline
        Ekia
        wrote last edited by
        #3

        Hi @JonB ,

        Yes, I confirm that they can access this particular web page using an external web browser.

        Thanks a lot for the link to the post regarding the profile, I'll check it (note that I already know we are not properly handling the lifecycle of some of our objects, so I'm pretty confident that we'll be able to fix the issue leading to this message... even if I don't know whether it could be the root cause of the freeze).

        1 Reply Last reply
        0

        • Login

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