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

QPlatformTextureList leak when using QOpenGLWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0
    • 5.4.0, 5.4.1
    • GUI: OpenGL
    • None
    • Windows 8.1 x64, Qt 5.4.0
    • db52d55fba61abf295de9f8430f60890cde58ee7

    Description

      I noticed this when I created a simple dialog with a QOpenGLWidget that could be closed and re-opened anytime.
      Everytime I closed the dialog it wouldn't free all the memory it had initially allocated.

      So I decided to make a little test case here, which rapidly opens and closes such a dialog:
      http://pastebin.com/a83pNgHb

      Memory leak trace (see attachment) courtesy of a certain person on the IRC channel confirms it's not a system-specific thing.
      The leaked elements seem to be mostly QPlatformTextureList

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            ImQ009 Sławomir Błauciak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes