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

Running Bun Install in Docker #15882

Closed
day-mon opened this issue Dec 19, 2024 · 4 comments
Closed

Running Bun Install in Docker #15882

day-mon opened this issue Dec 19, 2024 · 4 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime transpiler parser || printer

Comments

@day-mon
Copy link

day-mon commented Dec 19, 2024

How can we reproduce the crash?

  • Running bun install in context to a docker container. Seems like it was a post-install step that was doing some prisma generation

Relevant log output

Stack Trace (bun.report)

Bun v1.1.40-canary (b254e69) on linux aarch64 [RunAsNodeCommand]

Segmentation fault at address 0xAAAAAAAAAAAAAAAA

Features: jsc

@day-mon day-mon added the crash An issue that could cause a crash label Dec 19, 2024
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Dec 19, 2024
Copy link
Contributor

Thank you for reporting this crash.

For Bun's internal tracking, this issue is BUN-A1P.

@DonIsaac DonIsaac added the transpiler parser || printer label Dec 19, 2024
@DonIsaac
Copy link
Contributor

@day-mon If this isn't a private repo, could you share your package.json and prisma schema version with us? The more info the better.

If not, could you please tell me what version of Prisma you're using?

@zhangchi0104
Copy link

zhangchi0104 commented Dec 21, 2024

Hi

I encountered the same issue on github action (Action Run)

#14 103.6 ============================================================
#14 103.6 Bun v1.1.41 (b8f28ed8) Linux x64 (baseline)
#14 103.6 Linux Kernel v6.8.0 | glibc v2.31
#14 103.6 CPU: sse42 popcnt avx avx2
#14 103.6 Args: "node" "scripts/postinstall.js"
#14 103.6 Features: jsc tsconfig tsconfig_paths 
#14 103.6 Builtins: "bun:main" "node:fs" "node:path" "node:string_decoder" "node:util/types" 
#14 103.6 Elapsed: 48ms | User: 41ms | Sys: 11ms
#14 103.6 RSS: 1.07GB | Peak: 1.12GB | Commit: 1.07GB | Faults: 0
#14 103.6 
#14 103.6 panic(main thread): Segmentation fault at address 0x0
#14 103.6 Crashed while visiting /app/apps/kuma-elysia/node_modules/prisma/node_modules/@prisma/engines/node_modules/@prisma/get-platform/dist/chunk-6HZWON4S.js
#14 103.6 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
#14 103.6 
#14 103.6 To send a redacted crash report to Bun's team,
#14 103.6 please file a GitHub issue using the link below:
#14 103.6 
#14 103.6  https://bun.report/1.1.41/Bn1b8f28edChgg8//Dog9hlE+8mO0qz3nDig49hD2i2rhD++6wgD0l9vgDujqxgD4+4k9D_A2AA
#14 103.6 
#14 103.6 
#14 103.6 error: postinstall script from "@prisma/engines" terminated by SIGILL (Illegal instruction)
#14 141.6 Illegal instruction (core dumped)
#14 ERROR: process "/bin/sh -c bun install" did not complete successfully: exit code: 132

on the repo: https://github.com/zhangchi0104/kuma-space

I temporarily avoided this issue by downgrading to 1.1.34

@Jarred-Sumner
Copy link
Collaborator

Please upgrade to Bun v1.1.42

This was fixed 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 runtime transpiler parser || printer
Projects
None yet
Development

No branches or pull requests

4 participants