← Back to team overview

desktop-packages team mailing list archive

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

 

** Changed in: compiz/0.9.8
       Status: Triaged => Won't Fix

** Changed in: compiz/0.9.8
    Milestone: 0.9.8.8 => None

-- 
You received this bug notification because you are a member of Desktop
Packages, 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()

Status in Compiz:
  Fix Released
Status in Compiz 0.9.8 series:
  Won't Fix
Status in “compiz” package in Ubuntu:
  Fix Released

Bug description:
  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==

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