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: 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#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: 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: 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