2012/7/5 Martin Vogt <[email protected]>: > On Thu, Jul 5, 2012 at 4:16 PM, Ludovic Rousseau > <[email protected]> wrote: >> I think I fixed the pattern A crash in revision 6388. Can you try >> again with an up-to-date subversion version of pcsc-lite? > > I have upgraded to current ccid and pcscd svn. > I let the disconnect.sh script run for ~10minutes without a problem up > to now. (no segfault) > After the test the token worked without problems.
Great. >> I also got the patern B endless loop. I suspect a bug in libudev so >> the pcscd do not receive the device remove event. But maybe it is a >> bug in pcscd. I don't know how to reproduce the bug. > > I just had it too, but I have no idea how to reproduce it. > If its in udev, does this mean the pattern B does not happen when building > with libusb? (My build was with udev too, so maybe I should try libusb) hotplug_libusb.c uses a USB bus scanning loop. So if a device disappear it will be discovered at one point. hotplug_libudev.c uses events from udev. So if a device disappear and the removal event is lost then the pcscd will continue trying to use the device indefinitely. The only way to escape the lopp is to kill pcscd or to wait for pcscd to auto exit. Bye -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
