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

QDate::fromString() memory leak in MacOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.2.1
    • Core: Date/Time
    • None
    • macos Monterey 12.2.1
    • macOS

    Description

      My MacOS application frequently uses the QDate::fromString("20220608","yyyyMMdd") function, and it is found that the memory leak is serious. So I try to write a simple example, calling QDate::fromString("20220608","yyyyMMdd") in a thread run(){while(1){...}}. Sure enough, this function is the problem, and the memory is always increasing

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Eddy Edward Welbourne
            zuoshul zuoshu li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes