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

[REG 6.2.2 -> 6.2.3] Loading particular svg file takes far too long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.2.9, 6.5.1, 6.6.0
    • 6.2.3, 6.4.0, 6.6
    • SVG Support
    • Ubuntu 20.04 LTS
      g++ 9.4.0
      clang 10.0.0
    • d130c74f4 (dev), c4f0404dc (tqtc/lts-6.2), 257079649 (6.5)

      1. Have a build of Qt including qtsvg.
        No sanitizers needed.
      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/56011.svg
        

        This is completely occupying a full CPU for more than two minutes.

      Google's oss-fuzz found this as issue 56011. They will publish the details on May 16th. You can find a backtrace in their detailed report.

        1. 56011.svg
          75 kB
        2. CMakeLists.txt
          0.3 kB
        3. details.html
          2.07 MB
        4. main.cpp
          0.2 kB
        For Gerrit Dashboard: QTBUG-111850
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes