Bug#377640: gnome-cups-manager: takes 100% CPU without any reason

Brice Goglin Brice.Goglin at ens-lyon.org
Mon Jul 10 12:36:48 UTC 2006


Package: gnome-cups-manager
Version: 0.31-1.1
Severity: normal

Hi,

During the last weeks, I have found several times gnome-cups-icon taking 100% CPU
without any reason. Basically, I wake up the morning, my laptop has been doing
nothing during the night, I didn't print anything since I booted the laptop, no
printer has been added/removed, but gnome-cups-icon got crazy anyway.

Tracing it in gdb seems to always give the following backtrace. Hope it helps.

Regards,
Brice



bgoglin at shepherd:~$ top
top - 07:48:20 up 17:17,  6 users,  load average: 1.08, 1.02, 1.01
Tasks: 113 total,   2 running, 111 sleeping,   0 stopped,   0 zombie
Cpu(s): 27.3%us, 67.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  5.7%si,  0.0%st
Mem:    515180k total,   507796k used,     7384k free,    30212k buffers
Swap:   497972k total,    73424k used,   424548k free,    76772k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5626 bgoglin   15   0 76840  20m 5900 S 91.9  4.1  70:16.96 gnome-cups-icon
 4543 root       5 -10  151m  64m  12m S  4.7 12.8  21:45.29 Xorg
26525 bgoglin   15   0 39416  17m 7992 R  1.3  3.6   0:38.95 gnome-terminal
 5542 bgoglin   15   0 15088 7772 6340 S  1.0  1.5   1:37.00 metacity
 5540 bgoglin   15   0 29136 6640 6136 S  0.3  1.3   0:06.50 gnome-settings-
 5603 bgoglin   15   0 20596 9.8m 7560 S  0.3  1.9   0:41.23 wnck-applet
 5608 bgoglin   15   0 20496  10m 7920 S  0.3  2.0   0:07.28 stickynotes_app
    1 root      15   0  1964  656  564 S  0.0  0.1   0:00.48 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.39 events/0
    5 root      17  -5     0    0    0 S  0.0  0.0   0:00.01 khelper
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kthread
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.87 kblockd/0
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.52 kacpid
  117 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 kseriod
  161 root      15   0     0    0    0 S  0.0  0.0   0:00.03 pdflush
  162 root      15   0     0    0    0 S  0.0  0.0   0:00.07 pdflush
  163 root      15  -5     0    0    0 S  0.0  0.0   0:00.68 kswapd0
  164 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  782 root      10  -5     0    0    0 S  0.0  0.0   0:02.64 ata/0
  783 root      18  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux
  785 root      16  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
  789 root      10  -5     0    0    0 S  0.0  0.0   0:06.69 scsi_eh_1
  813 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
  818 root      10  -5     0    0    0 S  0.0  0.0   0:00.78 kjournald
  919 root      20  -4  2568  376  348 S  0.0  0.1   0:00.15 udevd
bgoglin at shepherd:~$ locate gnome-cups-icon
/usr/bin/gnome-cups-icon
/usr/share/man/man1/gnome-cups-icon.1.gz
bgoglin at shepherd:~$ gdb /usr/bin/gnome-cups-icon 5626
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

Attaching to program: /usr/bin/gnome-cups-icon, process 5626
Reading symbols from /usr/lib/libgnomeui-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomeui-2.so.0
Reading symbols from /usr/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libbonoboui-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonoboui-2.so.0
Reading symbols from /usr/lib/libgnomecanvas-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomecanvas-2.so.0
Reading symbols from /usr/lib/libart_lgpl_2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/lib/libgnome-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-2.so.0
Reading symbols from /lib/libpopt.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpopt.so.0
Reading symbols from /usr/lib/libgnomevfs-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnomevfs-2.so.0
Reading symbols from /usr/lib/libgconf-2.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libglade-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglade-2.0.so.0
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libxml2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libatk-1.0.so.0.11 14.0...done.
done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libpangoxft-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoxft-1.0.so.0
Reading symbols from /usr/lib/libpangox-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangox-1.0.so.0
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libbonobo-2.so.0...done.
Loaded symbols for /usr/lib/libbonobo-2.so.0
Reading symbols from /usr/lib/libbonobo-activation.so.4...done.
Loaded symbols for /usr/lib/libbonobo-activation.so.4
Reading symbols from /usr/lib/libORBit-2.so.0...done.
Loaded symbols for /usr/lib/libORBit-2.so.0
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /usr/lib/libgnomecups-1.0.so.1...done.
Loaded symbols for /usr/lib/libgnomecups-1.0.so.1
Reading symbols from /usr/lib/libcups.so.2...done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /usr/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgnome-keyring.so.0...done.
Loaded symbols for /usr/lib/libgnome-keyring.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libgnomecupsui-1.0.so.1...done.
Loaded symbols for /usr/lib/libgnomecupsui-1.0.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1228641600 (LWP 5626)]
[New Thread -1264395344 (LWP 12852)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libpangocairo-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXinerama.so.1...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libXi.so.6...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libcairo.so.2...done.
Loaded symbols for /usr/lib/libcairo.so.2
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /usr/lib/libgnutls.so.13...done.
Loaded symbols for /usr/lib/libgnutls.so.13
Reading symbols from /usr/lib/libavahi-glib.so.1...done.
Loaded symbols for /usr/lib/libavahi-glib.so.1
Reading symbols from /usr/lib/libavahi-common.so.3...done.
Loaded symbols for /usr/lib/libavahi-common.so.3
Reading symbols from /usr/lib/libavahi-client.so.3...done.
Loaded symbols for /usr/lib/libavahi-client.so.3
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /lib/tls/libutil.so.1...done.
Loaded symbols for /lib/tls/libutil.so.1
Reading symbols from /usr/lib/libXft.so.2...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libORBitCosNaming-2.so.0...done.
Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /usr/lib/libsmbclient.so.0...done.
Loaded symbols for /usr/lib/libsmbclient.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libtasn1.so.3...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libdbus-1.so.2...done.
Loaded symbols for /usr/lib/libdbus-1.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libldap_r.so.2...done.
Loaded symbols for /usr/lib/libldap_r.so.2
Reading symbols from /usr/lib/liblber.so.2...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /usr/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so...done.
Loaded symbols for /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so
Failed to read a valid object file image from memory.

0xb756db81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) where
#0  0xb756db81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#1  0xb76bfdfc in gnome_cups_request_execute_async () from /usr/lib/libgnomecups-1.0.so.1
#2  0xb76bbfe4 in _gnome_cups_printer_get_host () from /usr/lib/libgnomecups-1.0.so.1
#3  0xb76bc220 in _gnome_cups_printer_init () from /usr/lib/libgnomecups-1.0.so.1
#4  0xb76bc209 in _gnome_cups_printer_init () from /usr/lib/libgnomecups-1.0.so.1
#5  0xb762a754 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xbf9ce3d8 in ?? ()
#7  0xb75ca534 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#8  0xb75ca534 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#9  0xb75c8691 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0xb75cb9d7 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#11 0xb75cbf28 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0xb7b324e1 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x0804c178 in main ()
(gdb) c
Continuing.

Program received signal SIGINT, Interrupt.
[Switching to Thread -1228641600 (LWP 5626)]
0xb756db81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) where
#0  0xb756db81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#1  0xb76bfdfc in gnome_cups_request_execute_async () from /usr/lib/libgnomecups-1.0.so.1
#2  0xb76bbfe4 in _gnome_cups_printer_get_host () from /usr/lib/libgnomecups-1.0.so.1
#3  0xb76bc220 in _gnome_cups_printer_init () from /usr/lib/libgnomecups-1.0.so.1
#4  0xb76bc209 in _gnome_cups_printer_init () from /usr/lib/libgnomecups-1.0.so.1
#5  0xb762a754 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xbf9ce3d8 in ?? ()
#7  0xb75ca534 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#8  0xb75ca534 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#9  0xb75c8691 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0xb75cb9d7 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#11 0xb75cbf28 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0xb7b324e1 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x0804c178 in main ()
(gdb) c
Continuing.

Program received signal SIGINT, Interrupt.
0xb756db81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) w
Ambiguous command "w": watch, wh, whatis, where, while, while-stepping, winheight, ws.
(gdb) where
#0  0xb756db81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#1  0xb76bfdfc in gnome_cups_request_execute_async () from /usr/lib/libgnomecups-1.0.so.1
#2  0xb76bbfe4 in _gnome_cups_printer_get_host () from /usr/lib/libgnomecups-1.0.so.1
#3  0xb76bc220 in _gnome_cups_printer_init () from /usr/lib/libgnomecups-1.0.so.1
#4  0xb76bc209 in _gnome_cups_printer_init () from /usr/lib/libgnomecups-1.0.so.1
#5  0xb762a754 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xbf9ce3d8 in ?? ()
#7  0xb75ca534 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#8  0xb75ca534 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#9  0xb75c8691 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0xb75cb9d7 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#11 0xb75cbf28 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0xb7b324e1 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x0804c178 in main ()
(gdb)



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc1=shepherd
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gnome-cups-manager depends on:
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libatk1.0-0               1.11.4-2       The ATK accessibility toolkit
ii  libbonobo2-0              2.14.0-1       Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.14.0-3       The Bonobo UI library
ii  libc6                     2.3.6-15       GNU C Library: Shared libraries
ii  libcupsys2                1.2.1-3        Common UNIX Printing System(tm) - 
ii  libgconf2-4               2.14.0-1       GNOME configuration database syste
ii  libglade2-0               1:2.5.1-2      library to load .glade files at ru
ii  libglib2.0-0              2.10.2-1       The GLib library of C routines
ii  libgnome-keyring0         0.4.9-1        GNOME keyring services library
ii  libgnome2-0               2.14.1-2       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.14.0-2       A powerful object-oriented display
ii  libgnomecups1.0-1         0.2.2-2        GNOME library for CUPS interaction
ii  libgnomecupsui1.0-1c2a    0.31-1.1       UI extensions to libgnomecups
ii  libgnomeui-0              2.14.1-2       The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.14.2-1       GNOME virtual file-system (runtime
ii  libgtk2.0-0               2.8.18-1       The GTK+ graphical user interface 
ii  libice6                   1:1.0.0-3      X11 Inter-Client Exchange library
ii  liborbit2                 1:2.14.0-2     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.12.3-1       Layout and rendering of internatio
ii  libpopt0                  1.10-2         lib for parsing cmdline parameters
ii  libsm6                    1:1.0.0-4      X11 Session Management library
ii  libx11-6                  2:1.0.0-7      X11 client-side library
ii  libxml2                   2.6.26.dfsg-1  GNOME XML library
pi  xlibs                     6.9.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.3-11     compression library - runtime

Versions of packages gnome-cups-manager recommends:
ii  gksu                          1.9.1-2    graphical frontend to su

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list