-
Notifications
You must be signed in to change notification settings - Fork 160
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
OpenSSL incompatibility #31
Comments
Seems to be solved with current distributable implementation but needs revision. |
This is still happening on root@b764c64be8c7:/usr/local/metacall/build# node -e 'console.log(process.versions.openssl)'
1.1.1m
root@b764c64be8c7:/usr/local/metacall/build# python3 -c 'import ssl; print(ssl.OPENSSL_VERSION.split()[1])'
3.0.2 I am reopening this for now, I have tried to use |
Also it seems to be related with rust, when using a similar version (3.0.4 and 3.0.6) if we disable calls in node to rs when python is also loaded in |
Here's the issue of Rust: ad9e7cf |
When running a NodeJS script with NodeJS (compiled with OpenSSL statically) and then loading any library in Python that uses Py__Hash (which is a C extension for Python using OpenSSL dynamically linked) it generates a segmentation fault (this problem can be reproduced by running this example with NodeJS: https://github.com/metacall/pdf-generator-email-sender-landing-page-example).
In this example Py__Hash is using OpenSSL 1.1. and NodeJS is using 1.0.2p:
This is a fragment of the segmentation fault obtained with valgrind referring to OpenSSL initialization of Py_Hash.
The text was updated successfully, but these errors were encountered: