-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Segfault on Google's Container Optimized OS (which uses musl vs glibc) #18033
Comments
Is "Container Optimized OS" a musl or glibc ? Maybe the installed native addon is musl but the bun version is glibc? |
@Jarred-Sumner actually think we may be able to close this. I found another closed issue here #17897 from last week that is almost an identical situation, including running ExcelJS. We were using |
To clarify |
Same issue in Bun v1.2.3 (8c4d3ff) Linux x64 (baseline) Trying 1.2.2 |
Google Container Optimized OS uses musl as its standard C library, not glibc |
I'm getting the same issue regardless of bun version (including I used a different boot disk instead in (
And it worked 🥳 So there's something in the default Container Optimized OS that Goole uses as the default boot image when the runnable is a docker container. |
I'll close this as there's a workaround. |
Even if there’s a workaround, if Bun crashes, we’ll need to fix it. |
How can we reproduce the crash?
Not sure if any of this helps and I can't provide access to all code.
Running environment:
The crash happens somewhere during data retrieval (network requests), using Prisma as the ORM.Dockerfile
Logs from the crash. There is plenty of memory on the machine, so something else is up.
Relevant log output
Stack Trace (bun.report)
Bun v1.2.4 (
fd9a5ea
) on linux x86_64_baseline [RunCommand]Segmentation fault at address 0x00000000
ld-temp.o:0
:icudt75_dat
ld-temp.o:0
:icudt75_dat
Features: tsconfig, tsconfig_paths, process_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc
Sentry Issue: BUN-A43
The text was updated successfully, but these errors were encountered: