Bug#668325: colord-sane consumes 40-82% cpu at all times

2014-10-30 Thread Jackson Taylor
On Wed, 13 Jun 2012 10:45:17 -0300 Patricio Silva pato_si...@esdebian.org
wrote:
 I have the same problem, colord-sane consume 100% of my cpu, and I've
 detected a huge network traffic too.

 I don't know if it have any relationship with the fact that always, when I
 trow the x session, (I don't have dm, y starts with startx command) the
 mouse (usb) is not detected, I need to remove and re-insert the usb plug
to
 make it work.

 It's a debian testing/sid with xfce4 desktop


I'm running Wheezy with kernel 3.2.0.4 and GNOME 3, and that happens to me
as well,
the mouse thing. After waking from sleep, I have to unplug and plug it back
in. Huh.
I have a laptop with an external monitor attached, and when I go to sleep,
the external
screen still shows what's on it for a few seconds, and it does upon wake
for a second or so before
the login screen loads, i.e. before I put in my password -- this seems like
a security issue. Do you have this
issue as well? I haven't looked into existing or filing new bug reports for
these things yet
but I plan on it. (Sorry for getting off topic!)


Bug#668325: colord-sane consumes 40-82% cpu at all times

2014-10-30 Thread Jackson Taylor
On Sat, 26 Jul 2014 11:39:16 +0200 Jochen Fahrner j...@fahrner.name wrote:
 I also hit this bug. If version 0.1.21-2 fixes this, why is it not
 available in package archive?
 Where can I download this package? Jessie version is newer and does not
 met the dependencies in wheezy.





I second this. Synaptic shows that I have 0.1.21-1, and running apt-get
update  apt-get upgrade (in terminal)
didn't find anything new to update.


Bug#668325: colord-sane consumes 40-82% cpu at all times

2014-07-26 Thread Jochen Fahrner
I also hit this bug. If version 0.1.21-2 fixes this, why is it not
available in package archive?
Where can I download this package? Jessie version is newer and does not
met the dependencies in wheezy.
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: colord-sane consumes 40-82% cpu at all times

2014-05-30 Thread James Collier

FYI - observations:

This has just started happening to me, and I notice that the process is 
spinning on select() and has 500+ unix-domain sockets  /dev/urandom 
descriptors open:


[jcollier@eor ~]$  uname -a
Linux eor 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux

[jcollier@eor ~]$  dpkg -l | grep colord
ii  colord0.1.21-1  amd64...
ii  libcolord1:amd64  0.1.21-1  amd64...

[jcollier@eor ~]$  top

  PID USER  PR  NI  VIRT  RES  SHR S  %CPU %MEMTIME+ COMMAND
 4053 colord20   0  353m  92m 2120 R  99.9  2.3 492:43.80 colord-sane

[root@eor jcollier]#  lsof -p 4053
colord-sa 4053 colord0u  CHR1,3  0t0 1027 
/dev/null
colord-sa 4053 colord1u  CHR1,3  0t0 1027 
/dev/null
colord-sa 4053 colord2u  CHR1,3  0t0 1027 
/dev/null
colord-sa 4053 colord3u 0,90 2241 
anon_inode

colord-sa 4053 colord4u unix 0x8801226a8480  0t0 9027 socket
colord-sa 4053 colord5u  CHR1,3  0t0 1027 
/dev/null
colord-sa 4053 colord6u 0,90 2241 
anon_inode
colord-sa 4053 colord7u  netlink 0t0 10920 
KOBJECT_UEVENT
colord-sa 4053 colord8u IPv49940247  0t0 UDP 
eor.local:8610
colord-sa 4053 colord9u 0,90 2241 
anon_inode
colord-sa 4053 colord   10u IPv49940249  0t0 UDP 
eor.local:8611
colord-sa 4053 colord   11u IPv49940250  0t0 UDP 
eor.local:8612
colord-sa 4053 colord   12u unix 0x88011f179c40  0t0 12417 
socket
colord-sa 4053 colord   13r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord   14u unix 0x8801204a1540  0t0 12420 
socket
colord-sa 4053 colord   15r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord   16u unix 0x880128e96d80  0t0 12606 
socket
colord-sa 4053 colord   17r  CHR1,9  0t0 1032 
/dev/urandom

...
colord-sa 4053 colord 1024u unix 0x880096f3b940  0t0 9916981 
socket
colord-sa 4053 colord 1025r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord 1026u unix 0x88001f6080c0  0t0 9918029 
socket
colord-sa 4053 colord 1027r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord 1028r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord 1029r  CHR1,9  0t0 1032 
/dev/urandom

...
colord-sa 4053 colord 1056r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord 1057r  CHR1,9  0t0 1032 
/dev/urandom
colord-sa 4053 colord 1058u IPv49940253  0t0 UDP 
eor.local:8613
colord-sa 4053 colord 1059u IPv49940255  0t0 UDP 
eor.local:8614


[root@eor jcollier]#  lsof -p 4053 | grep urandom | wc
5384842   46268
[root@eor jcollier]#  lsof -p 4053 | grep socket | wc
5094581   40720
[root@eor jcollier]#  strace -p 4053
Process 4053 attached - interrupt to quit
select(1060, [8 10 11 1057], NULL, NULL, {1, 0}) = 1 (in [1057], left 
{0, 96})
select(1060, [8 10 11 1057], NULL, NULL, {1, 0}) = 1 (in [1057], left 
{0, 96})
select(1060, [8 10 11 1057], NULL, NULL, {1, 0}) = 1 (in [1057], left 
{0, 96})
select(1060, [8 10 11 1057], NULL, NULL, {1, 0}) = 1 (in [1057], left 
{0, 96})

 (spinning fast)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: Unplugging a USB flash card stopped colord-sane from eating CPU

2014-02-12 Thread Kingsley G. Morse Jr.
Hi,

I'm happy to report that colord-sane stopped
consuming too much CPU when I unplugged a USB
flash drive/card from a USB port.

Reinserting the USB device and writing to it failed
to make colord-sane resume consuming too much CPU.

I'm using version 0.1.21-2 of the colord package.

For what it's worth, it occurred to me that this bug
may be related to a bug in AMD hardware.

According to page 21 of AMD's 

SB700 Family Product Errata Silicon Errata for SB700, SB710 and SB750

at

developer.amd.com/wordpress/media/2012/10/46837.pdf

transmission errors on packet identifiers may cause
the USB host controller to reinitialize a device.

I hope that helps,
Kingsley

-- 
Time is the fire in which we all burn.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: colord color-sane

2014-01-03 Thread Jared Butlin
I am also having this issue. Not sure when it kicks on but I have several
networked (not connected by usb) brother printers (2 of which have
scanner). An epson v300 scanner installed, but did not trigger the latest
occurrence, as I haven't plugged it in today. A usb mouse (microsoft, 1383)
and a kgear usb hard drive are the only USB items plugged in today, which
may have triggered it. Let me know if you need debugging info.


Bug#668325: colord eating CPU still occure

2013-07-22 Thread gilles ballanger
Hello,

with a fresh wheezy install I just have the same problem :

colord3264  0.7  0.2  40748 10648 ?tl   juil.21  12:17
/usr/lib/i386-linux-gnu/colord/colord-sane

 I try to attach with gdb the colord process and step inside program to
grab some trace. Apparently process loop is :

1428in pixma_bjnp.c
(gdb)
1426in pixma_bjnp.c
(gdb)
sanei_debug_pixma_call (level=level@entry=11, msg=msg@entry=0xb59c6a3c
Select returned, time left %d.%d\n)
at ../include/sane/sanei_debug.h:131
131../include/sane/sanei_debug.h: Aucun fichier ou dossier de ce type.
(gdb)
0xb59afc8b in __x86.get_pc_thunk.bx () from
/usr/lib/i386-linux-gnu/sane/libsane-pixma.so.1
(gdb)
Single stepping until exit from function __x86.get_pc_thunk.bx,
which has no line number information.
sanei_debug_pixma_call (level=level@entry=11, msg=msg@entry=0xb59c6a3c
Select returned, time left %d.%d\n)
at ../include/sane/sanei_debug.h:134
134in ../include/sane/sanei_debug.h
(gdb)
135in ../include/sane/sanei_debug.h
(gdb)
sanei_debug_msg (level=level@entry=11, max_level=0, be=be@entry=0xb59c404a
pixma,
fmt=fmt@entry=0xb59c6a3c Select returned, time left %d.%d\n,
ap=ap@entry=0xbfebed18 ) at sanei_init_debug.c:98
98sanei_init_debug.c: Aucun fichier ou dossier de ce type.
(gdb)
101in sanei_init_debug.c
(gdb)
98in sanei_init_debug.c
(gdb)
0xb770595b in __x86.get_pc_thunk.bx () from
/usr/lib/i386-linux-gnu/libsane.so.1
(gdb)
Single stepping until exit from function __x86.get_pc_thunk.bx,
which has no line number information.
sanei_debug_msg (level=level@entry=11, max_level=0, be=be@entry=0xb59c404a
pixma,
fmt=fmt@entry=0xb59c6a3c Select returned, time left %d.%d\n,
ap=ap@entry=0xbfebed18 ) at sanei_init_debug.c:101
101in sanei_init_debug.c
(gdb)
98in sanei_init_debug.c
(gdb)
101in sanei_init_debug.c
(gdb)
127in sanei_init_debug.c
(gdb)
sanei_debug_pixma_call (level=level@entry=11, msg=msg@entry=0xb59c6a3c
Select returned, time left %d.%d\n)
at ../include/sane/sanei_debug.h:137
137../include/sane/sanei_debug.h: Aucun fichier ou dossier de ce type.
(gdb)
sanei_bjnp_find_devices (conf_devices=conf_devices@entry=0xb59ce240,
attach_bjnp=attach_bjnp@entry=0xb59b7510 attach_bjnp,
pixma_devices=pixma_devices@entry=0xb59cc0a0) at pixma_bjnp.c:1428
1428pixma_bjnp.c: Aucun fichier ou dossier de ce type.
(gdb)
1441in pixma_bjnp.c
(gdb)
1428in pixma_bjnp.c
(gdb)
1430in pixma_bjnp.c
(gdb)
1430in pixma_bjnp.c
(gdb)
1430in pixma_bjnp.c
(gdb)
1430in pixma_bjnp.c
(gdb)
1430in pixma_bjnp.c
(gdb)
1500in pixma_bjnp.c
(gdb)
1501in pixma_bjnp.c
(gdb)
1502in pixma_bjnp.c
(gdb)
1424in pixma_bjnp.c
(gdb)
1426in pixma_bjnp.c
(gdb)
1428in pixma_bjnp.c
(gdb)
1426in pixma_bjnp.c
(gdb)
sanei_debug_pixma_call (level=level@entry=11, msg=msg@entry=0xb59c6a3c
Select returned, time left %d.%d\n)
at ../include/sane/sanei_debug.h:131
131../include/sane/sanei_debug.h: Aucun fichier ou dossier de ce type.
(gdb)

...

here is some other information on my system :

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:080f Logitech, Inc. Webcam C120
Bus 002 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 008: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse

I will try to keep the process locked in gdb for some day if you want any
dump or specific action.

regards,
Gilles


Bug#668325: colord-sane consumes 40-82% cpu at all times

2013-01-24 Thread Martin Perz
Package: colord
Version: 0.1.21-1
Followup-For: Bug #668325

Hello,
I also have experienced this bug. I just discovered in which situation colord-
sane gets crazy. It happens every time I unplug the USB-cable of my Brother
DCP-195C (multifunction printer and scanner) after I was scanning something.
Just after unplugging the printer colord-sane starts to use about 50% of the
CPU.

I hope this information is helping to fix the bug. If you need further
information, just ask.

Kind regards,
Martin



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages colord depends on:
ii  acl2.2.51-8
ii  adduser3.113+nmu3
ii  libc6  2.13-37
ii  libcolord1 0.1.21-1
ii  libglib2.0-0   2.33.12+really2.32.4-3
ii  libgudev-1.0-0 175-7
ii  libgusb2   0.1.3-5
ii  liblcms2-2 2.2+git20110628-2.2
ii  libpolkit-gobject-1-0  0.105-3
ii  libsane1.0.22-7.4
ii  libsqlite3-0   3.7.13-1
ii  libusb-1.0-0   2:1.0.11-1
ii  multiarch-support  2.13-37
ii  policykit-10.105-3

colord recommends no packages.

colord suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681807: Bug#668325: marked as done (colord-sane consumes 40-82% cpu at all times)

2012-10-11 Thread Felix Zweig
found 668325 0.1.21-4
thanks

Unfortunately, today colord-sane started going crazy again. So, I have
to reopen this. Sorry guys...


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681807: Bug#668325: marked as done (colord-sane consumes 40-82% cpu at all times)

2012-10-11 Thread Felix Zweig
On 10/11/2012 07:05 PM, Felix Zweig wrote:
 Unfortunately, today colord-sane started going crazy again. So, I have
 to reopen this. Sorry guys...

Excuse me, that should have gone to another address. ;)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325:

2012-09-25 Thread Christopher James Halse Rogers
Fun fact: sane_exit(), contrary to its documentation, does not clean up
all the resources used by sane and its backends.

Specifically, a bunch of backends will fail to close the file
descriptors opened in sane_get_devices(). Since colord-sane rescans for
devices on a timer, after some time we run out of fds.

On Ubuntu, this results in a crash in the FORTIFY_SOURCE checks when
sane tries to add an fd  1024 to an FD_SET. It seems we don't build
with that on Debian, so we instead it seems we try to select() on an
invalid fd. With hilarious consequences!

Urgh.

So I'll rework colord-sane to only call sane_get_devices once before
exiting, and just get respawned for each poll.


signature.asc
Description: This is a digitally signed message part


Bug#668325: ditto

2012-09-24 Thread Joey Hess
found 668325 0.1.21-2
thanks

Just encountered this bug with the plausibly fixed version.
strace showed a tight select loop; 100% cpu usage. Top
showed 100 mb or more of memory, which seems excessive. I did not
debug further.

I had just been plugging in 100 usb flash drives (really!),
followed by plugging in an android phone with a dead battery.
Unsure which of these devices woke up colord.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#668325: ditto

2012-09-24 Thread Christopher James Halse Rogers
Well, that's ruined a perfectly good thread-unsafety hypothesis.

Upstream has entirely removed sane support in git due to bugs, relying
only on udev for scanner enumeration.

I'd like to fix it up instead of remove it, as there are plenty of
network-attached scanners that won't be supported without sane, but
failing that this will be fixed in 0.1.24 when the code is excised.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: colord-sane consumes 40-82% cpu at all times

2012-07-23 Thread Witold Baryluk
Package: colord
Version: 0.1.21-1
Followup-For: Bug #668325

It looks colord-sane calls select every few miliseconds,
and despite 1.0 second timeout
(please increase it to more, like 60 seconds, to allow deeper CPU sleep),
it returns every few microseconds.

$ strace -f -t -p `pidof colord-sane`

[pid 18071] 18:08:01 select(1203, [1090 1091 1093 1094 1096 1097 1099 1104 1105 
1106 1109  1112 1114 1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 
1135 1137 1139 1140 1142 1143 1147 1184 1185 1186 1187], NULL, NULL, {1, 0}) = 
36 (in [1090 1091 1093 1094 1096 1097 1099 1104 1105 1106 1109  1112 1114 
1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 1135 1137 1139 1140 1142 
1143 1147 1184 1185 1186 1187], left {0, 81})
[pid 18071] 18:08:01 select(1203, [1090 1091 1093 1094 1096 1097 1099 1104 1105 
1106 1109  1112 1114 1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 
1135 1137 1139 1140 1142 1143 1147 1184 1185 1186 1187], NULL, NULL, {1, 0}) = 
36 (in [1090 1091 1093 1094 1096 1097 1099 1104 1105 1106 1109  1112 1114 
1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 1135 1137 1139 1140 1142 
1143 1147 1184 1185 1186 1187], left {0, 81})
[pid 18071] 18:08:01 select(1203, [1090 1091 1093 1094 1096 1097 1099 1104 1105 
1106 1109  1112 1114 1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 
1135 1137 1139 1140 1142 1143 1147 1184 1185 1186 1187], NULL, NULL, {1, 0}) = 
36 (in [1090 1091 1093 1094 1096 1097 1099 1104 1105 1106 1109  1112 1114 
1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 1135 1137 1139 1140 1142 
1143 1147 1184 1185 1186 1187], left {0, 81})
[pid 18071] 18:08:01 select(1203, [1090 1091 1093 1094 1096 1097 1099 1104 1105 
1106 1109  1112 1114 1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 
1135 1137 1139 1140 1142 1143 1147 1184 1185 1186 1187], NULL, NULL, {1, 0}) = 
36 (in [1090 1091 1093 1094 1096 1097 1099 1104 1105 1106 1109  1112 1114 
1116 1117 1119 1123 1124 1125 1126 1128 1129 1130 1132 1135 1137 1139 1140 1142 
1143 1147 1184 1185 1186 1187], left {0, 79})



Regards,
Witek


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages colord depends on:
ii  acl2.2.51-8
ii  adduser3.113+nmu3
ii  libc6  2.13-34
ii  libcolord1 0.1.21-1
ii  libglib2.0-0   2.32.3-1
ii  libgudev-1.0-0 175-3.1
ii  libgusb2   0.1.3-5
ii  liblcms2-2 2.2+git20110628-2.2
ii  libpolkit-gobject-1-0  0.105-1
ii  libsane1.0.22-7.3
ii  libsqlite3-0   3.7.13-1
ii  libusb-1.0-0   2:1.0.12-2
ii  multiarch-support  2.13-34
ii  policykit-10.105-1

colord recommends no packages.

colord suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: (no subject)

2012-06-13 Thread Felix Zweig
Finally, I got the issue again:

$ apt-cache policy colord
colord:
  Installed: 0.1.21-1
[...]

$ top
USER  PR  NI  VIRT  RES  SHR S  %CPU %MEMTIME+  COMMAND
colord 7   0  199m  11m 3896 R  99.1  0.1 198:53.34 colord-sane
root   6   0  383m 283m  41m R  98.7  3.6 171:39.25 Xorg

$ sudo perf_3.2 top
Events: 36K cycles

 24.08%  nvidia_drv.so[.] 0xf8950
 16.41%  [kernel] [k] set_normalized_timespec
 12.24%  [kernel] [k] timespec_add_safe
 10.33%  libpixman-1.so.0.24.4[.] 0x14875
  6.72%  [kernel] [k] do_select
  4.08%  [kernel] [k] select_estimate_accuracy
  4.07%  [kernel] [k] poll_select_copy_remaining
  3.99%  libc-2.13.so [.] __memcpy_sse2
  3.37%  chrome   [.] 0x2bb15a1
  2.28%  [kernel] [k] fget_light
  0.89%  [kernel] [k] memset
  0.70%  [kernel] [k] copy_user_generic_string
  0.64%  [kernel] [k] fput
  0.51%  [kernel] [k] __rcu_read_unlock
  0.44%  libsane-pixma.so.1.0.22  [.] sanei_bjnp_find_devices
  0.43%  [kernel] [k] ktime_get_ts
  0.37%  [kernel] [k] core_sys_select
  0.36%  [kernel] [k] read_hpet
  0.33%  libnvidia-glcore.so.295.53   [.] 0xfc9c45
  0.24%  libxul.so[.] 0xe87e90
  0.22%  [kernel] [k] __kmalloc
  0.22%  [kernel] [k] task_nice
  0.22%  [vdso]   [.] 0x7fff597ff9ff
  0.22%  [kernel] [k] system_call
  0.21%  [kernel] [k] lapic_next_event
  0.20%  libc-2.13.so [.] __select
  0.19%  [kernel] [k] system_call_after_swapgs
  0.18%  [kernel] [k] native_read_tsc
  0.18%  [kernel] [k] ktime_get
  0.17%  [kernel] [k] sys_select
  0.16%  libflashplayer.so[.] 0x46005a
  0.13%  [kernel] [k] kfree
  0.12%  [kernel] [k] sysret_check
  0.11%  [kernel] [k] __rcu_read_lock
  0.10%  [kernel] [k] hrtimer_interrupt
  0.09%  [kernel] [k] native_sched_clock
  0.09%  [nvidia] [k] _nv004000rm
  0.08%  [kernel] [k] __schedule
  0.08%  [kernel] [k] ret_from_sys_call
  0.08%  [nvidia] [k] _nv008525rm
  0.07%  perf_3.2 [.] 0x41b00

I hope the suffices to debug the problem. Feel free to ask for any other
information. I try to keep my system in this state for some time.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: colord-sane consumes 40-82% cpu at all times

2012-06-13 Thread Patricio Silva
I have the same problem, colord-sane consume 100% of my cpu, and I've
detected a huge network traffic too.

I don't know if it have any relationship with the fact that always, when I
trow the x session, (I don't have dm, y starts with startx command) the
mouse (usb) is not detected, I need to remove and re-insert the usb plug to
make it work.

It's a debian testing/sid with xfce4 desktop

-
$ uname -a
Linux 3.2.0-2-amd64 #1 SMP Mon May 21 17:45:41 UTC 2012 x86_64 GNU/Linux
-
$ aptitude versions colord
Package colord:
i
0.1.21-1
testing,unstable 990

Package colordiff:
p
1.0.9-1
stable,testing   990
p
1.0.10-1
unstable 700

Package gir1.2-colord-1.0:
p
0.1.21-1
testing,unstable 990

Package libcolord-dev:
p
0.1.21-1
testing,unstable 990

Package libcolord-gtk-dev:
p
0.1.21-1
testing,unstable 990

Package libcolord-gtk1:
p
0.1.21-1
testing,unstable 990

Package libcolord1:
i A
0.1.21-1
testing,unstable 990
--
$ apt-cache depends colord
colord
  Depende: libc6
  Depende: libcolord1
  Depende: libglib2.0-0
  Depende: libgudev-1.0-0
  Depende: libgusb2
  Depende: liblcms2-2
  Depende: libpolkit-gobject-1-0
  Depende: libsane
  Depende: libsqlite3-0
  Depende: libusb-1.0-0
  Depende: adduser
  Depende: acl
  Depende: policykit-1
  PreDepende: multiarch-support


Bug#668325: Please test new version

2012-06-10 Thread Richard Genoud
2012/6/5 Richard Genoud richard.gen...@gmail.com:
 the bug is still there with Version: 0.1.21-1
 Next time, I'll gather some informations.
 (but I haven't got the package colord-dbg)
 Richard.

Ok, It's been 5 days since I've seen colord-sane eating my cpu.
So let's say that my last mail was not relevant (maybe I didn't reboot
since foe version 0.1.21-1 installation), and that this bug is closed
for me.
Sorry for the inconvenience.

Richard.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: Please test new version

2012-06-10 Thread Felix Zweig
I had this issue today running 0.1.21-1 from unstable.

I built colord from testing with debug symbols and are waiting for the
issue to reappear, so I can get a proper backtrace.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: Please test new version

2012-06-04 Thread Richard Genoud
2012/5/31 Christopher James Halse Rogers r...@ubuntu.com:
 I can't reproduce this problem on my systems, but it's quite plausible -
 the sane backend was split out into a separate binary due to the
 difficulties in using sane from a long-running process.

 I've just uploaded colord 0.1.21. Although I'm not aware of any specific
 colord-sane bugfixes in there, can you please check whether this is
 fixed in the new version?

 If not, could you please gather some information about what's spinning -
 this could be as simple as installing linux-tools, colord debugging
 symbols, and running ‘perf top’ when your system is in this state.

the bug is still there with Version: 0.1.21-1
Next time, I'll gather some informations.
(but I haven't got the package colord-dbg)

Richard.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: Please test new version

2012-05-31 Thread Christopher James Halse Rogers
I can't reproduce this problem on my systems, but it's quite plausible -
the sane backend was split out into a separate binary due to the
difficulties in using sane from a long-running process.

I've just uploaded colord 0.1.21. Although I'm not aware of any specific
colord-sane bugfixes in there, can you please check whether this is
fixed in the new version?

If not, could you please gather some information about what's spinning -
this could be as simple as installing linux-tools, colord debugging
symbols, and running ‘perf top’ when your system is in this state.


signature.asc
Description: This is a digitally signed message part


Bug#668325: colord-sane consumes 40-82% cpu at all times

2012-05-01 Thread Lucio Crusca
Package: colord
Version: 0.1.18-1
Followup-For: Bug #668325

This bug affects me also. In my case it's 100% of one of the two CPUs.
I have a smartphone attached to a USB port.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (200, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages colord depends on:
ii  acl2.2.51-5
ii  adduser3.113+nmu1
ii  libc6  2.13-27
ii  libcolord1 0.1.18-1
ii  libglib2.0-0   2.32.0-4
ii  libgudev-1.0-0 175-3.1
ii  libgusb2   0.1.3-3
ii  liblcms2-2 2.2+git20110628-2.1
ii  libpolkit-gobject-1-0  0.104-2
ii  libsane1.0.22-7.1
ii  libsqlite3-0   3.7.11-2
ii  libusb-1.0-0   2:1.0.9~rc3-4
ii  multiarch-support  2.13-27
ii  policykit-10.104-2

colord recommends no packages.

colord suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: colord-sane consumes 40-82% cpu at all times

2012-04-16 Thread Douglas Calvert
Package: colord
Version: 0.1.18-1
Followup-For: Bug #668325

I am also experiencing high CPU usage. It seems to happen when I plug in a usb 
device that is not a camera/scanner. is there any way to get debugging info? 

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-rc5+ (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages colord depends on:
ii  acl2.2.51-5
ii  adduser3.113+nmu1
ii  libc6  2.13-27
ii  libcolord1 0.1.18-1
ii  libglib2.0-0   2.32.0-4
ii  libgudev-1.0-0 175-3.1
ii  libgusb2   0.1.3-3
ii  liblcms2-2 2.2+git20110628-2.1
ii  libpolkit-gobject-1-0  0.104-2
ii  libsane1.0.22-7.1
ii  libsqlite3-0   3.7.11-2
ii  libusb-1.0-0   2:1.0.9~rc3-4
ii  multiarch-support  2.13-27
ii  policykit-10.104-2

colord recommends no packages.

colord suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#668325: colord-sane consumes 40-82% cpu at all times

2012-04-10 Thread Brent
Package: colord
Version: 0.1.18-1
Severity: normal

I have noticed my system being bogged down most of the time lately.  I have an
older single processor AMD 1800+ computer.  It has always been fine until
lately.  When I look at the processes running, I see that colord-sane is the
top cpu intensive process that is consuming between 40 and 82% of the cpu at
all times.  Most of the time it consumes  50% of the cpu.  I am going to try
and remove the colord package to fix it.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.12.120328 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages colord depends on:
ii  acl2.2.51-5
ii  adduser3.113+nmu1
ii  libc6  2.13-27
ii  libcolord1 0.1.18-1
ii  libglib2.0-0   2.30.2-6
ii  libgudev-1.0-0 175-3.1
ii  libgusb2   0.1.3-3
ii  liblcms2-2 2.2+git20110628-2.1
ii  libpolkit-gobject-1-0  0.104-2
ii  libsane1.0.22-7
ii  libsqlite3-0   3.7.11-2
ii  libusb-1.0-0   2:1.0.9~rc3-3
ii  multiarch-support  2.13-27
ii  policykit-10.104-2

colord recommends no packages.

colord suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org