Re: Race condition with SCardGetStatusChange() when USB Reader is removed
Ludovic Rousseau <[email protected]> Thu, 11 May 2017 20:23:46 +0200
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <CAGstE8B=1sYxYN+08g-tfCc1bRaimVA2nMWWwsAfke+-0QnWyw@mail.gmail.com> |
2017-05-11 17:17 GMT+02:00 Maximilian Stein <[email protected]>: > > I was not using the correct libpcsclite. > > Now I can reproduce the problem using your C code. > > Can this become a general issue with pyscard? In the end I didn't quite > understand why the python unit tests used a 'different' libpcsclite when > there was only the patched version installed on the system... > In my case I played with pcsc-spy [1]. install_spy.sh [2] confused the libraries. I don't know what problem you had/have with PySCard. Maybe you have multiple and different libpcsclite.so.1 available in your system. Thanks for the fix. I was unsure if something could break when the > notification in the status handler thread was removed, though it didn't > seem so. > I reviewed the code and it should be OK. Bye [1] https://ludovicrousseau.blogspot.fr/2011/11/pcsc-api-spy-third-try.html [2] https://anonscm.debian.org/cgit/pcsclite/PCSC.git/tree/src/spy/install_spy.sh -- Dr. Ludovic Rousseau _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle