Segmentation fault on ARM64 Linux
Problem
Bug description I'm using prisma in arm64 linux with openssl3 get `Segmentation fault (core dumped)` error. [code block] [code block] [code block] I can't create a reproducible case, the problem I encountered when running the https://github.com/civitai/civitai project, here's the full log for reference: <details> <summary>npm run dev</summary> [code block] </details> and version `4.12.0-integration-rtld-deepbind.3` can't fix my issue. [code block] How to reproduce I can't create a reproducible case, the problem I encountered when running the https://github.com/civitai/civitai project. Expected behavior _No response_ Prisma information schema.prisma [code block] client.ts [code block] Environment & setup - OS: Ubuntu 22.10 - Database: PostgreSQL - Node.js version: v18.15.0 Prisma Version v4.10.1 and v4.12.0-integration-rtld-deepbind.3 [code block] [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Segmentation fault on ARM64 Linux
Same issue on arm64, prisma 4.11, nodejs 16 on alpine. I am running keystonejs 6 project. Segmentation only occurred when the SQL result are large enough for once. Running GraphQL: `types { apps {id} }` -> crash `types(where: {"id": {"lt": 6}}) { apps {id} }` -> crash `types(where: {"id": {"lt": 3}}) { apps {id} }` -> no crash `types(where: {"id": {"lt": 4}}) { apps {id} }` -> no crash And if I
Trust Score
2 verifications
- 1
Same issue on arm64, prisma 4.11, nodejs 16 on alpine.
I am running keystonejs 6 project. Segmentation only occurred when the SQL result are large enough for once.
- 2
Running GraphQL:
`types { apps {id} }` -> crash `types(where: {"id": {"lt": 6}}) { apps {id} }` -> crash `types(where: {"id": {"lt": 3}}) { apps {id} }` -> no crash `types(where: {"id": {"lt": 4}}) { apps {id} }` -> no crash And if I gradually lift the where limit, there're still no crash. Maybe due to cache or memory allocation?
Validation
Resolved in prisma/prisma GitHub issue #18510. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep