[Pkg-utopia-maintainers] Bug#560435: devicekit-disks: Using 100% CPU polling a device that doesn't exist

Mike Hommey mh at glandium.org
Thu Jan 21 15:20:38 UTC 2010


On Thu, Dec 10, 2009 at 11:52:21PM -0800, Josh Triplett wrote:
> Package: devicekit-disks
> Version: 009-2
> Severity: important
> 
> ~$ ps aux | grep [s]dc
> root      1837 49.9  0.0  42068  1164 ?        R    Dec08 1473:25 devkit-disks-daemon: polling /dev/sdc
> ~$ ls -l /dev/sd*
> brw-rw---- 1 root disk 8, 0 Dec  9 21:56 /dev/sda
> brw-rw---- 1 root disk 8, 1 Dec  8 22:39 /dev/sda1
> brw-rw---- 1 root disk 8, 2 Dec  8 22:39 /dev/sda2
> 
> Please consider building a devicekit-disks-dbg package; if I had one I'd
> have included a backtrace.

I just got something similar:
root      2930  0.0  0.0  42044    84 ?        R    Jan16   5:38 devkit-disks-daemon: polling /dev/hda /dev/sdb
$ ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Jan 16 08:42 /dev/sda
brw-rw---- 1 root disk 8, 1 Jan 16 08:42 /dev/sda1

A pretty pointless backtrace without debugging symbols:
0x00007f893766c2b0 in g_list_length () from /lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007f893766c2b0 in g_list_length () from /lib/libglib-2.0.so.0
#1  0x000000000041e9ba in ?? ()
#2  0x00007f893766e8fe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#3  0x00007f89376722b8 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f8937672715 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x000000000041e60b in ?? ()
#6  0x000000000041ed6a in ?? ()
#7  0x00007f89370f1abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffd10d69c8) at libc-start.c:222
#8  0x0000000000406829 in ?? ()
#9  0x00007fffd10d69c8 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007fffd10d6f1c in ?? ()
#13 0x0000000000000000 in ?? ()

Mike





More information about the Pkg-utopia-maintainers mailing list