-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Segfault when using X509Store and not waiting for threads to finish #1293
Comments
This is due to a "feature" of OpenSSL: openssl/openssl#6214. Unfortunately, I do not believe it is possible for rust-openssl to work around this. |
Seems in openssl 1.1.1 is already possible to disable cleanup at exit by passing |
This was referenced Jul 22, 2020
orium
added a commit
to orium/rust-openssl
that referenced
this issue
Jul 27, 2020
orium
added a commit
to orium/rust-openssl
that referenced
this issue
Jul 27, 2020
orium
added a commit
to orium/rust-openssl
that referenced
this issue
Jul 28, 2020
…n openssl >= 1.1.1. Fixes sfackler#1293.
orium
added a commit
to orium/rust-openssl
that referenced
this issue
Jul 28, 2020
…n openssl >= 1.1.1. Fixes sfackler#1293.
orium
added a commit
to orium/rust-openssl
that referenced
this issue
Jul 28, 2020
…n openssl >= 1.1.1b. Fixes sfackler#1293.
ghost
mentioned this issue
Apr 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In rust should be safe to not wait for threads to finish.
Following code is attempting to initialise openssl before running threads. Now it sometimes panics on unwrap in these threads what is how it should be. But sometimes it causes segfault.
This is probably because openssl already de-initialised and freed its mutexes.
The text was updated successfully, but these errors were encountered: