[pkg-opensc-maint] Bug#906700: /usr/bin/opensc-notify: opensc-notify tool eating CPU core with no GUI
Eduard Bloch
bloch at unix-ag.uni-kl.de
Sun Aug 19 22:38:28 BST 2018
Package: opensc
Version: 0.18.0-3
Severity: normal
File: /usr/bin/opensc-notify
Dear Maintainer,
* What led up to the situation?
Found OpenSC notify in the menu. Not sure when the package was installed
and why.
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
No application window appeared. Instead, my fan is howling and I see that a task called opensc-notify is consuming all power of one CPU core.
I cannot not even kill it normally, needs kill -9.
* What outcome did you expect instead?
Since it's a desktop entry, something should be shown to the user within a few seconds.
I straced a such opensc-notify call, I see nothing special here. Smells like a
stupid bug in the application code to me.
[pid 20602] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 8
[pid 20602] connect(8, {sa_family=AF_UNIX, sun_path="/var/run/pcscd/pcscd.comm"}, 28) = 0
[pid 20602] fcntl(8, F_GETFL) = 0x2 (flags O_RDWR)
[pid 20602] fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 20602] select(9, NULL, [8], NULL, NULL) = 1 (out [8])
[pid 20602] sendto(8, "\f\0\0\0\21\0\0\0", 8, MSG_NOSIGNAL, NULL, 0) = 8
[pid 20602] select(9, NULL, [8], NULL, NULL) = 1 (out [8])
[pid 20602] sendto(8, "\4\0\0\0\3\0\0\0\0\0\0\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
[pid 20602] select(9, [8], NULL, NULL, NULL) = 1 (in [8])
[pid 20602] read(8, "\4\0\0\0\3\0\0\0\0\0\0\0", 12) = 12
[pid 20602] select(9, NULL, [8], NULL, NULL) = 1 (out [8])
[pid 20602] sendto(8, "\f\0\0\0\1\0\0\0", 8, MSG_NOSIGNAL, NULL, 0) = 8
[pid 20602] select(9, NULL, [8], NULL, NULL) = 1 (out [8])
[pid 20602] sendto(8, "\0\0\0\0\0\0\0\0\0\0\0\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
[pid 20602] select(9, [8], NULL, NULL, NULL) = 1 (in [8])
[pid 20602] read(8, "\0\0\0\0\25P\366#\0\0\0\0", 12) = 12
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-rc4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages opensc depends on:
ii libc6 2.27-5
ii libglib2.0-0 2.56.1-2
ii libreadline7 7.0-5
ii libssl1.1 1.1.0h-4
ii opensc-pkcs11 0.18.0-3
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages opensc recommends:
ii pcscd 1.8.23-3
opensc suggests no packages.
-- no debconf information
More information about the pkg-opensc-maint
mailing list