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 Crashing on Docker Deploy #16369

Closed
mkhbragg opened this issue Jan 13, 2025 · 3 comments
Closed

Bun Crashing on Docker Deploy #16369

mkhbragg opened this issue Jan 13, 2025 · 3 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux

Comments

@mkhbragg
Copy link

How can we reproduce the crash?

The crashing doesn't seem to be related to a particular code change, because it is intermittent (although happening far more than not), by which I mean I have had some deploys work upon retry.

What other information can I provide that would be of use? I'm thinking maybe mismatched versions in dependencies but I'm not sure, especially because if that were the culprit I would have thought it would crash every time, not just most of the time.

Relevant log output

Stack Trace (bun.report)

Bun v1.1.43 (76800b0) on linux x86_64 [RunAsNodeCommand]

Segmentation fault at address 0x14F007FF6882

Features: tsconfig_paths, process_dlopen, Bun.stdin, dotenv, fetch, jsc, spawn, transpiler_cache, tsconfig, tsconfig

Sentry Issue: BUN-7G

@mkhbragg mkhbragg added the crash An issue that could cause a crash label Jan 13, 2025
@github-actions github-actions bot added the linux An issue that occurs on Linux label Jan 13, 2025
@Jarred-Sumner
Copy link
Collaborator

Unfortunately, the lack of a stack trace there + no code to repro gives us no way to help you with this.

We fixed 2 regressions in Bun v1.1.43 in the canary build (which will become Bun v1.1.44 tomorrow) - can you run bun upgrade --canary?

@mkhbragg
Copy link
Author

@Jarred-Sumner totally understand, I know this is not much to go on. We are installing bun via docker, from https://hub.docker.com/r/oven/bun/tags. Do the canary versions on there contain the fixes you mentioned?

@mkhbragg
Copy link
Author

mkhbragg commented Jan 13, 2025

This was resolved by downgrading to bun version 1.1.27 (which was what we were previously using). I will test with 1.1.44 when it is available to see if the issue resurfaces.

Thanks!

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
Projects
None yet
Development

No branches or pull requests

2 participants