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

Crash on start #12196

Open
trawor opened this issue Jun 27, 2024 · 1 comment
Open

Crash on start #12196

trawor opened this issue Jun 27, 2024 · 1 comment
Labels
crash An issue that could cause a crash linux An issue that only occurs on Linux runtime

Comments

@trawor
Copy link

trawor commented Jun 27, 2024

How can we reproduce the crash?

just as the log , it's crashed in docker alpine latest + glibc

Relevant log output

============================================================
Bun v1.1.17 (bb66bba1) Linux x64
Linux Kernel v6.7.12 | glibc v2.34
Args: "bun" "run" "index.js"
Features: jsc dotenv fetch http_server 
Builtins: "bun:main" "node:buffer" "node:crypto" "node:string_decoder" "node:util/types" 
Elapsed: 104ms | User: 112ms | Sys: 40ms
RSS: 1.07GB | Peak: 75.62MB | Commit: 1.07GB | Faults: 0

panic(main thread): Segmentation fault at address 0x0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.17 (bb66bba) on linux x86_64 [RunCommand]

Segmentation fault at address 0x00000000

@trawor trawor added the crash An issue that could cause a crash label Jun 27, 2024
@github-actions github-actions bot added linux An issue that only occurs on Linux runtime labels Jun 27, 2024
@trawor
Copy link
Author

trawor commented Jun 27, 2024

with more info:

  1. I'm running a bundled js file with bun build index.ts --target bun
  2. if bun build WITHOUT --sourcemap, it runs fine

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 only occurs on Linux runtime
Projects
None yet
Development

No branches or pull requests

1 participant