-
Notifications
You must be signed in to change notification settings - Fork 293
coredump when loading a dynamic library file. #485
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
Comments
Easy enough to find out. Execute |
Program received signal SIGSEGV, Segmentation fault. It work well when run with root privileges. on the other uses will coredump. |
and the dynamic library file can work well in the binary program of c++. |
Can you What version of openssl does thosttraderapi.so expect? Node bundles its own copy of openssl, which is probably different (newer) than the one installed on your system. You probably want to link or dlopen() it in a way that it loads libcrypto.so and/or libssl.so from your system instead of from node. |
The problem is resolved. the reason is that install the node environment by NVM under the ordinary users and the node environment is another under the root user in /usr/bin. |
Happy to hear it's working for you now. I'll close out the issue. |
node will coredump when loading a dynamic library file, and replace with another dynamic library file it will ok. I suspect that it is the problem of memory limit for v8, but not sure and how to solve this problem? the dynamic library file can work well in the binary program of c++.
The text was updated successfully, but these errors were encountered: