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

Memory Leak with QPinter.drawText() in QThread

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 4.8.4, 4.8.5
    • Fix Version/s: None
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Windows 7/10
      Visual studio 2010
      Qt 4.8.4/4.8.5 Win32
    • Platform/s:
      Windows

      Description

      Hi. We are building a large software with Qt 4.8.4_Win32 + Visual Stuido 2010. Few months ago, we found continue memory usage rising when we use QPainter.drawText() in QThread. Then we made a program(as attachment) and make sure there is a memory leak. Here is screen print. We tried 4.8.4 and 4.8.5 and result is the same. Thanks for helping us.

       

        Attachments

        1. memleak.zip
          13 kB
        2. memleakCode-main.png
          memleakCode-main.png
          159 kB
        3. memleak-drawText.png
          memleak-drawText.png
          219 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            ncmeme MieMie Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes