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
Prisma client segfault on Ubuntu 22.04 #17223
Comments
same issue |
Same issue here when deploying our app with NodeJS v18. Got an error: |
It looks like the issue is caused by OpenSSL versioning issues. Ubuntu 22.04 has So, basically, latest version of Prisma doesn't work properly with LTS version of Node on LTS version of Ubuntu because of OpenSSL 😅 |
same issue with node:lts-bullseye-slim |
Thank you. I was on Node 18.9.0. I reverted to Node 16.13.0 and the error was gone and Prisma was working again. |
Hi everyone! Could you check if updating This is an experimental dev version not intended for production but if it works as expected, we'll work on making this land in a stable release. Thank you! |
Updating both to My Setup
|
This worked for me as well thank you!! |
This issue is fixed in Prisma 4.13.0 which will be released tomorrow, on Tuesday, Apr 18. If you need to temporarily use a pre-release version until then, you can use Note that this GitHub issue is about a specific bug that occurs when using Node.js 17+ on a system with OpenSSL 1.1 on x86-64 CPUs when using TLS to connect to database. Please do not post comments here if you encounter a segfault under different circumstances, and open a new issue instead. If you are facing segfaults on ARM, please leave a comment in #18510 or open a new issue. |
Bug description
I'm trying to perform
node 16
tonode 18
migration and facing issues with prisma.Basically any query I'm trying to run on a PostgreSQL DB fails with
[1] 139600 segmentation fault
error message on my Ubuntu 22.04 environment.How to reproduce
npx prisma init
command or in any other way, use "postgresql" as a providerprisma.model.findMany()
) using a prisma client.segmentation fault
error while running the program.Expected behavior
Queries should run flawlessly and return corresponding results.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: