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

[REG 6.2.2 -> 6.2.3] Trying to render particular svg file takes much longer than before

    XMLWordPrintable

Details

    • 5c9457dbd (6.6), 9bbcb7079 (tqtc/lts-6.5), 418e3b417 (tqtc/lts-6.2)

    Description

      1. Have a build of Qt including qtsvg.
        No sanitizers needed. I used official builds from the online installer.
      2. Build the attached project:
        qt-cmake /tmp/report/ && cmake --build .
        
      3. Run the resulting binary passing the attached input file as parameter:
        ./report /tmp/report/63194.svg
        

        This is occupying a CPU core for more than ten seconds.

      When built on Qt 6.2.2, the same program finishes in about one second.

      Google's oss-fuzz found this as issue 63194. I can still reproduce the issue, although the report was closed. Maybe this happened because the situation was even worse in the meantime. With Qt 6.2.3, the program runs for several minutes.

      Attachments

        1. 63194.svg
          30 kB
        2. CMakeLists.txt
          0.4 kB
        3. main.cpp
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hatemelkharashy Hatem ElKharashy
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes