possible memory leaks in the OpenGL plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
High
|
Stephen M. Webb | ||
0.9.11 |
Triaged
|
High
|
Unassigned | ||
Trusty |
New
|
High
|
Unassigned | ||
compiz (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bug Description
It looks like that objects allocated inside GLWindow:
I'm using a plugin (compiz-cms) that uses both those methods and it leaks memory very fast:
==21530== 24,821,632 (10,638,048 direct, 14,183,584 indirect) bytes in 443,252 blocks are definitely lost in loss record 1,143 of 1,145
==21530== at 0x4A068F3: operator new(unsigned long) (in /usr/lib64/
==21530== by 0x6536B2C: GLVertexBuffer:
==21530== by 0xC351FFB: CmsWindow:
==21530== by 0x652F030: GLWindow:
==21530== 128,089,075 (10,638,072 direct, 117,451,003 indirect) bytes in 443,253 blocks are definitely lost in loss record 1,145 of 1,145
==21530== at 0x4A068F3: operator new(unsigned long) (in /usr/lib64/
==21530== by 0x653872D: GLWindow:
==21530== by 0xC351F8E: CmsWindow:
==21530== by 0x652F030: GLWindow:
Related branches
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 123 lines (+43/-10)5 files modifiedplugins/opengl/include/opengl/shadercache.h (+5/-0)
plugins/opengl/src/paint.cpp (+9/-0)
plugins/opengl/src/shadercache.cpp (+14/-5)
plugins/opengl/src/vertexbuffer.cpp (+12/-0)
plugins/opengl/src/window.cpp (+3/-5)
Changed in compiz (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in compiz: | |
status: | Triaged → In Progress |
assignee: | nobody → Stephen M. Webb (bregma) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Look like new without delete case bugs.
Thanks 4 the detailed report. +1
Do you have a patch fixing the leaks also ?