[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
This bug was fixed in the package ccid - 1.4.22-1ubuntu0.1 --- ccid (1.4.22-1ubuntu0.1) xenial-proposed; urgency=low * debian/patches/close-libusb-on-failure.patch: Make sure close_libusb_if_needed is called even if no device was opened, otherwise it triggers a segfault. (LP: #1551897) -- Evan BroderMon, 09 May 2016 12:28:36 -0700 ** Changed in: ccid (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: Fix Released Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Thanks Martin. I've confirmed that the package solves the issue for me. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: Fix Committed Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Hello Casey, or anyone else affected, Accepted ccid into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ccid/1.4.22-1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: ccid (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: Fix Committed Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Sorry about that, Martin. Not sure what happened. Just re-uploaded without the noise. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: In Progress Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Evan: d/patches/close-libusb-on-failure.patch looks fair enough, but what is debian/patches/test? It's a patch of a patch, not referenced/explained in the changelog, what does that do? Please either explain in the changelog or if it is just noise please remove and reupload. Thanks! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: In Progress Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Hello, I've the same problem with my laptop (Dell Latitude E7450). If I can help don't hesitate to ask me. I can give you some logs if you want. Best regards, Sylvain -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: In Progress Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Changed in: ccid (Ubuntu Xenial) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: In Progress Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de-initialize the USB library when it skips over the non- CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Description changed: + + [DESCRIPTION] + + When hotplugging a composite USB device that expose multiple interfaces + (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de- + initialize the USB library when it skips over the non-CCID interface. + + This subsequently results in pcscd (or, presumably, anything that loads + libccid, though I don't think anything else does) either using 100% CPU + or segfaulting when the device is unplugged. + + This seems worthy of an SRU as it is an easily reproducible bug with a + simple, targeted fix. + + [TEST CASE] + + 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) + 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) + 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) + + [REGRESSION POTENTIAL] + + The patch is quite narrow, and thus the potential for regression should + be limited. The new code adds calls to close_libusb_if_needed, which is + already written to be fairly conservative. + + The worst case here is likely an unexpected call to libusb_exit, which + could cause libusb to get into an inconsistent state. However, in + practice the call seems quite safe, and the likelihood of regression + low. + + + == + Original bug description: + In xenial, pcscd CPU utilization occasionally goes haywire: - PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND - 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit + PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND + 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 ** Description changed: - - [DESCRIPTION] + [Impact] When hotplugging a composite USB device that expose multiple interfaces (such as a Yubikey NEO or Yubikey 4), libccid does not correctly de- initialize the USB library when it skips over the non-CCID interface. This subsequently results in pcscd (or, presumably, anything that loads libccid, though I don't think anything else does) either using 100% CPU or segfaulting when the device is unplugged. This seems worthy of an SRU as it is an easily reproducible bug with a simple, targeted fix. - [TEST CASE] + [Test Case] 1. Make sure pcscd is running (sudo systemctl start pcscd; possibly sudo systemctl restart pcscd if a potentially fixed package has just been installed) 2. Plug and then unplug a composite USB device that includes a CCID interface (such as a Yubikey NEO) 3. Observe that pcscd has crashed with a segfault (sudo systemctl status pcscd) - [REGRESSION POTENTIAL] + [Regression Potential] The patch is quite narrow, and thus the potential for regression should be limited. The new code adds calls to close_libusb_if_needed, which is already written to be fairly conservative. The worst case here is likely an unexpected call to libusb_exit, which could cause libusb to get into an inconsistent state. However, in practice the call seems quite safe, and the likelihood of regression low. - == Original bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: In Progress Status in pcsc-lite source package in
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
This is actually a bug in ccid's handling of composite USB devices, and has been fixed upstream (https://alioth.debian.org/plugins/scmgit/cgi- bin/gitweb.cgi?p=pcsclite/CCID.git;a=commitdiff_plain;h=3c21f452543983f3625a1965ce234074cbda6865). My experience was that this bug caused pcscd to segfault, rather than to consume 100% CPU, but the fix appears to be the same either way. I've attached a debdiff that fixes the issue for me, and I've uploaded a test build to my PPA (https://launchpad.net/~broder/+archive/ubuntu /ubuntu-tests). I suspect this merits an SRU, since it's a significant regression in functionality without a good workaround; I'll start on the paperwork. ** Patch added: "ccid_1.4.22-1ubuntu0.1.debdiff" https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+attachment/4659458/+files/ccid_1.4.22-1ubuntu0.1.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: Confirmed Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Also affects: ccid (Ubuntu) Importance: Undecided Status: New ** Also affects: ccid (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: pcsc-lite (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: ccid (Ubuntu Xenial) Status: New => Confirmed ** Changed in: ccid (Ubuntu) Status: New => Fix Released ** Changed in: pcsc-lite (Ubuntu) Status: Confirmed => Invalid ** Changed in: pcsc-lite (Ubuntu Xenial) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in ccid package in Ubuntu: Fix Released Status in pcsc-lite package in Ubuntu: Invalid Status in ccid source package in Xenial: Confirmed Status in pcsc-lite source package in Xenial: Invalid Status in pcsc-lite package in Debian: Fix Released Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Changed in: pcsc-lite (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Status in pcsc-lite package in Debian: Fix Released Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Changed in: pcsc-lite (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Status in pcsc-lite package in Debian: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Also affects: pcsc-lite (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Status in pcsc-lite package in Debian: Unknown Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Thank you Ludovic. Laptop is quiet again. (needed to install -dev files to get over /configure errors, if anyone else is confused) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Johnny, you can disable support of the Broadcom device. - Get the source code of the libccid driver from https://alioth.debian.org/frs/?group_id=30105#title_ccid. - edit the file readers/supported_readers.txt - remove the line "0x0A5C:0x5800:Broadcom Corp 5880" - run the commands $ ./configure $ make $ make install DESTDIR=/tmp/ccid $ sudo cp /tmp/ccid/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist /etc/libccid_Info.plist -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
I reported the bug upstream to libudev project https://github.com/systemd/systemd/issues/2946 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
I use my non-integrated omnikey 1021 usb smartcard-reader, so pcscd is still needed, correct? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Johnny, you can remove the pcscd package if you do not use it. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Is there a way to disable the device in software, so i could just use my usb card-reader? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
It looks like the problem is related to some specific readers only: Broadcom Corp 5880 and Yubico Yubikey NEO U2F+CCID -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
So in my case it triggers when i connect some usb device (mouse, usb-flash-memory, phone). Sometimes it calms down after unmount and unplug of usb-memory, and does not come back until i logout of lubuntu desktop (and login and plugin again). Another way of triggering 100% is in my case having usb-memory plugged in and starting firefox. This firefox has estonian id-card plugin installed. I guess that plugin starts looking for id-card or device. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Attachment added: "lsusb-v.txt" https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+attachment/4615641/+files/lsusb-v.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Johnny, can you attach the result of the command "lsusb -v"? Thanks -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Sorry again, Ludovic, i have no idea what this pcscd does so i thought its some general error. Is this bug device specific? Then i have an Dell laptop with integrated smart-card reader (which im not using physically, since some metal is bended on the way of the card.) (The most used here is omnikey 1021, but that thing is not connected to the computer when the one cpu-core goes 100%) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Casey, it looks like the problem is related to the use of a "Yubico Yubikey NEO U2F+CCID" device. Unfortunately I do not have such a device myself so I can't reproduce the problem here :-( Johnny, why do you say "Probably most people using Estonian ID-Card on those distros will be affected?"? What smart card reader(s) are provided with the Estonian ID-Card? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
hey, sorry, total noob here, what i got is: pcscdaemon.c:263:main() pcscd set to foreground with debug send to stdout 0021 debuglog.c:312:DebugLogSetCategory() Debug options: APDU 0016 pcscdaemon.c:268:main() Force colored logs 0037 pcscdaemon.c:403:main() file /var/run/pcscd/pcscd.comm already exists. 0006 pcscdaemon.c:405:main() Another pcscd (pid: 7349) seems to be running. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Can you do: sudo LIBUSB_DEBUG=99 pcscd -dfaT | tee log.txt and add to this bug the created log.txt file? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Hmm, conveniently just had a crash. No idea if there is anything useful there : https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1561702 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Probably most people using Estonian ID-Card on those distros will be affected? Not good :( -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pcsc-lite (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: Confirmed Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
I installed Ubuntu Xenial (beta) in a VirtualBox virtual machine and I can't reproduce the problem :-( I could connect a CCID reader and a USB mass storage with no problem on pcscd. Can you reproduce the problem in a Virtual Machine on your side? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
I can work around this with my custom build of pcscd with udev disabled, but it seems that this issue will still affect Debian and Ubuntu users who install the package. Can we mark this bug as Confirmed, since my symptoms are so similar to the descriptions in the Debian bug[1] you've linked above? Anything else I can do to help? Thanks, Casey [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
If you use --disable-libudev you use use the older hotplug mechanism. See http://ludovicrousseau.blogspot.com/2011/02/pcscd-now-uses-libudev-instead-of.html At least that will avoid the 100% CPU issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Recompiling with --disable-libudev gets rid of the 100% CPU problem and I can still use my smartcard. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Here's a core dump with the corresponding pcscd binary I built from source, which was taken in the above-mentioned gdb session. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
** Attachment added: "pcscd binary and core dump" https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+attachment/4588521/+files/pcscd-core-bin.tar.bz2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Ran it with gdb, reproduced, and then interrupted when it started consuming 100% CPU: Thread 1 "pcscd" received signal SIGINT, Interrupt. 0x774e2853 in select () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x774e2853 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00411cfd in ProcessEventsServer (pdwClientID=pdwClientID@entry=0x7fffe49c) at winscard_msg_srv.c:223 #2 0x004037f9 in SVCServiceRunLoop () at pcscdaemon.c:128 #3 main (argc=, argv=) at pcscdaemon.c:685 (gdb) info threads Id Target Id Frame * 1Thread 0x77fb9740 (LWP 18298) "pcscd" 0x774e2853 in select () from /lib/x86_64-linux-gnu/libc.so.6 2Thread 0x76fb0700 (LWP 18302) "pcscd" 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 3Thread 0x767af700 (LWP 18303) "pcscd" 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 4Thread 0x75fae700 (LWP 18304) "pcscd" 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 5Thread 0x757ad700 (LWP 18305) "pcscd" 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread 2 [Switching to thread 2 (Thread 0x76fb0700 (LWP 18302))] #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x76fc064c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x777b666a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread 3 [Switching to thread 3 (Thread 0x767af700 (LWP 18303))] #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x76fc064c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x777b666a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread 4 [Switching to thread 4 (Thread 0x75fae700 (LWP 18304))] #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x76fb9bc5 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x76fbab53 in libusb_handle_events_timeout_completed () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #3 0x76fbac3f in libusb_handle_events () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #4 0x771d64bc in ?? () from /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so #5 0x771d0b83 in ?? () from /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so #6 0x004064db in EHStatusHandlerThread (rContext=0x61f010) at eventhandler.c:464 #7 0x777b666a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #8 0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread 5 [Switching to thread 5 (Thread 0x757ad700 (LWP 18305))] #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x0040eeaa in poll (__timeout=-1, __nfds=1, __fds=0x757aced0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 HPEstablishUSBNotifications (arg=0x649910) at hotplug_libudev.c:624 #3 0x777b666a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #4 0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to :
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Oh, here's /var/log/syslog from unplugging and replugging in my camera. I Ctrl-C killed pcscd after it went to 100% each time. pcscd segfaulted. Mar 4 12:04:11 mawhrin-skel pcscd: debuglog.c:289:DebugLogSetLevel() debug level=debug Mar 4 12:04:13 mawhrin-skel kernel: [14604.513268] usb 3-1: USB disconnect, device number 6 Mar 4 12:04:13 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools. Mar 4 12:04:13 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools. Mar 4 12:04:13 mawhrin-skel laptop-mode: Laptop mode Mar 4 12:04:13 mawhrin-skel laptop_mode[17937]: Laptop mode Mar 4 12:04:13 mawhrin-skel laptop-mode: enabled, not active [unchanged] Mar 4 12:04:13 mawhrin-skel laptop_mode[17937]: enabled, not active [unchanged] Mar 4 12:04:53 mawhrin-skel systemd[1]: Starting Laptop Mode Tools - Battery Polling Service... Mar 4 12:04:53 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools. Mar 4 12:04:53 mawhrin-skel systemd[1]: Started Laptop Mode Tools - Battery Polling Service. Mar 4 12:04:53 mawhrin-skel laptop-mode: Laptop mode Mar 4 12:04:53 mawhrin-skel laptop_mode[17997]: Laptop mode Mar 4 12:04:53 mawhrin-skel laptop-mode: enabled, not active [unchanged] Mar 4 12:04:53 mawhrin-skel laptop_mode[17997]: enabled, not active [unchanged] Mar 4 12:04:53 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools. Mar 4 12:05:01 mawhrin-skel CRON[18049]: (root) CMD ([ -x /usr/sbin/dma ] && /usr/sbin/dma -q1) Mar 4 12:05:17 mawhrin-skel kernel: [14668.018203] pcscd[17921]: segfault at 7f447696064c ip 7f447696064c sp 7f447694fed0 error 14 in libc-2.21.so[7f4476d85000+1c] Mar 4 12:05:20 mawhrin-skel pcscd: debuglog.c:289:DebugLogSetLevel() debug level=debug Mar 4 12:05:30 mawhrin-skel kernel: [14681.443071] usb 3-1: new high-speed USB device number 7 using xhci_hcd Mar 4 12:05:31 mawhrin-skel kernel: [14681.844167] usb 3-1: New USB device found, idVendor=046d, idProduct=0825 Mar 4 12:05:31 mawhrin-skel kernel: [14681.844175] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2 Mar 4 12:05:31 mawhrin-skel kernel: [14681.844179] usb 3-1: SerialNumber: DD923C60 Mar 4 12:05:31 mawhrin-skel kernel: [14681.845342] uvcvideo: Found UVC 1.00 device (046d:0825) Mar 4 12:05:31 mawhrin-skel kernel: [14681.937806] input: UVC Camera (046d:0825) as /devices/pci:00/:00:14.0/usb3/3-1/3-1:1.0/input/input19 Mar 4 12:05:32 mawhrin-skel kernel: [14683.279489] usb 3-1: set resolution quirk: cval->res = 384 Mar 4 12:05:32 mawhrin-skel mtp-probe: checking bus 3, device 7: "/sys/devices/pci:00/:00:14.0/usb3/3-1" Mar 4 12:05:32 mawhrin-skel mtp-probe: bus: 3, device: 7 was not an MTP device Mar 4 12:05:32 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools. Mar 4 12:05:32 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools. Mar 4 12:05:32 mawhrin-skel systemd[1]: message repeated 3 times: [ Reloaded Laptop Mode Tools.] Mar 4 12:05:32 mawhrin-skel systemd-udevd[18064]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 1' failed with exit code 99. Mar 4 12:05:32 mawhrin-skel laptop-mode: Laptop mode Mar 4 12:05:32 mawhrin-skel laptop_mode[18067]: Laptop mode Mar 4 12:05:32 mawhrin-skel laptop-mode: enabled, not active [unchanged] Mar 4 12:05:32 mawhrin-skel laptop_mode[18067]: enabled, not active [unchanged] Mar 4 12:05:32 mawhrin-skel pulseaudio[6720]: [pulseaudio] source.c: Default and alternate sample rates are the same. Mar 4 12:05:32 mawhrin-skel rtkit-daemon[6721]: Supervising 3 threads of 1 processes of 1 users. Mar 4 12:05:32 mawhrin-skel rtkit-daemon[6721]: Successfully made thread 18136 of process 6720 (n/a) owned by '1000' RT at priority 5. Mar 4 12:05:32 mawhrin-skel rtkit-daemon[6721]: Supervising 4 threads of 1 processes of 1 users. Mar 4 12:07:09 mawhrin-skel kernel: [14780.487379] pcscd[18060]: segfault at 7f74fedfa64c ip 7f74fedfa64c sp 7f74fede9ed0 error 14 in libc-2.21.so[7f74ff21f000+1c] Mar 4 12:07:43 mawhrin-skel systemd[1]: Starting Laptop Mode Tools - Battery Polling Service... Mar 4 12:07:43 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools. Mar 4 12:07:43 mawhrin-skel systemd[1]: Started Laptop Mode Tools - Battery Polling Service. Mar 4 12:07:43 mawhrin-skel laptop-mode: Laptop mode Mar 4 12:07:43 mawhrin-skel laptop_mode[18161]: Laptop mode Mar 4 12:07:43 mawhrin-skel laptop-mode: enabled, not active [unchanged] Mar 4 12:07:43 mawhrin-skel laptop_mode[18161]: enabled, not active [unchanged] Mar 4 12:07:43 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
It starts consuming 100% CPU after this: 02341452 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed 0217 hotplug_libudev.c:619:HPEstablishUSBNotifications() 0068 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed 0149 hotplug_libudev.c:619:HPEstablishUSBNotifications() 2713 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed 0152 hotplug_libudev.c:619:HPEstablishUSBNotifications() 00020583 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed 0143 hotplug_libudev.c:619:HPEstablishUSBNotifications() 02634822 ifdhandler.c:1143:IFDHPowerICC() action: PowerDown, usb:1050/0115:libudev:1:/dev/bus/usb/003/002 (lun: 0) 0091 eventhandler.c:479:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED or this: 05000574 ifdhandler.c:1143:IFDHPowerICC() action: PowerDown, usb:1050/0115:libudev:1:/dev/bus/usb/003/002 (lun: 0) 0261 eventhandler.c:479:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED 06904552 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add 0242 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x046D, PID: 0x0825, path: /dev/bus/usb/003/007 0015 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a supported smart card reader 0017 hotplug_libudev.c:619:HPEstablishUSBNotifications() 00022668 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add 0214 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x046D, PID: 0x0825, path: /dev/bus/usb/003/007 0013 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a supported smart card reader 0017 hotplug_libudev.c:619:HPEstablishUSBNotifications() 6048 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add 0207 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x046D, PID: 0x0825, path: /dev/bus/usb/003/007 0014 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a supported smart card reader 0015 hotplug_libudev.c:619:HPEstablishUSBNotifications() 00014614 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add 0200 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x046D, PID: 0x0825, path: /dev/bus/usb/003/007 0016 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a supported smart card reader 0014 hotplug_libudev.c:619:HPEstablishUSBNotifications() Basically, if I plug or unplug a USB device, pcscd immediately starting using 100% CPU. Let me know if there is anything else I can send you to help you debug. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
Does your log trace include the moment when pcscd consumed 100% of CPU? I ask because I could not find anything strange in the trace. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
I ran pcscd as you suggested, capturing output. Made sure the smart card was working by using my SSH key. I was then able to reproduce the 100% cpu condition by plugging in my Logitech USB webcam. Attached the output, but I redacted the hex dumps before posting here because I'm not sure if they contain sensitive information. Let me know if you need the original. ** Attachment added: "pcscd debug output (redacted)" https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+attachment/4587143/+files/pcscd.log.redacted -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
It looks like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087 Can you rebuild pcscd with hotplug debug enabled. No need to install pcscd so you can't break your installation. 1. Get the source code of pcsc-lite, for example from https://alioth.debian.org/frs/?group_id=30105_id=2019#pcsclite-_1.8.15 -title-content 2. install the build dependencies using: $ sudo apt-get build-dep pcscd 3. edit the file PCSC/src/hotplug_libudev.c and change the line 66 from #undef DEBUG_HOTPLUG to #define DEBUG_HOTPLUG 4. configure pcsc-lite using "./configure" 5. run pcscd using: $ sudo ./src/pcscd -dfa 6. try to reproduce the 100% CPU consumption problem This may generate a lot of logs if the problem is with libudev. ** Bug watch added: Debian Bug tracker #812087 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1551897] Re: Excessive CPU utilization
This is what I've got installed ^^ c@mawhrin-skel:~/omnibus-layers$ dpkg -l | grep pcscd ii pcscd 1.8.14-1ubuntu1 amd64Middleware to access a smart card using PC/SC (daemon side) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu. https://bugs.launchpad.net/bugs/1551897 Title: Excessive CPU utilization Status in pcsc-lite package in Ubuntu: New Bug description: In xenial, pcscd CPU utilization occasionally goes haywire: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 27404 root 20 0 384264 4992 2228 S 100.3 0.0 75:39.03 /usr/sbin/pcscd --foreground --auto-exit I get this about once a day since installing xenial. I can't quite connect it to any specific event on the system, it just seems to happen sporadically -- fan turns on, I run top, and there it is again. Never had this issue on same hardware incl. smartcard with trusty. I wonder if it might be this? https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=718473 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp