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

WebEngine FaviconManager ASSERTs when quickly calling setHtml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.9.0 Beta 2
    • 5.7.1, 5.8.0 RC
    • WebEngine
    • None
    • Linux Mint 17.3, 64 Bit
    • 6541025ebc76bafdcdb38da5c05708df14406396

    Description

      Running some tests for a different bug, I came across this:

      When setHtml is called often, in short intervals, providing a second parameter (const QUrl& baseUrl, I used QUrl("http://foo.bar")), FaviconManagerPrivate::storeIcon can ASSERT in Line 144

          // Icon download has been interrupted
          if (m_inProgressRequests.isEmpty())
              return;
      
          Q_ASSERT(m_inProgressRequests.contains(id));  <---- HERE
      

      In the debugger I have seen that m_inProgressRequests does contain the URL, just under a different id. Probably a race condition.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            viengelm Viktor Engelmann
            viengelm Viktor Engelmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes