touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #115147
[Bug 1511674] Re: Memory leak
Thanks for the log.
Your problem now is not with the flood of "Device removed" logs but with the RAM consumption. exact?
Do you also see the RAM consumption growing if your PC/SC application is
NOT 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/1511674
Title:
Memory leak
Status in pcsc-lite package in Ubuntu:
New
Bug description:
I noticed that pcscd consumes a lot of memory (5GB after 48h since start) in one of my computers (ubuntu 14.04 64-bit pcsc-lite version 1.8.10.)
In debug mode pcscd shows a lot of USB "device removed" notifications:
00000102 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed
00001297 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[cut - long list of usb devices]
00000246 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x03EB, PID: 0x2044, path: /dev/bus/usb/001/067
00022327 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00500329 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
00500341 winscard_svc.c:319:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Flood of "device removed" messages was caused by some broken USB
device (not card reader - CDC-ACM device), but it doesn't explain why
pcscd allocated 5GB of memory. Is it some memory leak in pcscd?
lsb_release -rd:
Description: Ubuntu 14.04.3 LTS
Release: 14.04
pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
Version table:
*** 1.8.10-1ubuntu1 0
500 http://pl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1511674/+subscriptions
References