Memory leak in dlloaderListPlugins

Bug #968985 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz Core
Fix Released
Medium
Alan Griffiths

Bug Description

==27972== 1,288 (320 direct, 968 indirect) bytes in 1 blocks are definitely lost in loss record 107 of 122
==27972== at 0x4C29097: realloc (vg_replace_malloc.c:525)
==27972== by 0x56B160E: scandir (scandir.c:108)
==27972== by 0x4EA2C0D: dlloaderListPlugins(char const*) (plugin.cpp:257)
==27972== by 0x4EA331C: CompPlugin::availablePlugins() (plugin.cpp:552)
==27972== by 0x4E74B6F: compiz::private_screen::PluginManager::mergedPluginList() (screen.cpp:899)
==27972== by 0x4E75489: compiz::private_screen::PluginManager::updatePlugins() (screen.cpp:959)
==27972== by 0x40358F: CompManager::init() (main.cpp:173)
==27972== by 0x402988: main (main.cpp:234)
==27972==
==27972== 1,288 (320 direct, 968 indirect) bytes in 1 blocks are definitely lost in loss record 108 of 122
==27972== at 0x4C29097: realloc (vg_replace_malloc.c:525)
==27972== by 0x56B160E: scandir (scandir.c:108)
==27972== by 0x4EA2C0D: dlloaderListPlugins(char const*) (plugin.cpp:257)
==27972== by 0x4EA331C: CompPlugin::availablePlugins() (plugin.cpp:552)
==27972== by 0x4E74B6F: compiz::private_screen::PluginManager::mergedPluginList() (screen.cpp:899)
==27972== by 0x4E75489: compiz::private_screen::PluginManager::updatePlugins() (screen.cpp:959)
==27972== by 0x4E75EF3: PrivateScreen::processEvents() (screen.cpp:783)
==27972== by 0x4EA7FF6: CompEventSource::callback() (eventsource.cpp:63)
==27972== by 0x69809DE: Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) (in /usr/lib/libglibmm-2.4.so.1.3.0)
==27972== by 0x6DECA5C: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==27972== by 0x6DED257: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==27972== by 0x6DED791: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)

Related branches

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Medium priority because this will only leak 2 blocks and then no more, unless you fiddle with CCSM.

Changed in compiz-core:
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
assignee: Daniel van Vugt (vanvugt) → Alan Griffiths (alan-griffiths)
Changed in compiz-core:
milestone: 0.9.7.6 → 0.9.7.4
Changed in compiz-core:
milestone: 0.9.7.4 → 0.9.7.6
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz-core at revision 3082

Changed in compiz-core:
status: In Progress → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix released in Compiz core 0.9.7.6

Changed in compiz-core:
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.