SIGSEGV error on every next app with prisma
itismaku
HOBBYOP

6 months ago

Hello, I got 2 nextjs applications with prisma on railway and on both I got this error after executing sql queries by prisma:
npm error path /usr/app

npm error command failed

npm error signal SIGSEGV

npm error command sh -c next start

npm error A complete log of this run can be found in: /root/.npm/_logs/2025-09-15T22_50_50_028Z-debug-0.log

I migrated my services here and I did not experienced this issue before.

$10 Bounty

3 Replies

Railway
BOT

6 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


itismaku
HOBBYOP

6 months ago

2025-09-15T22:56:08.112614584Z [inf] prisma:query SELECT "public"."User"."id", "public"."User"."email", "public"."User"."name", "public"."User"."password", "public"."User"."role", "public"."User"."createdAt" FROM "public"."User" WHERE ("public"."User"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3

2025-09-15T22:56:08.131002117Z [inf] prisma:query SELECT COUNT(*) AS "_count._all" FROM (SELECT "public"."Reservation"."id" FROM "public"."Reservation" WHERE 1=1 OFFSET $1) AS "sub"

2025-09-15T22:56:08.685709739Z [err] npm error path /usr/app

2025-09-15T22:56:08.685715377Z [err] npm error command failed

2025-09-15T22:56:08.685721641Z [err] npm error signal SIGSEGV

2025-09-15T22:56:08.685727009Z [err] npm error command sh -c next start

2025-09-15T22:56:08.688708082Z [err] npm error A complete log of this run can be found in: /root/.npm/_logs/2025-09-15T22_56_06_715Z-debug-0.log

2025-09-15T22:56:10.185827425Z [err] 2025-09-15 22:56:03.495 UTC [411] LOG: could not accept SSL connection: EOF detected

2025-09-15T22:56:10.185834540Z [err] 2025-09-15 22:56:03.496 UTC [412] LOG: could not accept SSL connection: Connection reset by peer

2025-09-15T22:56:10.185838737Z [err] 2025-09-15 22:56:03.496 UTC [414] LOG: could not accept SSL connection: Connection reset by peer

2025-09-15T22:56:10.185842955Z [err] 2025-09-15 22:56:03.496 UTC [415] LOG: could not accept SSL connection: Connection reset by peer

2025-09-15T22:56:10.185846807Z [err] 2025-09-15 22:56:03.496 UTC [413] LOG: could not accept SSL connection: Connection reset by peer

2025-09-15T22:56:10.185851343Z [err] 2025-09-15 22:56:03.496 UTC [409] LOG: could not accept SSL connection: EOF detected

2025-09-15T22:56:10.185854932Z [err] 2025-09-15 22:56:03.496 UTC [405] LOG: could not receive data from client: Connection reset by pee


itismaku
HOBBYOP

5 months ago

up


Loading...