[Bug 65859] Re: drivemount_appl is memory hungry

Sebastien Bacher seb128 at ubuntu.com
Tue Oct 31 11:14:29 UTC 2006


from valgrind:

==21065== 10 bytes in 1 blocks are definitely lost in loss record 10 of 188
==21065==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==21065==    by 0x45DACE5: g_malloc (gmem.c:131)
==21065==    by 0x4C1011F: ORBit_alloc_string (allocators.c:228)
==21065==    by 0x4C0FDE8: CORBA_string_dup (corba-string.c:22)
==21065==    by 0x47F0731: bonobo_control_window_id_from_x11 (in /usr/lib/libbonoboui-2.so.0.0.0)
==21065==    by 0x47F0E7A: (within /usr/lib/libbonoboui-2.so.0.0.0)
==21065==    by 0x4BB0B70: _ORBIT_skel_small_Bonobo_Control_getWindowId (in /usr/lib/libbonobo-2.so.0.0.0)
==21065==    by 0x4C18B06: ORBit_POAObject_invoke (poa.c:1142)
==21065==    by 0x4C1EC74: ORBit_OAObject_invoke (orbit-adaptor.c:336)
==21065==    by 0x4C0BDBB: ORBit_small_invoke_adaptor (orbit-small.c:835)
==21065==    by 0x4C1C915: ORBit_POAObject_handle_request (poa.c:1351)
==21065==    by 0x4C1CFC1: ORBit_POAObject_invoke_incoming_request (poa.c:1421)
==21065== 
==21065== 
==21065== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 53 of 188
==21065==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==21065==    by 0x472B577: (within /lib/tls/i686/cmov/libc-2.4.so)
==21065==    by 0x472BC76: __nss_database_lookup (in /lib/tls/i686/cmov/libc-2.4.so)
==21065==    by 0x510A14B: ???
==21065==    by 0x510B685: ???
==21065==    by 0x46DAC92: getpwnam_r (in /lib/tls/i686/cmov/libc-2.4.so)
==21065==    by 0x45FB305: g_get_any_init_do (gutils.c:1704)
==21065==    by 0x45FC578: g_get_user_name (gutils.c:1867)
==21065==    by 0x406A316: gnome_client_instance_init (gnome-client.c:1378)
==21065==    by 0x4597899: g_type_create_instance (gtype.c:1567)
==21065==    by 0x457E951: g_object_constructor (gobject.c:1041)
==21065==    by 0x457CBDA: g_object_newv (gobject.c:937)
==21065== 
==21065== 
==21065== 131 bytes in 8 blocks are possibly lost in loss record 89 of 188
==21065==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==21065==    by 0x45DACE5: g_malloc (gmem.c:131)
==21065==    by 0x4C1011F: ORBit_alloc_string (allocators.c:228)
==21065==    by 0x4C0FDE8: CORBA_string_dup (corba-string.c:22)
==21065==    by 0x4BE4BCA: Bonobo_ActivationEnvValue_set (in /usr/lib/libbonobo-activation.so.4.0.0)
==21065==    by 0x4BE2857: bonobo_activation_init_activation_env (in /usr/lib/libbonobo-activation.so.4.0.0)
==21065==    by 0x4BE69C3: bonobo_activation_orb_init (in /usr/lib/libbonobo-activation.so.4.0.0)
==21065==    by 0x40DC102: (within /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x40D6963: gnome_program_postinit (in /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x40D6D84: (within /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x40D7098: gnome_program_init (in /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x804BBB9: main (drivemount.c:207)
==21065== 
==21065== 
==21065== 136 bytes in 1 blocks are possibly lost in loss record 90 of 188
==21065==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==21065==    by 0x400FA87: (within /lib/ld-2.4.so)
==21065==    by 0x400FB4B: _dl_allocate_tls (in /lib/ld-2.4.so)
==21065==    by 0x463FB68: pthread_create@@GLIBC_2.1 (in /lib/tls/i686/cmov/libpthread-2.4.so)
==21065==    by 0x451DA92: mount_unmount_operation (gnome-vfs-volume-ops.c:882)
==21065==    by 0x451F327: gnome_vfs_volume_eject (gnome-vfs-volume-ops.c:1111)
==21065==    by 0x451F659: gnome_vfs_drive_eject (gnome-vfs-volume-ops.c:1256)
==21065==    by 0x804EAFC: eject_drive (drive-button.c:781)
==21065==    by 0x4584B28: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==21065==    by 0x457779A: g_closure_invoke (gclosure.c:490)
==21065==    by 0x4587B92: signal_emit_unlocked_R (gsignal.c:2440)
==21065==    by 0x45890B6: g_signal_emit_valist (gsignal.c:2199)
==21065== 
==21065== 
==21065== 2,040 bytes in 1 blocks are definitely lost in loss record 150 of 188
==21065==    at 0x40206D5: calloc (vg_replace_malloc.c:279)
==21065==    by 0x45DAC4D: g_malloc0 (gmem.c:150)
==21065==    by 0x45EA7AE: g_slice_alloc (gslice.c:407)
==21065==    by 0x45C6F18: g_hash_table_new_full (ghash.c:139)
==21065==    by 0x45C6F97: g_hash_table_new (ghash.c:110)
==21065==    by 0x45C08C5: g_quark_from_static_string (gdataset.c:685)
==21065==    by 0x459010A: g_type_init_with_debug_flags (gtype.c:3402)
==21065==    by 0x45902E1: g_type_init (gtype.c:3473)
==21065==    by 0x40D705A: gnome_program_init (in /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x804BBB9: main (drivemount.c:207)
==21065== 
==21065== 
==21065== 99,088 bytes in 94 blocks are possibly lost in loss record 183 of 188
==21065==    at 0x4020596: memalign (vg_replace_malloc.c:332)
==21065==    by 0x40205F0: posix_memalign (vg_replace_malloc.c:386)
==21065==    by 0x45E9F38: slab_allocator_alloc_chunk (gslice.c:1065)
==21065==    by 0x45EA973: g_slice_alloc (gslice.c:614)
==21065==    by 0x45EAAC4: g_slice_alloc0 (gslice.c:784)
==21065==    by 0x4597469: g_type_create_instance (gtype.c:1547)
==21065==    by 0x458008D: g_param_spec_internal (gparam.c:311)
==21065==    by 0x45826A7: g_param_spec_int (gparamspecs.c:1564)
==21065==    by 0x40D7555: (within /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x4596C70: g_type_class_ref (gtype.c:1872)
==21065==    by 0x40D6BDF: (within /usr/lib/libgnome-2.so.0.1600.0)
==21065==    by 0x40D7098: gnome_program_init (in /usr/lib/libgnome-2.so.0.1600.0)

-- 
drivemount_appl is memory hungry
https://launchpad.net/bugs/65859




More information about the desktop-bugs mailing list