2010/1/6 Murat Baran <[email protected]>: > 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?
No. > Is it not suitable to check cards continuously using > sc_detect_card_presence() function? sc_detect_card_presence() is a function from OpenSC, not from pcsc-lite Why are you using an internal libopensc function? Do you have the same problem on a "normal" PC or only in your embedded environment? Bye -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
