Re: pcscd jams when using '--auto-exit'

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8DP336yAvVhkGv7n+FHUTnot9Zmbq7eDGLCoOB0_Zc=sQ@mail.gmail.com>
2016-04-23 20:59 GMT+02:00 Andre Florath <[email protected]>:

> 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

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.