Bug#514867: nautilus

Aliel Aliel1 at ya.ru
Thu Feb 12 20:38:47 UTC 2009



> Le jeudi 12 février 2009 à 12:43 +0300, Aliel a écrit :
> > After start gdm nautilus uses approximately 5mb RAM,
> > but after browse my files (jpg, ogg, odt, pdf, etc)
> > a few directories, nautilus use 30-40mb RAM sometimes anymore.
> 
> Do you have more concrete data, such as a valgrind trace showing memory
> leaks?
> -- 
>  .''`.
> : :' : We are debian.org. Lower your prices, surrender your code.
> `. `' We will add your hardware and software distinctiveness to
>  `- our own. Resistance is futile.


if i undestant write you  )


:~$ valgrind --leak-check=full nautilus
==17912== Memcheck, a memory error detector.
==17912== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==17912== Using LibVEX rev 1854, a library for dynamic binary translation.
==17912== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==17912== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==17912== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==17912== For more details, rerun with: -v
==17912== 
==17912== Source and destination overlap in memcpy(0x55AFADC, 0x55AFAE8, 36)
==17912==    at 0x4024959: memcpy (mc_replace_strmem.c:402)
==17912==    by 0x43EA6AE: ORBit_sequence_remove (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43B7D34: bonobo_activation_set_activation_env_value (in /usr/lib/libbonobo-activation.so.4.0.0)
==17912==    by 0x807F5A7: (within /usr/bin/nautilus)
==17912==    by 0x4CD9454: (below main) (in /lib/i686/cmov/libc-2.7.so)
==17912== 
==17912== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 249 from 3)
==17912== malloc/free: in use at exit: 325,540 bytes in 5,391 blocks.
==17912== malloc/free: 12,540 allocs, 7,149 frees, 937,040 bytes allocated.
==17912== For counts of detected errors, rerun with: -v
==17912== searching for pointers to 5,391 not-freed blocks.
==17912== checked 1,238,948 bytes.
==17912== 
==17912== 
==17912== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 72 of 165
==17912==    at 0x4023D6E: malloc (vg_replace_malloc.c:207)
==17912==    by 0x4DB6930: (within /lib/i686/cmov/libc-2.7.so)
==17912==    by 0x4DB722B: __nss_database_lookup (in /lib/i686/cmov/libc-2.7.so)
==17912==    by 0x5ABEF5B: ???
==17912==    by 0x5ABFCF6: ???
==17912==    by 0x4D5DCA1: getpwnam_r (in /lib/i686/cmov/libc-2.7.so)
==17912==    by 0x4A55707: (within /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x4A56EDC: g_get_user_name (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x42A8076: (within /usr/lib/libgnomeui-2.so.0.2000.1)
==17912==    by 0x49D7872: g_type_create_instance (in /usr/lib/libgobject-2.0.so.0.1600.6)
==17912==    by 0x49BD084: (within /usr/lib/libgobject-2.0.so.0.1600.6)
==17912==    by 0x49BD8B5: g_object_newv (in /usr/lib/libgobject-2.0.so.0.1600.6)
==17912== 
==17912== 
==17912== 60 bytes in 1 blocks are possibly lost in loss record 84 of 165
==17912==    at 0x4023E8C: realloc (vg_replace_malloc.c:429)
==17912==    by 0x4A29469: g_realloc (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x43E7297: ORBit_realloc_tcval (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EB66D: ORBit_sequence_append (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43B7EE2: bonobo_activation_init_activation_env (in /usr/lib/libbonobo-activation.so.4.0.0)
==17912==    by 0x43BBE03: bonobo_activation_orb_init (in /usr/lib/libbonobo-activation.so.4.0.0)
==17912==    by 0x434AED2: (within /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x4345C45: gnome_program_postinit (in /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x43460B4: (within /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x43463E0: gnome_program_init (in /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x807F48A: (within /usr/bin/nautilus)
==17912==    by 0x4CD9454: (below main) (in /lib/i686/cmov/libc-2.7.so)
==17912== 
==17912== 
==17912== 108 (40 direct, 68 indirect) bytes in 1 blocks are definitely lost in loss record 101 of 165
==17912==    at 0x4021E22: calloc (vg_replace_malloc.c:397)
==17912==    by 0x4A2950B: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x43E4DA2: ORBit_objref_new (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43E55CF: (within /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43E57AE: ORBit_demarshal_object (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EBA1D: ORBit_demarshal_value (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EBF5D: ORBit_demarshal_value (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EBABC: ORBit_demarshal_value (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EC276: ORBit_demarshal_arg (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43E285E: (within /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43E364B: ORBit_small_invoke_stub (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43E3824: ORBit_small_invoke_stub_n (in /usr/lib/libORBit-2.so.0.1.0)
==17912== 
==17912== 
==17912== 120 bytes in 8 blocks are possibly lost in loss record 106 of 165
==17912==    at 0x4023D6E: malloc (vg_replace_malloc.c:207)
==17912==    by 0x4A29583: g_malloc (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x43E73BF: ORBit_alloc_string (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43E7098: CORBA_string_dup (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EB4D4: ORBit_copy_value_core (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EB20F: ORBit_copy_value_core (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43EB635: ORBit_sequence_append (in /usr/lib/libORBit-2.so.0.1.0)
==17912==    by 0x43B7EE2: bonobo_activation_init_activation_env (in /usr/lib/libbonobo-activation.so.4.0.0)
==17912==    by 0x43BBE03: bonobo_activation_orb_init (in /usr/lib/libbonobo-activation.so.4.0.0)
==17912==    by 0x434AED2: (within /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x4345C45: gnome_program_postinit (in /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x43460B4: (within /usr/lib/libgnome-2.so.0.1999.2)
==17912== 
==17912== 
==17912== 1,508 bytes in 44 blocks are possibly lost in loss record 145 of 165
==17912==    at 0x4021E22: calloc (vg_replace_malloc.c:397)
==17912==    by 0x4A2950B: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x49CFAF3: (within /usr/lib/libgobject-2.0.so.0.1600.6)
==17912==    by 0x49CFB65: (within /usr/lib/libgobject-2.0.so.0.1600.6)
==17912==    by 0x49D2247: g_type_init_with_debug_flags (in /usr/lib/libgobject-2.0.so.0.1600.6)
==17912==    by 0x49D23C1: g_type_init (in /usr/lib/libgobject-2.0.so.0.1600.6)
==17912==    by 0x43463A2: gnome_program_init (in /usr/lib/libgnome-2.so.0.1999.2)
==17912==    by 0x807F48A: (within /usr/bin/nautilus)
==17912==    by 0x4CD9454: (below main) (in /lib/i686/cmov/libc-2.7.so)
==17912== 
==17912== 
==17912== 6,957 bytes in 207 blocks are possibly lost in loss record 156 of 165
==17912==    at 0x402377E: operator new(unsigned) (vg_replace_malloc.c:224)
==17912==    by 0x53FDC03: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.10)
==17912==    by 0x53FE864: (within /usr/lib/libstdc++.so.6.0.10)
==17912==    by 0x53FE9D5: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.10)
==17912==    by 0x4C31754: XMPMeta::Initialize() (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x4C218D4: WXMPMeta_Initialize_1 (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x4C074E3: TXMPMeta<std::string>::Initialize() (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x4C3C344: XMPFiles::Initialize(unsigned) (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x4C3A7DA: WXMPFiles_Initialize_2 (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x4C0598B: TXMPFiles<std::string>::Initialize() (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x4C03566: xmp_init (in /usr/lib/libexempi.so.3.1.3)
==17912==    by 0x807F3DB: (within /usr/bin/nautilus)
==17912== 
==17912== 
==17912== 45,744 bytes in 42 blocks are possibly lost in loss record 162 of 165
==17912==    at 0x4021C8A: memalign (vg_replace_malloc.c:460)
==17912==    by 0x4021D3E: posix_memalign (vg_replace_malloc.c:569)
==17912==    by 0x4A3E91E: (within /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x4A400F2: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x49FA55E: g_array_sized_new (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x49FA676: g_array_new (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x4A4B423: g_static_private_set (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x4A09FCF: g_get_filename_charsets (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x4A0A040: (within /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x4A4B6DC: g_thread_init_glib (in /usr/lib/libglib-2.0.so.0.1600.6)
==17912==    by 0x50FC5ED: g_thread_init (in /usr/lib/libgthread-2.0.so.0.1600.6)
==17912==    by 0x434639A: gnome_program_init (in /usr/lib/libgnome-2.so.0.1999.2)
==17912== 
==17912== LEAK SUMMARY:
==17912==    definitely lost: 76 bytes in 2 blocks.
==17912==    indirectly lost: 188 bytes in 12 blocks.
==17912==      possibly lost: 54,389 bytes in 302 blocks.
==17912==    still reachable: 270,887 bytes in 5,075 blocks.
==17912==         suppressed: 0 bytes in 0 blocks.
==17912== Reachable blocks (those to which a pointer was found) are not shown.
==17912== To see them, rerun with: --leak-check=full --show-reachable=yes


:~$ valgrind --show-reachable=yes nautilus
==17908== Memcheck, a memory error detector.
==17908== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==17908== Using LibVEX rev 1854, a library for dynamic binary translation.
==17908== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==17908== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==17908== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==17908== For more details, rerun with: -v
==17908== 
==17908== Source and destination overlap in memcpy(0x55AFADC, 0x55AFAE8, 36)
==17908==    at 0x4024959: memcpy (mc_replace_strmem.c:402)
==17908==    by 0x43EA6AE: ORBit_sequence_remove (in /usr/lib/libORBit-2.so.0.1.0)
==17908==    by 0x43B7D34: bonobo_activation_set_activation_env_value (in /usr/lib/libbonobo-activation.so.4.0.0)
==17908==    by 0x807F5A7: (within /usr/bin/nautilus)
==17908==    by 0x4CD9454: (below main) (in /lib/i686/cmov/libc-2.7.so)
==17908== 
==17908== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 249 from 3)
==17908== malloc/free: in use at exit: 325,540 bytes in 5,391 blocks.
==17908== malloc/free: 12,540 allocs, 7,149 frees, 937,040 bytes allocated.
==17908== For counts of detected errors, rerun with: -v
==17908== searching for pointers to 5,391 not-freed blocks.
==17908== checked 1,238,948 bytes.
==17908== 
==17908== LEAK SUMMARY:
==17908==    definitely lost: 264 bytes in 14 blocks.
==17908==      possibly lost: 54,389 bytes in 302 blocks.
==17908==    still reachable: 270,887 bytes in 5,075 blocks.
==17908==         suppressed: 0 bytes in 0 blocks.
==17908== Rerun with --leak-check=full to see details of leaked memory.






More information about the pkg-gnome-maintainers mailing list