-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AWS Lambda - Error segmentation fault #1737
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
Hi @ThiagoFrancaPacheco Thank you for using node-oracledb.
Note that we do not test in AWS Lambda, but we can try to see from our end, if we can do anything to help. |
Hello @sharadraju , thanks for the reply. I'm trying to connect in Thick Mode to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit. Node-oracledb version: 6.8.0 I've tested many versions of Oracle Instant Client Linux x86/64, including 19.27, 21.18 and 23.7 This is a new project, locally it works using Oracle Instant Client for Mac, on AWS Lambda the error mentioned occurs. If I remove the line "oracledb.initOracleClient();" from the code, the error NJS-138 occurs, when I add initOracleClient it gives the error: Error: Runtime exited with error: signal: segmentation fault |
Hi @ThiagoFrancaPacheco , When you remove |
Hello @sudarshan12s. The version of glibc in the AL2023 base image has been upgraded to 2.34, from 2.26 that was bundled in the AL2 base image. Some libraries that developers wanted to use in provided runtimes required newer versions of glibc. With this launch, you can now use an up-to-date version of glibc with your Lambda function. |
ldd (GNU libc) 2.34 |
Thanks @ThiagoFrancaPacheco!
|
Hello @sudarshan12s I will try to get the information you requested and send it here. Since my project needed to be published urgently, I changed its architecture and published it on Elastic Beanstalk and it worked. |
In Aws Lambda, when trying to use Thick Mode, when calling the oracledb.initOracleClient() method, I am getting the following error:
Error: Runtime exited with error: signal: segmentation fault
The text was updated successfully, but these errors were encountered: