← Back to team overview

desktop-packages team mailing list archive

[Bug 890441] Re: nautilus memory leak

 

Thanks for the guideline, here is what i get:

oem@oem-desktop:~$ nautilus --quit
oem@oem-desktop:~$ gdb nautilus
GNU gdb (Ubuntu/Linaro 7.3.1-2011.12-0ubuntu2) 7.3-2011.12
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/nautilus...Reading symbols from /usr/lib/debug/usr/bin/nautilus...done.
done.
(gdb) b g_log
Breakpoint 1 at 0x8061b90
(gdb) run
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6757b70 (LWP 24648)]
[New Thread 0xb5dffb70 (LWP 24649)]
[New Thread 0xb55feb70 (LWP 24650)]
Initializing nautilus-gdu extension
[New Thread 0xaf44eb70 (LWP 24651)]

Breakpoint 1, 0xb7386f30 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) c
Continuing.

Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER
(container)' failed

Breakpoint 1, 0xb7386f30 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0xb7386f30 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb7386fad in g_return_if_fail_warning () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb792e18b in gtk_container_foreach () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#3  0xb792e785 in gtk_container_get_children () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#4  0xb7b1a937 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#5  0xb7b1a9ad in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#6  0xb7b1a9ad in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#7  0xb7b1eff8 in gtk_ui_manager_ensure_update () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#8  0xb7b1f082 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#9  0xb7b1e296 in gtk_ui_manager_get_widget () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#10 0x080c44bc in nautilus_menus_append_bookmark_to_menu (window=0x82dc090, bookmark=0x8499ef0, 
    parent_path=0x816b850 "/MenuBar/Other Menus/Bookmarks/Bookmarks Placeholder", 
    parent_id=0x81685cf "dynamic", index_in_parent=0, action_group=0x8489490, merge_id=16, 
    refresh_callback=0x80c4510 <refresh_bookmarks_menu>, 
    failed_callback=0x80c3c00 <show_bogus_bookmark_window>) at nautilus-window-bookmarks.c:343
#11 0x080c47e2 in update_bookmarks (window=0x82dc090) at nautilus-window-bookmarks.c:392
#12 refresh_bookmarks_menu (window=0x82dc090) at nautilus-window-bookmarks.c:410
#13 0xb743e35c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0xb743cdac in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0xb744e0c5 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xb7455942 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#17 0xb7455ad3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0x0806a204 in load_file_finish (res=0x84a5520, source=0x8318850, bookmarks=0x84333b0)
    at nautilus-bookmark-list.c:503
---Type <return> to continue, or q <return> to quit---
#19 op_processed_cb (source=0x8318850, res=0x84a5520, user_data=0x84333b0)
    at nautilus-bookmark-list.c:619
#20 0xb7500330 in g_simple_async_result_complete () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#21 0xb74cfceb in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#22 0xb74ed14b in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#23 0xb7500330 in g_simple_async_result_complete () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#24 0xb75003a3 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#25 0xb737ce50 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb737f41a in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb737f825 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb737f901 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb753185c in g_application_run () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#30 0x08067b34 in main (argc=1, argv=0xbffff8b4) at nautilus-main.c:102
(gdb) 

(gdb) c
Continuing.

Gtk-CRITICAL **: find_menu_position: assertion `GTK_IS_MENU_SHELL (menushell)' failed
[Thread 0xb5dffb70 (LWP 24649) exited]

Breakpoint 1, 0xb7386f30 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0xb7386f30 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb7386fad in g_return_if_fail_warning () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb792e18b in gtk_container_foreach () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#3  0xb792e785 in gtk_container_get_children () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#4  0xb7b1a937 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#5  0xb7b1a9ad in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#6  0xb7b1a9ad in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#7  0xb7b1eff8 in gtk_ui_manager_ensure_update () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#8  0xb7b1f082 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#9  0xb7b1e296 in gtk_ui_manager_get_widget () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
#10 0x080c44bc in nautilus_menus_append_bookmark_to_menu (window=0x82dc090, bookmark=0x8499ef0, 
    parent_path=0x816b850 "/MenuBar/Other Menus/Bookmarks/Bookmarks Placeholder", 
    parent_id=0x81685cf "dynamic", index_in_parent=0, action_group=0x8489490, merge_id=16, 
    refresh_callback=0x80c4510 <refresh_bookmarks_menu>, 
    failed_callback=0x80c3c00 <show_bogus_bookmark_window>) at nautilus-window-bookmarks.c:343
#11 0x080c47e2 in update_bookmarks (window=0x82dc090) at nautilus-window-bookmarks.c:392
#12 refresh_bookmarks_menu (window=0x82dc090) at nautilus-window-bookmarks.c:410
#13 0xb743e35c in g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0xb743cdac in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0xb744e0c5 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xb7455942 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#17 0xb7455ad3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0x0806a204 in load_file_finish (res=0x84a5520, source=0x8318850, bookmarks=0x84333b0)
    at nautilus-bookmark-list.c:503
---Type <return> to continue, or q <return> to quit---
#19 op_processed_cb (source=0x8318850, res=0x84a5520, user_data=0x84333b0)
    at nautilus-bookmark-list.c:619
#20 0xb7500330 in g_simple_async_result_complete () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#21 0xb74cfceb in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#22 0xb74ed14b in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#23 0xb7500330 in g_simple_async_result_complete () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#24 0xb75003a3 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#25 0xb737ce50 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb737f41a in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb737f825 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb737f901 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb753185c in g_application_run () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#30 0x08067b34 in main (argc=1, argv=0xbffff8b4) at nautilus-main.c:102
(gdb)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/890441

Title:
  nautilus memory leak

Status in “nautilus” package in Ubuntu:
  Confirmed

Bug description:
  There are other bug reports with this description, but they are either
  3-4 years old, or closed, or invalid, or expired.

  I'm not doing anything exotic, but after about an hour or two of using
  my system (not even copying or moving files, or thumbnailing, or...)
  memory usage in nautilus goes up to 1.4G or so. When I kill this task,
  re-launch nautilus, it sits happily on just a few hundred meg... and
  then begins to grow again.

  It also takes a LONG time to start up, and the system is very
  unresponsive meanwhile... like 20 seconds. This may be a useful clue?

  I tried to do a valgrind report, but it makes nautilus so slow as to
  be unusable -- like 2 minutes to open a folder on the desktop... so I
  couldn't exactly "use it normally" to get a good log. Nonetheless,
  here's a log I did capture.

  I trust that the data captured by ubuntu-bug will have my library
  versions, cpu type, RAM info, etc. Please let me know what else I can
  provide. Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: nautilus 1:3.2.1-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Mon Nov 14 15:51:46 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: Upgraded to oneiric on 2011-08-17 (88 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/890441/+subscriptions


References