← Back to team overview

compiz team mailing list archive

[Bug 1097644] [NEW] Several leaks in new GLProgram from compileProgram() from GLScreen::getProgram() from GLWindowAutoProgram::getProgram()

 

Public bug reported:

Reviewing the code, this one looks real...

==9349== 16 (8 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 381 of 1,327
==9349==    at 0x4C2AF8E: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9349==    by 0xE017BC1: GLProgramCache::operator()(std::list<GLShaderData const*, std::allocator<GLShaderData const*> >) (programcache.cpp:87)
==9349==    by 0xE0238FA: GLScreen::getProgram(std::list<GLShaderData const*, std::allocator<GLShaderData const*> >) (screen.cpp:1780)
==9349==    by 0xE01FC69: GLWindowAutoProgram::getProgram(GLShaderParameters&) (window.cpp:68)
==9349==    by 0xE0137C6: PrivateVertexBuffer::render(GLMatrix const*, GLMatrix const*, GLWindowPaintAttrib const*) (vertexbuffer.cpp:445)
==9349==    by 0xE010B81: GLWindow::glDrawTexture(GLTexture*, GLMatrix const&, GLWindowPaintAttrib const&, unsigned int) (paint.cpp:1271)
==9349==    by 0xE010AD6: GLWindow::glDrawTexture(GLTexture*, GLMatrix const&, GLWindowPaintAttrib const&, unsigned int) (paint.cpp:1247)
==9349==    by 0xE0112F4: GLWindow::glDraw(GLMatrix const&, GLWindowPaintAttrib const&, CompRegion const&, unsigned int) (paint.cpp:1328)
==9349==    by 0xE011136: GLWindow::glDraw(GLMatrix const&, GLWindowPaintAttrib const&, CompRegion const&, unsigned int) (paint.cpp:1287)
==9349==    by 0x11B9FF5C: PrivateCubeWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) (cube.cpp:1526)
==9349==    by 0xE0114CC: GLWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) (paint.cpp:1340)
==9349==    by 0xE0118A2: PrivateGLScreen::paintOutputRegion(GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) (paint.cpp:449)
==9349==

** Affects: compiz
     Importance: Medium
         Status: Triaged

** Affects: compiz/0.9.8
     Importance: Medium
         Status: Triaged

** Affects: compiz (Ubuntu)
     Importance: Medium
         Status: Triaged


** Tags: leak

** Tags added: leak

** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: compiz (Ubuntu)
       Status: New => Triaged

** Changed in: compiz (Ubuntu)
   Importance: Undecided => High

** Also affects: compiz/0.9.8
   Importance: Undecided
       Status: New

** Changed in: compiz/0.9.8
       Status: New => Triaged

** Changed in: compiz
   Importance: High => Medium

** Changed in: compiz/0.9.8
   Importance: Undecided => Medium

** Changed in: compiz (Ubuntu)
   Importance: High => Medium

** Summary changed:

- Memory leak in new GLProgram from compileProgram() from GLScreen::getProgram() from GLWindowAutoProgram::getProgram() from PrivateVertexBuffer::render()
+ Memory leak in new GLProgram from compileProgram() from GLScreen::getProgram() from GLWindowAutoProgram::getProgram()

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1097644

Title:
  Several leaks in new GLProgram from compileProgram() from
  GLScreen::getProgram() from GLWindowAutoProgram::getProgram()

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1097644/+subscriptions


Follow ups

References