Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.14.0
-
None
-
Linux i7-2720QM 5.4.5-arch1-1 #1 SMP PREEMPT Wed, 18 Dec 2019 19:48:51 +0000 x86_64 GNU/Linux
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.