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

iOS enormous leak ends with "Terminated due to memory issue"

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 83fb8fe208ec816df7d04c8247d5696d95f2cab1 (qt/qtbase/dev) ae1869ab63dd37f2f971c4b29100fdd2b1bd2272 (qt/qtbase/6.1) b130d16a27399497739a56bd1a5a824a6a5885b1 (qt/qtbase/6.0) c0d3c9e0240e314b835c6585e26ad9b3bf21604d (qt/tqtc-qtbase/5.15)

    Description

      Qt 6.0.1 has a very large and serious leak that appears to be related to visual refreshes.

      Simple repro:

      1. Take calculator sample (calqlatr)
      2. Modify app QML with a Timer that changes the background color (if you don't want to modify it, simply tapping on the app reproduces the issue)
      3. Run and view memory usage in Xcode
      4. You will see memory use around 500K a second
      5. The app will be terminated once it hits 1.5G (after around 20 minutes)

      The app was built and run Retail. The issue also occurs with the phone isn't being run with Xcode. I have been unable to reproduce on Windows or Android.

      Screen shots and video (animated GIF) attached showing the severity of the problem.

      This problem makes Qt 6.0.1 iOS unusable.

      Attachments

        1. 20210227_174733.gif
          20210227_174733.gif
          2.83 MB
        2. 20210227_180156.jpg
          20210227_180156.jpg
          209 kB
        3. 20210227_181155.jpg
          20210227_181155.jpg
          144 kB
        4. calqlatr-repro.zip
          82 kB
        5. Screen Shot 2021-03-01 at 12.03.28 PM.png
          Screen Shot 2021-03-01 at 12.03.28 PM.png
          640 kB
        6. Screen Shot 2021-03-01 at 12.08.38 PM.png
          Screen Shot 2021-03-01 at 12.08.38 PM.png
          720 kB

        Activity

          People

            lagocs Laszlo Agocs
            obsess Nicolas Sterling
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: