-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault after calling C_GenerateKeyPair, when finishing the key generation process #2198
Labels
Comments
please upgrade to 0.21.0 and try again |
Hello, I upgraded but the issue still occurs. |
Can you create a debug log of 0.21.0, please? |
debuglog.log |
Hello, did you find some time to check the logs? |
I cannot immediately see where the problem is. above, you've printed some backtrace, could you do that with OpenSC debug symbols? That would show the exact problem. thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
We are calling C_GenerateKeyPair from "opensc-pkcs11.so" by our system, but intermittently(but mostly) segmentation fault is thrown. When I check it by debugging my system, I saw this error in debugging logs: "malloc: Incorrect checksum for freed object 0x14b0c2040: probably modified after being freed."
After calling C_GenerateKeyPair, exception is thrown approximately after 1 minute.
Steps to reproduce
We call C_GenerateKeyPair from our system like this:
My version of OpenSC: OpenSC-0.20.0, rev: 45e2905, commit-time: 2019-12-29 13:42:06 +0100
My Operating System: Mac OS X Big Sur 11.1
Logs
Thread dump after crash is shown below:
The text was updated successfully, but these errors were encountered: