← Back to team overview

compiz team mailing list archive

[Bug 1097664] [NEW] GLShaderCache::priv [PrivateShaderCache] is leaked

 

Public bug reported:

GLShaderCache::priv [PrivateShaderCache] is leaked

==9349== 6,433 (72 direct, 6,361 indirect) bytes in 1 blocks are definitely lost in loss record 1,318 of 1,327
==9349==    at 0x4C2AF8E: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9349==    by 0xE01DD33: std::_Rb_tree<GLShaderParameters, std::pair<GLShaderParameters const, GLShaderData>, std::_Select1st<std::pair<GLShaderParameters const, GLShaderData> >, GLShaderParametersComparer, std::allocator<std::pair<GLShaderParameters const, GLShaderData> > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<GLShaderParameters const, GLShaderData> const&) (new_allocator.h:94)
==9349==    by 0xE01DEEF: std::_Rb_tree<GLShaderParameters, std::pair<GLShaderParameters const, GLShaderData>, std::_Select1st<std::pair<GLShaderParameters const, GLShaderData> >, GLShaderParametersComparer, std::allocator<std::pair<GLShaderParameters const, GLShaderData> > >::_M_insert_unique(std::pair<GLShaderParameters const, GLShaderData> const&) (stl_tree.h:1299)
==9349==    by 0xE01D87B: PrivateShaderCache::addShaderData(GLShaderParameters const&) (stl_map.h:523)
==9349==    by 0xE01DC3A: GLShaderCache::getShaderData(GLShaderParameters const&) (shadercache.cpp:111)
==9349==    by 0xE02642A: GLScreenAutoProgram::getProgram(GLShaderParameters&) (screen.cpp:293)
==9349==    by 0xE0137C6: PrivateVertexBuffer::render(GLMatrix const*, GLMatrix const*, GLWindowPaintAttrib const*) (vertexbuffer.cpp:445)
==9349==    by 0x1222A572: SwitchWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) (switcher.cpp:1029)
==9349==    by 0xE0114CC: GLWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) (paint.cpp:1340)
==9349==    by 0x1222ABD7: SwitchScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) (switcher.cpp:821)
==9349==    by 0xE0120DD: GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) (paint.cpp:617)
==9349==    by 0xE021A6A: PrivateGLScreen::paintOutputs(std::list<CompOutput*, std::allocator<CompOutput*> >&, unsigned int, CompRegion const&) (screen.cpp:2038)
==9349==

** Affects: compiz
     Importance: Medium
     Assignee: Daniel van Vugt (vanvugt)
         Status: In Progress

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

** Affects: compiz (Ubuntu)
     Importance: Medium
     Assignee: Daniel van Vugt (vanvugt)
         Status: Triaged


** Tags: leak

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

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

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

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

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

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

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

** Changed in: compiz (Ubuntu)
     Assignee: (unassigned) => Daniel van Vugt (vanvugt)

** Changed in: compiz
       Status: Triaged => In Progress

-- 
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/1097664

Title:
  GLShaderCache::priv [PrivateShaderCache] is leaked

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


Follow ups

References