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

[REG 5.14] debug assert "m_currentFindRequestId == requestId" when calling findText multiple times

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.14.0
    • 5.14.0 Beta2
    • WebEngine
    • 9d2521084dbec9403ab68ea5e95b8a77313af11f

    Description

      With a debug build, when I run findText multiple times without returning to the Qt eventloop (to jump to e.g. from match 1 to match 3), I get:

      ASSERT: "m_currentFindRequestId == requestId" in file ../find_text_helper.cpp, line 147
      

      Stack:

      #7 0x7f5f81674190 qt_message_fatal()
      #8 0x7f5f816707ce QMessageLogger::fatal()
      #9 0x7f5f81666fec qt_assert()
      #10 0x7f5f6d698579 QtWebEngineCore::FindTextHelper::handleFindReply()
      #11 0x7f5f6d771108 QtWebEngineCore::WebContentsDelegateQt::FindReply()
      #12 0x7f5f731fa859 content::WebContentsImpl::NotifyFindReply()
      #13 0x7f5f7264178c content::FindRequestManager::NotifyFindReply()
      #14 0x7f5f72641f76 content::FindRequestManager::FinalUpdateReceived()
      #15 0x7f5f72640780 content::FindRequestManager::HandleFinalUpdateForFrame()
      #16 0x7f5f7263e590 content::FindInPageClient::HandleUpdateType()
      #17 0x7f5f7263e489 content::FindInPageClient::SetNumberOfMatches()
      #18 0x7f5f6f367538 blink::mojom::FindInPageClientStubDispatch::Accept()
      #19 0x7f5f7263f48d blink::mojom::FindInPageClientStub<>::Accept()
      #20 0x7f5f74ebe411 mojo::InterfaceEndpointClient::HandleValidatedMessage()
      

      I don't have a Qt 5.14 debug build ready anymore at the moment (thanks to an ICU upgrade), but I can follow up with an example based on e.g. simplebrowser at a later point if needed.

      Attachments

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

        Activity

          People

            pvarga Peter Varga
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes