Skip to content
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

bun 1.1.41 it bug, 1.1.40 it still normal #15913

Closed
0xc0000f opened this issue Dec 20, 2024 · 2 comments
Closed

bun 1.1.41 it bug, 1.1.40 it still normal #15913

0xc0000f opened this issue Dec 20, 2024 · 2 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux regression runtime

Comments

@0xc0000f
Copy link

0xc0000f commented Dec 20, 2024

How can we reproduce the crash?

#10 0.060 bun install v1.1.41 (b8f28ed8)
#10 0.063 Resolving dependencies
#10 0.835 Resolved, downloaded and extracted [2]
#10 2.036 ============================================================
#10 2.036 Bun v1.1.41 (b8f28ed8) Linux x64 (baseline)
#10 2.036 Linux Kernel v6.8.0 | glibc v2.31
#10 2.036 CPU: sse42 popcnt avx avx2
#10 2.036 Args: "node" "scripts/postinstall.js"
#10 2.036 Features: jsc
#10 2.036 Builtins: "bun:main" "node:fs" "node:path" "node:string_decoder" "node:util/types"
#10 2.036 Elapsed: 56ms | User: 44ms | Sys: 15ms
#10 2.036 RSS: 1.07GB | Peak: 0.44GB | Commit: 1.07GB | Faults: 0
#10 2.036
#10 2.036 panic(main thread): Segmentation fault at address 0x0
#10 2.036 Crashed while visiting /temp/dev/node_modules/@prisma/get-platform/dist/chunk-6HZWON4S.js
#10 2.036 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
#10 2.036
#10 2.036 To send a redacted crash report to Bun's team,
#10 2.036 please file a GitHub issue using the link below:
#10 2.036
#10 2.036 https://bun.report/1.1.41/Bn1b8f28edAgggEog9hlE+8mO0qz3nDig49hD2i2rhD++6wgD0l9vgDujqxgD4+4k9D_A2AA
#10 2.036
#10 2.036
#10 2.036 error: postinstall script from "@prisma/engines" terminated by SIGILL (Illegal instruction)
#10 2.218 Illegal instruction (core dumped)
#10 ERROR: process "/bin/sh -c cd /temp/dev && bun install --frozen-lockfile" did not complete successfully: exit code: 132
------
> [install 3/6] RUN cd /temp/dev && bun install --frozen-lockfile:
2.036 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
2.036
2.036 To send a redacted crash report to Bun's team,
2.036 please file a GitHub issue using the link below:
2.036
2.036 https://bun.report/1.1.41/Bn1b8f28edAgggEog9hlE+8mO0qz3nDig49hD2i2rhD++6wgD0l9vgDujqxgD4+4k9D_A2AA
2.036
2.036
2.036 error: postinstall script from "@prisma/engines" terminated by SIGILL (Illegal instruction)
2.218 Illegal instruction (core dumped)
------
Dockerfile:8
--------------------
6 | RUN mkdir -p /temp/dev
7 | COPY package.json bun.lockb /temp/dev/
8 | >>> RUN cd /temp/dev && bun install --frozen-lockfile
9 |
10 | RUN mkdir -p /temp/prod
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /temp/dev && bun install --frozen-lockfile" did not complete successfully: exit code: 132
[2024-Dec-20 22:11:22.212568] Deployment failed. Removing the new version of your application.

Relevant log output

Stack Trace (bun.report)

Bun v1.1.41 (b8f28ed) on linux x86_64_baseline [RunAsNodeCommand]

Segmentation fault at address 0x00000000

Features: jsc

Sentry Issue: BUN-A3S

@0xc0000f 0xc0000f added the crash An issue that could cause a crash label Dec 20, 2024
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Dec 20, 2024
@0xc0000f 0xc0000f changed the title prisma 6 with bun bun 1.1.41 it bug, 1.1.40 it still normal Dec 20, 2024
@0xc0000f
Copy link
Author

Image
1.1.40 it working fine

@Jarred-Sumner
Copy link
Collaborator

Fixed by @dylan-conway in #15911

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux regression runtime
Projects
None yet
Development

No branches or pull requests

3 participants