hello, we are using a standard linux kernel(2.6) with mmu on arm9. Our aim to move from 1.4.4 to 1.5.5 was to solve segmentation faults. So from the beginning: i tried to solve segmentation fault in our app. i saw that it is in pcsc-lite side.In our app we are calling sc_detect_card_presence() to check cards. In a week time app crashes in this function. I saw solved crashes in your release and moved to 1.5.5. I could not run our multi-threaded app and just for test tried a one threaded version to see if crash happens. In this way i did not see the crash. Then i removed that PID test as your suggestion for final test with actual app. Again we experienced crashes but actually it was not at the same place in code.It is hard to find the exact point. I did not see any harm for removing that PID test but i could not be sure and had to ask to you. So we are now trying a one-thread version to get rid of crash but it is a huge work. Maybe now i should work on the crash with PID test removed version as you also suggested. Is there any crash problem you know? Is it not suitable to check cards continuously using sc_detect_card_presence() function?
regards, Murat Baran On Wed, Jan 6, 2010 at 2:25 PM, Ludovic Rousseau <[email protected] > wrote: > 2010/1/6 Murat Baran <[email protected]>: > > hello, > > Hello, > > > we are using pcsc-lite in a linux embedded system > > with uclibc and linuxthreads for posix. As we moved from > > pcsc-lite1.4.4 to 1.5.5 we got problems: > > We can not use more than one thread in using pcsc. > > I saw that new pcsc checks the client PID and in > > linuxthreads every thread has a different PID like a > > process. Is this a bug or we have to change something > > to use new pcsc-lite? > > You can just remove the PID test in winscard_clnt.c. This is used to > detect forked process and invalidate the handles. > > I got request from a user of uclinux (and not uclibc) and shared > memory was not supported in his configuration. Do you use a standard > Linux kernel with MMU provided by the CPU? what CPU are you using? > Do you have to make changes to pcsc-lite to make it work for you? > > Bye > > -- > Dr. Ludovic Rousseau > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle >
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
