[Pcsclite-muscle] pcscd jams when using '--auto-exit'
Ludovic Rousseau
ludovic.rousseau
Sun Apr 24 10:13:33 PDT 2016
2016-04-23 20:59 GMT+02:00 Andre Florath <andre at florath.net>:
> Hello!
>
> > Can you test with the proposed version available at
> http://ludovic.rousseau.free.fr/softwares/pcsc-lite/pcsc-lite-1.8.16.tar.bz2
> >
> > It should work but since I was not able to reproduce the problem myself
> I would like you to confirm the problem is fixed in this version before I
> commit the modification.
> >
>
> Yes - tested it with --debug enabled. Works fine for me -
> tested it a couple of times (about 10);
> With and without shutdown of pcscd. Also tested
> using suspending my computer.
>
Thanks for the feedback.
I pushed the change in
https://anonscm.debian.org/cgit/pcsclite/PCSC.git/commit/?id=abe436e38aa58cb1140eff0d497ba721474c7703
>
> Maybe one hint: now that you have more than one thread,
> (in principle) it is forbidden to use non-thread-safe functions
> like strerror. In mostly all cases this will work, but
> in some (rare) cases you get undefined behavior.
>
Exact. I should use strerror_r(3) instead.
I opened a bug at pcsc-lite
https://alioth.debian.org/tracker/index.php?func=detail&aid=315358&group_id=30105&atid=410085
and fix it "later".
Thanks
--
Dr. Ludovic Rousseau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160424/448404e9/attachment.html>
More information about the pcsclite-muscle
mailing list