-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Panic in Query Engine with SIGABRT signal (Debian Bookworm, engineType = binary) #19743
Comments
Did you upgrade Prisma between when it worked and does not anymore? |
No, we have been running 4.14.1 the whole time. Obviously, we write code every day, so as is true for any software development team, yes, we have made changes. There were no migrations, changes to prisma configuration, or anything else that seems relevant or significant. Nothing in our database changed, aside from the fact that people used the database. The problem comes and goes, which is even more frustrating. Three times yesterday I had to stop all work because Prisma was in a panic loop that just wouldn't stop no matter what I did. I will add too that this is happening across multiple people's computers in multiple time zones. The one common thread seems to be that this happens on ARM machines (macbooks). It does not seem to happen in our x86 CI environments. |
@janpio Additionally, one strange thing that happened the same day with no changes being made is that our docker image started failing to build with this error which forced us to have to do At face value this didn't seem related to prisma, but we thought it is suspicious that this started happening as well. We are using |
After some more investigation, Joe discovered that node:18-slim was actually updated from debian version bullseye to bookworm a couple days ago. We were able to restore our app to normal behavior by changing our base image to node:18-bullseye-slim. I think this indicates there may be some problem with Prisma on bookworm / ARM, but there is no huge urgency for us to upgrade this right now. Eventually it will become an issue if not addressed but we have at least an interim solution. |
Nice sleuthing to pinpoint it to that Debian upgrade of the underlying container of The error message you are getting comes from Undici, which indicates you might be using |
I had to go check my notes - we switched to engine binary back in March when we had to upgrade to Node 18 in order to support another package that started requiring it. Previously we had downgraded to Node 16 in order to avoid this bug: But staying on node 16 wasn't an option. Someone suggested switching the engine type to binary on that PR and that worked for us. I didn't even notice that the issue was closed; however when I was troubleshooting bookworm before I did try switching back to the library engine and it did not work (ie there was still crashing) - it may have had a different error message, I'm not sure anymore. Since that issue is closed though now I will give the library engine a fresh shot! |
You can reproduce this on "Node.js 18 running on 64bit Amazon Linux 2023/6.0.0" using ARM architecture. As a quick solution, we migrated to 64-Bits, it worked again. |
Given this line in logs (and the overall description and symptoms):
this is the issue that was fixed in |
Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions
Logs
Client Snippet
Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE
I can provide this by DM if required.
Prisma Engine Query
This has been happening to us all day, is happening on our master branch which passed testing yesterday without issue, and seems to happen now on various old branches that all worked fine for us before.
The text was updated successfully, but these errors were encountered: