Bug#392889: nautilus: Starts eating 100% CPU

Sam Morris sam at robots.org.uk
Sat Oct 14 03:26:08 CEST 2006


Package: nautilus
Version: 2.16.1-1
Severity: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've not yet found out exactly what triggers this bug... but nautilus
occasionally starts eating 100% of my CPU. From strace:

time([1160788632])                      = 1160788632
time([1160788632])                      = 1160788632
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1160788632, 490348}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN}, {fd=14, events=POLLIN}, {fd=17, events=POLLIN}], 12, 0) = 0
time([1160788632])                      = 1160788632
time([1160788632])                      = 1160788632
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1160788632, 491035}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN}, {fd=14, events=POLLIN}, {fd=17, events=POLLIN}], 12, 0) = 0
time([1160788632])                      = 1160788632
time([1160788632])                      = 1160788632
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1160788632, 491725}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN}, {fd=14, events=POLLIN}, {fd=17, events=POLLIN}], 12, 0) = 0
time([1160788632])                      = 1160788632
time([1160788632])                      = 1160788632

... and so on. According to GDB:

#0  0xa7682d19 in IA__g_main_context_prepare (context=0x818c9c0, 
    priority=0xaf896018) at gmain.c:2366
        result = 0
        prepare = <value optimized out>
        source_timeout = -1
        i = <value optimized out>
        n_ready = 0
        current_priority = 2147483647
        source = <value optimized out>
#1  0xa76834d5 in g_main_context_iterate (context=0x818c9c0, block=1, 
    dispatch=1, self=0x816f400) at gmain.c:2657
        max_priority = <value optimized out>
        timeout = <value optimized out>
        some_ready = <value optimized out>
        nfds = <value optimized out>
        allocated_nfds = <value optimized out>
        fds = (GPollFD *) 0x8406198
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#2  0xa7683be7 in IA__g_main_loop_run (loop=0x81b97d0) at gmain.c:2881
        got_ownership = -1485905920
        self = (GThread *) 0x816f400
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#3  0xa7aa5d31 in IA__gtk_main ()
    at /tmp/buildd/gtk+2.0-2.10.6/gtk/gtkmain.c:1001
        tmp_list = (GList *) 0x8197388
        functions = (GList *) 0x0
        init = (GtkInitFunction *) 0x0
        loop = (GMainLoop *) 0x81b97d0
#4  0x0807b7fc in main (argc=5, argv=0xaf896394) at nautilus-main.c:371
        attrs = {background_pixmap = 0, background_pixel = 2807283700, 
  border_pixmap = 2945016640, border_pixel = 2818467064, 
  bit_gravity = 134593492, win_gravity = 24641422, backing_store = 18239536, 
  backing_planes = 0, backing_pixel = 135680048, save_under = -1494921216, 
  event_mask = 4325376, do_not_propagate_mask = 135680444, 
  override_redirect = 1, colormap = 135680408, cursor = 135680048}
        atom_name = <value optimized out>
        atom_type = <value optimized out>
        xwindow = <value optimized out>
        event = {type = 28, xany = {type = 28, serial = 91, send_event = 0, 
    display = 0x817e7a0, window = 62914563}, xkey = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, window = 62914563, root = 39, 
    subwindow = 1114249194, time = 0, x = 1751348015, y = 1935764837, 
    x_root = 1936024623, y_root = 1886352491, state = 1869506351, 
    keycode = 1764713837, same_screen = 1919251566}, xbutton = {type = 28, 
    serial = 91, send_event = 0, display = 0x817e7a0, window = 62914563, 
    root = 39, subwindow = 1114249194, time = 0, x = 1751348015, 
    y = 1935764837, x_root = 1936024623, y_root = 1886352491, 
    state = 1869506351, button = 1764713837, same_screen = 1919251566}, 
  xmotion = {type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    window = 62914563, root = 39, subwindow = 1114249194, time = 0, 
    x = 1751348015, y = 1935764837, x_root = 1936024623, y_root = 1886352491, 
    state = 1869506351, is_hint = 109 'm', same_screen = 1919251566}, 
  xcrossing = {type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    window = 62914563, root = 39, subwindow = 1114249194, time = 0, 
    x = 1751348015, y = 1935764837, x_root = 1936024623, y_root = 1886352491, 
    mode = 1869506351, detail = 1764713837, same_screen = 1919251566, 
    focus = 1701011814, state = 1667457327}, xfocus = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, window = 62914563, mode = 39, 
    detail = 1114249194}, xexpose = {type = 28, serial = 91, send_event = 0, 
    display = 0x817e7a0, window = 62914563, x = 39, y = 1114249194, width = 0, 
    height = 1751348015, count = 1935764837}, xgraphicsexpose = {type = 28, 
    serial = 91, send_event = 0, display = 0x817e7a0, drawable = 62914563, 
    x = 39, y = 1114249194, width = 0, height = 1751348015, 
    count = 1935764837, major_code = 1936024623, minor_code = 1886352491}, 
  xnoexpose = {type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    drawable = 62914563, major_code = 39, minor_code = 1114249194}, 
  xvisibility = {type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    window = 62914563, state = 39}, xcreatewindow = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, parent = 62914563, window = 39, 
    x = 1114249194, y = 0, width = 1751348015, height = 1935764837, 
    border_width = 1936024623, override_redirect = 1886352491}, 
  xdestroywindow = {type = 28, serial = 91, send_event = 0, 
    display = 0x817e7a0, event = 62914563, window = 39}, xunmap = {type = 28, 
    serial = 91, send_event = 0, display = 0x817e7a0, event = 62914563, 
    window = 39, from_configure = 1114249194}, xmap = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, event = 62914563, window = 39, 
    override_redirect = 1114249194}, xmaprequest = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, parent = 62914563, window = 39}, 
  xreparent = {type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    event = 62914563, window = 39, parent = 1114249194, x = 0, y = 1751348015, 
    override_redirect = 1935764837}, xconfigure = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, event = 62914563, window = 39, 
    x = 1114249194, y = 0, width = 1751348015, height = 1935764837, 
    border_width = 1936024623, above = 1886352491, 
    override_redirect = 1869506351}, xgravity = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, event = 62914563, window = 39, 
    x = 1114249194, y = 0}, xresizerequest = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, window = 62914563, width = 39, 
    height = 1114249194}, xconfigurerequest = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, parent = 62914563, window = 39, 
    x = 1114249194, y = 0, width = 1751348015, height = 1935764837, 
    border_width = 1936024623, above = 1886352491, detail = 1869506351, 
    value_mask = 1764713837}, xcirculate = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, event = 62914563, window = 39, 
    place = 1114249194}, xcirculaterequest = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, parent = 62914563, window = 39, 
    place = 1114249194}, xproperty = {type = 28, serial = 91, send_event = 0, 
    display = 0x817e7a0, window = 62914563, atom = 39, time = 1114249194, 
    state = 0}, xselectionclear = {type = 28, serial = 91, send_event = 0, 
    display = 0x817e7a0, window = 62914563, selection = 39, 
    time = 1114249194}, xselectionrequest = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, owner = 62914563, requestor = 39, 
    selection = 1114249194, target = 0, property = 1751348015, 
    time = 1935764837}, xselection = {type = 28, serial = 91, send_event = 0, 
    display = 0x817e7a0, requestor = 62914563, selection = 39, 
    target = 1114249194, property = 0, time = 1751348015}, xcolormap = {
    type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    window = 62914563, colormap = 39, new = 1114249194, state = 0}, xclient = {
    type = 28, serial = 91, send_event = 0, display = 0x817e7a0, 
    window = 62914563, message_type = 39, format = 1114249194, data = {
      b = "\000\000\000\000/schemas/desktop", s = {0, 0, 29487, 26723, 28005, 
        29537, 25647, 29541, 29803, 28783}, l = {0, 1751348015, 1935764837, 
        1936024623, 1886352491}}}, xmapping = {type = 28, serial = 91, 
    send_event = 0, display = 0x817e7a0, window = 62914563, request = 39, 
    first_keycode = 1114249194, count = 0}, xerror = {type = 28, 
    display = 0x5b, resourceid = 0, serial = 135784352, error_code = 3 '\003', 
    request_code = 0 '\0', minor_code = 192 '�'}, xkeymap = {type = 28, 
    serial = 91, send_event = 0, display = 0x817e7a0, window = 62914563, 
    key_vector = "'\000\000\000�\027jB\000\000\000\000/schemas/desktop/gno"}, 
  pad = {28, 91, 0, 135784352, 62914563, 39, 1114249194, 0, 1751348015, 
    1935764837, 1936024623, 1886352491, 1869506351, 1764713837, 1919251566, 
    1701011814, 1667457327, 1769173861, 1768712546, 31092, 1, 0, 64761, 0}}
        kill_shell = 0
        restart_shell = 0
        no_default_window = 0
        browser_window = 0
        no_desktop = 0
        startup_id = <value optimized out>
        startup_id_copy = 0x8197388 "emblem-sound"
        session_to_load = 0x0
        geometry = (gchar *) 0x0
        remaining = (const gchar **) 0x0
        perform_self_check = 0
        context = <value optimized out>
        application = (NautilusApplication *) 0x816ebb0
        program = (GnomeProgram *) 0x816f828
        options = {{long_name = 0x813d65e "check", short_name = 99 'c', 
    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xaf8962d4, 
    description = 0x813d688 "Perform a quick set of self-check tests.", 
    arg_description = 0x0}, {long_name = 0x8140604 "geometry", 
    short_name = 103 'g', flags = 0, arg = G_OPTION_ARG_STRING, 
    arg_data = 0xaf8962dc, 
    description = 0x813d6b4 "Create the initial window with the given geometry.", arg_description = 0x813d4e5 "GEOMETRY"}, {
    long_name = 0x813d4ee "no-default-window", short_name = 110 'n', 
    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xaf8962ec, 
    description = 0x813d6e8 "Only create windows for explicitly specified URIs.", arg_description = 0x0}, {long_name = 0x813d500 "no-desktop", 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0xaf8962e4, 
    description = 0x813d71c "Do not manage the desktop (ignore the preference set in the preferences dialog).", arg_description = 0x0}, {
    long_name = 0x813f65e "browser", short_name = 0 '\0', flags = 0, 
    arg = G_OPTION_ARG_NONE, arg_data = 0xaf8962e8, 
    description = 0x813d50b "open a browser window.", arg_description = 0x0}, {
    long_name = 0x813d666 "quit", short_name = 113 'q', flags = 0, 
    arg = G_OPTION_ARG_NONE, arg_data = 0xaf8962f4, 
    description = 0x813d522 "Quit Nautilus.", arg_description = 0x0}, {
    long_name = 0x813d66d "restart", short_name = 0 '\0', flags = 1, 
    arg = G_OPTION_ARG_NONE, arg_data = 0xaf8962f0, 
    description = 0x813d531 "Restart Nautilus.", arg_description = 0x0}, {
    long_name = 0x81418b8 "", short_name = 0 '\0', flags = 0, 
    arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0xaf8962d8, description = 0x0, 
    arg_description = 0x813d543 "[URI...]"}, {
    long_name = 0x8139bf2 "load-session", short_name = 108 'l', flags = 0, 
    arg = G_OPTION_ARG_STRING, arg_data = 0xaf8962e0, 
    description = 0x813d770 "Load a saved session from the specified file. Implies \"--no-default-window\".", arg_description = 0x813d54c "FILENAME"}, {
    long_name = 0x0, short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x0, description = 0x0, arg_description = 0x0}}
#5  0xa740bea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0x080670d1 in _start () at ../sysdeps/i386/elf/start.S:119
No locals.

I *think* this started when I upgraded my system this morning... it
might have coincided with HAL being restarted, but that it just a guess.

- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages nautilus depends on:
ii  desktop-file-utils         0.11-1        Utilities for .desktop files
ii  gnome-control-center       1:2.14.2-3+b1 utilities to configure the GNOME d
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.2-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.16.0-1      Bonobo CORBA interfaces library
ii  libc6                      2.3.6.ds1-4   GNU C Library: Shared libraries
ii  libeel2-2                  2.16.0-1      Eazel Extensions Library (for GNOM
ii  libesd-alsa0 [libesd0]     0.2.36-3      Enlightened Sound Daemon (ALSA) - 
ii  libexif12                  0.6.13-4      library to parse EXIF files
ii  libgail-common             1.9.3-1       GNOME Accessibility Implementation
ii  libgail18                  1.9.3-1       GNOME Accessibility Implementation
ii  libgconf2-4                2.14.0-4      GNOME configuration database syste
ii  libglade2-0                1:2.6.0-2     library to load .glade files at ru
ii  libglib2.0-0               2.12.3-2      The GLib library of C routines
ii  libgnome-desktop-2         2.15.91-1     Utility library for loading .deskt
ii  libgnome2-0                2.16.0-1      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomeui-0               2.16.1-1      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             2.16.0-1      GNOME virtual file-system (runtime
ii  libgtk2.0-0                2.10.6-2      The GTK+ graphical user interface 
ii  libnautilus-extension1     2.16.1-1      libraries for nautilus components 
ii  liborbit2                  1:2.14.0-2    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.14.5-1      Layout and rendering of internatio
ii  librsvg2-2                 2.16.0-3      SAX-based renderer library for SVG
ii  libselinux1                1.30.28-2     SELinux shared libraries
ii  libstartup-notification0   0.8-2         library for program launch feedbac
ii  libx11-6                   2:1.0.0-9     X11 client-side library
ii  libxml2                    2.6.26.dfsg-3 GNOME XML library
ii  nautilus-data              2.16.1-1      data files for nautilus
ii  shared-mime-info           0.19-1        FreeDesktop.org shared MIME databa

Versions of packages nautilus recommends:
ii  desktop-base                  0.3.17     common files for the Debian Deskto
ii  eject                         2.1.4-2.1  ejects CDs and operates CD-Changer
pn  fam                           <none>     (no description available)
ii  libgnomevfs2-extra            2.16.0-1   GNOME virtual file-system (extra m
ii  librsvg2-common               2.16.0-3   SAX-based renderer library for SVG
ii  nautilus-cd-burner            2.14.3-2   CD Burning front-end for Nautilus

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFMDywshl/216gEHgRAutHAKD+KwKFIgEgLaoQJSfWHsSHWGPNQQCeOvV+
aagz33gZ2CodzlS7J/j+Tuw=
=Vz7c
-----END PGP SIGNATURE-----





More information about the Pkg-gnome-maintainers mailing list