Le 02/08/13 11:39, Eugen Dedu a écrit :
On 02/08/13 11:20, Ludovic Rousseau wrote:
Le 02/08/13 11:03, Eugen Dedu a écrit :
On 02/08/13 10:56, Ludovic Rousseau wrote:
Can you:
1. run pcscd inside gdb
I have a problem here:
(gdb) run
Starting program: /usr/sbin/pcscd
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[Inferior 1 (process 7795) exited normally]
(gdb)
It looks like a known problem :-(
http://sourceware.org/bugzilla/show_bug.cgi?id=13097
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711913
Note also the following output generated a few days ago:
I see a seg fault at exit but no infinite loop in the log. That is not
the same bug.
Can you reproduce the 100% CPU problem using "pcscd -d -f" now?
Ok, I see. Right after a suspend/resume, pcscd goes to 100% CPU. So this is
related to suspend/resume.
The output generated after the suspend/resume is:
12796601 hotplug_libudev.c:587:HPEstablishUSBNotifications() Device removed
00008392 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00019374 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[...]
00000802 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000529 hotplug_libudev.c:587:HPEstablishUSBNotifications() Device removed
00004667 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[..]
00009838 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00009786 hotplug_libudev.c:587:HPEstablishUSBNotifications() Device removed
00002195 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[...]
00001705 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000460 hotplug_libudev.c:587:HPEstablishUSBNotifications() Device removed
00015193 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[similar lines]
Thanks. It may be a libudev bug. Or a wrong way pcscd uses it.
I do not have a laptop to test suspend/resume. So it may be a bit complex to
debug.
You can install systemd so that pcscd is started only when needed. So if you do
not use pcscd at the suspend time you will not have the problem.
Note that the segmentation fault appears after pressing ctrl-c.
I would need a gdb backtrace to debug that.
BYe
--
Dr. Ludovic Rousseau
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org