2015-03-24 12:59 GMT+01:00 <[email protected]>: > Dear readers,
Hello, > One of may smartcard application running under Mac OS-X suddenly stopped > working. The application does a fork() unless started in debug-mode. It took > me quite a while until I found: > > http://ludovicrousseau.blogspot.de/2015/01/os-x-yosemite-bug-pcsc-functions-crash.html > > It's always fun to search for a bug that disappears if you switch on > debug-mode :-) > > Here's what Ludivic writes in his blog: > > "I verified this behaviour only with SCardListReaders() and SCardConnect(). > I would not be surprised if it is the case for all PC/SC functions (except > SCardEstablishContext() of course)." > > Maybe this will surpise you: Under OS-X Yosemite EVERY PC/SC-function will > crash in > a child process if SCardEstablishContext() was called in the parent process > INCLUDING SCardEstablishContext() itself. > > If SCardEstablishContext() was not called in a parent process > SCardEstablishContext() will fail in a child process with "Service not > available" > > So if you are running a daemon that forks child processes your cannot use > pcsclite anymore from these child processes no matter what you try. > > Any ideas?? Report the bug at Apple and wait for a fix. http://bugreport.apple.com/ Bye -- Dr. Ludovic Rousseau _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
