[Pcsclite-muscle] SCardCancel broken

Sam Van Den Berge sam.van.den.berge at telenet.be
Tue Jul 24 04:26:58 PDT 2018


Hello,

It seems like SCardGetStatusChange is currently broken.
This can be tested with UnitaryTests/SCardCancel. 

Before commit 984f84df10e2d0f432039e3b31f94c74e95092eb:

$ LD_LIBRARY_PATH=../src/.libs/ ./SCardCancel
SCardEstablishContext:[0x00000000] Command successful.
Press Enter to cancel within 3 seconds
Entering blocking call

Calling SCardCancel...
SCardGetStatusChange:[0x80100002] Command cancelled.
Blocking call canceled
Good
SCardCancel:[0x00000000] Command successful.
SCardReleaseContext:[0x00000000] Command successful.
Waiting thread...

After commit 984f84df10e2d0f432039e3b31f94c74e95092eb:

$ LD_LIBRARY_PATH=../src/.libs/ ./SCardCancel
SCardEstablishContext:[0x00000000] Command successful.
Press Enter to cancel within 3 seconds
Entering blocking call

Calling SCardCancel...
SCardCancel:[0x00000000] Command successful.

<<<<<<<<< SCardGetStatusChange hangs here >>>>>>>>>

I don't have a fix but I just wanted to report this. Besides this big
thank you for all your great work!

Kr,
Sam.



More information about the pcsclite-muscle mailing list