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

Loading particular svg file takes too long

    XMLWordPrintable

Details

    • 500e99e97 (dev), df6474955 (dev), c77e7a94d (6.6), 5f9f306be (6.6), 3126d16d3 (6.6.0), 26a970e69 (6.6.0), b252df45f (6.5), 20f925553 (6.5), 5fb694a67 (tqtc/lts-6.2), fc2647198 (tqtc/lts-6.2), e7936b064 (dev)

    Description

      1. Have a build of Qt including qtsvg.
        No sanitizers needed.
      2. Build the attached project:
        qt-cmake /tmp/report/ && cmake --build .
        

        It's the same project that was used in QTBUG-111850. The fix for that one does not fix this issue.

      3. Run the resulting binary passing the attached input file as parameter:
        ./report /tmp/report/58213.svg
        

        This is completely occupying a full CPU core for 13 (developer build) or even 20 seconds (release build with ASAN).

      Google's oss-fuzz found this as issue 58213. They will publish the details 90 days from now, the latest. You can find a backtrace in their detailed report.

      Attachments

        1. 58213.svg
          4 kB
        2. CMakeLists.txt
          0.3 kB
        3. details.html
          1.83 MB
        4. main.cpp
          0.2 kB
        5. simplified.svg
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews