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

Unknown OpenGL-related memory leak (probably texture object handles)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Linux i7-2720QM 5.4.5-arch1-1 #1 SMP PREEMPT Wed, 18 Dec 2019 19:48:51 +0000 x86_64 GNU/Linux
    • Platform/s:
      Linux/X11

      Description

      There's a memory leak that I have been watching since 5.13. I don't know where it exactly is, since I don't have a debug version of Qt. But I think it's related to deleting texture object handles (uints). Here's a libasan trace:

       

      Direct leak of 93056 byte(s) in 2908 object(s) allocated from:
      {{ #0 0x7f09317698f8 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cc:104}}
      {{ #1 0x7f09310016fa (/usr/lib/libQt5Gui.so.5+0x47e6fa)}}

       

      To recreate the bug, clone https://github.com/user1095108/quickquake

       

      qmake CONFIG+=debug and run gui/gui.

       

       

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            janezzabc Janez Žemva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes