Hi ludovic, I have try it with versions 1.4.2. and 1.5.2, the two versions available on the web of pcsc and it's the same behavior. I'm doing the tests with GNU/Linux.
Do you need more info? Thanks -- Marc Rios Vallès m...@c3po.es C3PO, S.A. http://www.c3po.es C/ Alejandro Goicoechea, 6 Local 9 - 08960 St. Just Desvern, Barcelona Tel. 93 417 99 55 - Fax 93 253 12 80 On Viernes 17 Abril 2009 09:44:15 you wrote: > 2009/4/17 Marc Rios Valles <m...@c3po.es>: > > Hi, > > Hello, > > > I think we (C3PO) have discovered a bug in the file pcsc-reader.c. We are > > developing a card driver that needs to call 2 times each execution to > > sc_reset because its a card that works under secure_channel and we need > > to assure that we break the secure channel befor we recreate it. If I > > execute for example 'pkcs11-tool -Il' the first execution works correct, > > but after this exec if I reexecute 'pkcs11-tool -Il' it waits for a lock > > of PCSCD that will never be released. After some tests we have found that > > if you make 2 sc_reset() in the same execution of a tool of opensc that > > executes that code (pkcs11-tool or pkcs15-tool for example) the next > > execution of another tool waits for this lock. We have been looking at > > the code of opensc and we have discovered a possible lock that isn't > > released. A possible solution is this: > > What version of pcsc-lite are you using? > Are you on GNU/Linux or Mac OS X? > > Bye
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel