GLShaderCache::priv [PrivateShaderCache] is leaked

Bug #1097664 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Medium
Daniel van Vugt
0.9.8
Won't Fix
Medium
Unassigned
compiz (Ubuntu)
Fix Released
Medium
Daniel van Vugt

Bug Description

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==

Tags: leak

Related branches

Changed in compiz (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in compiz:
status: Triaged → In Progress
Changed in compiz:
status: In Progress → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz at revision 3552, scheduled for release in Compiz 0.9.9.0

Changed in compiz (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.9~daily13.01.14-0ubuntu1

---------------
compiz (1:0.9.9~daily13.01.14-0ubuntu1) raring; urgency=low

  [ sampo555 ]
  * compiz crashed with SIGSEGV in DodgeAnim::applyDodgeTransform() (LP:
    #1048840)
  * compiz crashing if window un-/minimize animation is "Random" (LP:
    #1098185)

  [ Daniel van Vugt ]
  * Several leaks in new GLProgram from compileProgram() from
    GLScreen::getProgram() from GLWindowAutoProgram::getProgram() (LP:
    #1097644)

  [ Sam Spilsbury ]
  * Several leaks in ccsIntegratedSettingListAppend() ... from
    ccsGNOMEIntegrationBackendGetIntegratedSetting() from readSetting
    (gsettings.c:375) (LP: #1097661)

  [ MC Return ]
  * Thumbnail Window Previews: Flickering of background/glow and window
    title text (LP: #1098758)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 3561
 -- Automatic PS uploader <email address hidden> Mon, 14 Jan 2013 04:03:09 +0000

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.