Hi Ludovic, Below is the list of information you requested:
1. smart card reader driver name and version: no card reader was connected during the test, only test application was getting a list of card readers every 500ms 2. pcsc-lite version: pcsc-lite version 1.8.10. Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. Report bugs to <mus...@lists.musclecard.com>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d 3. Operating system or GNU/Linux distribution name and version: Description: Ubuntu 14.04.3 LTS Release: 14.04 4. Log is attached. Please let me know if you need additional information. ** Attachment added: "log.txt" https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1511674/+attachment/4510990/+files/log.txt -- You received this bug notification because you are a member of Desktop 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp