This repository was archived by the owner on Apr 22, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Segfault with shared openssl: test/simple/test-crypto-dh-odd-key.js #8050
Comments
This is expected, the node.js is using patched version of openssl. The patch itself is in upstream, but is far from being included in a next release and updated on all OSes. Sorry, not much you could do, except probabaly building OpenSSL yourself. |
Ok, thanks. Could you possibly provide an upstream url/bug/commit so I can suggest it for earlier inclusion? |
At least seems to have landed in both 1.0.1 and 1.0.2 stable branches. Thanks for the link 👍 |
Just tested with the newly released 1.0.1i. Works as intended. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While building against a shared openssl 1.0.1h (on gentoo), this test fails:
The backtrace doesn't really help here since I guess we're heading into assembly land. I'm not sure whether the openssl provided by gentoo is doing "something wrong" here, but as long as there's a provided
--shared-openssl
when configuring the build, I'd at least want to see tests passing...if I build with the bundled openssl, it works just fine.
Suggestions on how to proceed?
(On the other hand -- while building with bundled openssl I had to add
-ldl
to linker args, otherwise it bailed withlibopenssl.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
) when doing a debug build.The text was updated successfully, but these errors were encountered: