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

QTextDocument::setHtml slow on certain input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.2, 5.15.0
    • GUI: Text handling
    • Ubuntu 18.04 LTS 64 bit
      g++ 7.5.0
      Qt 5.15.0, release build

    Description

      1. Build the attached project.
      2. Pass the attached HTML file to the resulting program:
        ./report input.html
        

        It will take more than a minute to run through the file whereas Firefox opens it instantly.

      Google's oss-fuzz found this as issue 21810.

      Attachments

        1. input.html
          74 kB
          Robert Löhning
        2. main.cpp
          0.2 kB
          Robert Löhning
        3. report.pro
          0.0 kB
          Robert Löhning

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: