Several memory leaks in g_signal_new() ... from ccsGSettingsWrapperNewForSchema() [ccs_gsettings_interface_wrapper.c:184] from initBackend() [gsettings.c:468]

Bug #1102822 reported by Daniel van Vugt on 2013-01-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Medium
Daniel van Vugt
compiz (Ubuntu)
Medium
Daniel van Vugt

Bug Description

Several memory leaks in g_object_new() from ccsGSettingsWrapperNewForSchema() [ccs_gsettings_interface_wrapper.c:184] from initBackend() [gsettings.c:468]

Looks like bug 1097649 was not fixed properly...

==684== 64 bytes in 1 blocks are possibly lost in loss record 903 of 1,490
==684== at 0x4C29E46: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==684== by 0x6E32738: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==684== by 0x7E210E4: g_closure_new_simple (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E227BD: g_signal_type_cclosure_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E37027: g_signal_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E26A88: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E40925: g_type_class_ref (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E405BE: g_type_class_ref (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E28ECC: g_object_new_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E29373: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB1E34F8: ccsGSettingsWrapperNewForSchema (ccs_gsettings_interface_wrapper.c:184)
==684== by 0xAFCF71F: initBackend (gsettings.c:468)
==684==
==684== 64 bytes in 1 blocks are possibly lost in loss record 904 of 1,490
==684== at 0x4C29E46: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==684== by 0x6E32738: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==684== by 0x7E210E4: g_closure_new_simple (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E227BD: g_signal_type_cclosure_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E37027: g_signal_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB493226: ??? (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1)
==684== by 0x7E40925: g_type_class_ref (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E28ECC: g_object_new_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E29373: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB1E34F8: ccsGSettingsWrapperNewForSchema (ccs_gsettings_interface_wrapper.c:184)
==684== by 0xAFCF71F: initBackend (gsettings.c:468)
==684== by 0xA316D4A: ccsSetBackendDefault (main.c:1268)
==684==
==684== 64 bytes in 1 blocks are possibly lost in loss record 905 of 1,490
==684== at 0x4C29E46: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==684== by 0x6E32738: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==684== by 0x7E210E4: g_closure_new_simple (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E227BD: g_signal_type_cclosure_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E37027: g_signal_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB493284: ??? (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1)
==684== by 0x7E40925: g_type_class_ref (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E28ECC: g_object_new_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E29373: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB1E34F8: ccsGSettingsWrapperNewForSchema (ccs_gsettings_interface_wrapper.c:184)
==684== by 0xAFCF71F: initBackend (gsettings.c:468)
==684== by 0xA316D4A: ccsSetBackendDefault (main.c:1268)
==684==
==684== 64 bytes in 1 blocks are possibly lost in loss record 906 of 1,490
==684== at 0x4C29E46: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==684== by 0x6E32738: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==684== by 0x7E210E4: g_closure_new_simple (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E227BD: g_signal_type_cclosure_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E37027: g_signal_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB4932CE: ??? (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1)
==684== by 0x7E40925: g_type_class_ref (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E28ECC: g_object_new_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E29373: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB1E34F8: ccsGSettingsWrapperNewForSchema (ccs_gsettings_interface_wrapper.c:184)
==684== by 0xAFCF71F: initBackend (gsettings.c:468)
==684== by 0xA316D4A: ccsSetBackendDefault (main.c:1268)
==684==
==684== 64 bytes in 1 blocks are possibly lost in loss record 907 of 1,490
==684== at 0x4C29E46: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==684== by 0x6E32738: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==684== by 0x7E210E4: g_closure_new_simple (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E227BD: g_signal_type_cclosure_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E37027: g_signal_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB49331C: ??? (in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3400.1)
==684== by 0x7E40925: g_type_class_ref (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E28ECC: g_object_new_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0x7E29373: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3400.1)
==684== by 0xB1E34F8: ccsGSettingsWrapperNewForSchema (ccs_gsettings_interface_wrapper.c:184)
==684== by 0xAFCF71F: initBackend (gsettings.c:468)
==684== by 0xA316D4A: ccsSetBackendDefault (main.c:1268)
==684==

Related branches

Changed in compiz (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in compiz:
milestone: none → 0.9.9.0
Changed in compiz:
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in compiz (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in compiz:
status: Triaged → In Progress
Changed in compiz (Ubuntu):
status: Triaged → In Progress
summary: - Several memory leaks in g_object_new() from
+ Several memory leaks in g_signal_new() ... from
ccsGSettingsWrapperNewForSchema()
[ccs_gsettings_interface_wrapper.c:184] from initBackend()
[gsettings.c:468]
description: updated
Changed in compiz:
status: In Progress → Fix Committed
Daniel van Vugt (vanvugt) wrote :

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

Changed in compiz (Ubuntu):
status: In Progress → Fix Committed
Changed in compiz:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

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

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

  [ Didier Roche ]
  * Really take default patched hsize and vsize and don't override them
    to fix (LP: #868423)

  [ sampo555 ]
  * [regression] Window resize granularity is lost when restored after
    using Grid (LP: #925867)
  * Window management - Restoring a grid-placed window by dragging the
    title bar downwards does not restore the original window width (LP:
    #878516)

  [ Daniel van Vugt ]
  * Several memory leaks in
    google::protobuf::DescriptorPool::InternalAddGeneratedFile() from
    google::protobuf::protobuf_AddDesc_*() (LP: #1102829)
  * Several leaks in g_settings_new() [g_object_new()] from
    ccsGSettingsNewNoPath() [ccs_gsettings_interface_wrapper.c:184] (LP:
    #1097649)
  * Several memory leaks in g_signal_new() ... from
    ccsGSettingsWrapperNewForSchema()
    [ccs_gsettings_interface_wrapper.c:184] from initBackend()
    [gsettings.c:468] (LP: #1102822)

  [ Sam Spilsbury ]
  * Several memory leaks in strdup() from
    ccsGSettingsIntegratedSettingReadValue() from
    ccsGNOMEIntegrationBackendReadISAndSetSettingForType() from
    ccsGNOMEIntegrationBackendReadOptionIntoSetting() (LP: #1100564)

  [ MC Return ]
  * Coverity MISSING_BREAK - CID 12468 (LP: #1101430)
  * Coverity MISSING_BREAK - CID 12466 (LP: #1101558)
  * Coverity MISSING_BREAK - CID 12467 (LP: #1101465)
  * Showmouse plugin: Possible values of the particle life setting can
    destroy the plugin's functionality (LP: #1098877)
  * Coverity MISSING_BREAK - CID 12465 (LP: #1101557)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 3582
 -- Automatic PS uploader <email address hidden> Fri, 25 Jan 2013 04:03:43 +0000

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

Other bug subscribers