Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
com.apple.pcsc Crashes in SCardDisconnect / transact / libdispatch / fork resource handling code #138
berne.campbell@… originally submitted this as ticket:141
I am using OpenVPN with PKCS#11 and getting a SEGV crash in in the child process after forking. It appears to be in the fork resource handling code. I have found a workaround by disabling threading and slotevent features in the pkcs11-helper library.
I previously opened a bug against OpenSC, OpenSC/OpenSC#333, who stated problem in pcsc-lite side where it is very old and has issues with fork resource management.
If I understand correctly Apple is using code derived from version 1.4.0 of pkcs-lite released in 2007, and that Apple's code changes has diverged much further in Yosemite from the upstream code base making merging them more work and less likely to happen. This saddens me.
This is the crash report: -