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

QGLFramebufferObject object pool is NOT correctly implemented, causes memory leaking/continuously growing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 4.8.4
    • GUI: OpenGL
    • None
    • This situation occurs when compiling QtWebKit 5.0 on the Qt-4.8.x platform.

    Description

      When upper app client asks for a fbo with QGLFramebufferObjectFormat samples=4
      But the under graphics driver may not support this value,
      So it change the samples to 0, and return the fbo

      But when the fbo is released back into pool(#see QGLFramebufferObjectPool::release)
      And next asked for the recycled fbo, it never matches
      So a new fbo is created! ...

      This will cause memory continuously growing

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            chenzx Chen Zhixiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes