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

Another segmentation fault on bun 1.1.41 #15904

Closed
LoicEvenium opened this issue Dec 20, 2024 · 1 comment
Closed

Another segmentation fault on bun 1.1.41 #15904

LoicEvenium opened this issue Dec 20, 2024 · 1 comment
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@LoicEvenium
Copy link

How can we reproduce the crash?

Error occured while parsing node_modules/jest-message-util/build/types.js
Same error on linux github action env

Bun v1.1.41 (b8f28ed8) Linux x64 (baseline)
  Linux Kernel v6.5.0 | glibc v2.35
  CPU: sse42 popcnt avx avx2
  Args: "bun" "test" ""
  Features: bunfig dotenv(2) jsc transpiler_cache tsconfig(24) tsconfig_paths 
  Builtins: "node:assert" "node:buffer" "node:child_process" "node:crypto" "node:fs" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" 
  Elapsed: 1665ms | User: 1811ms | Sys: 291ms
  RSS: 0.98GB | Peak: 0.23GB | Commit: 0.98GB | Faults: 0
  
  panic(main thread): Segmentation fault at address 0x0
  Crashed while visiting /home/runner/work/evenium/evenium/node_modules/jest-message-util/build/types.js
  oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Relevant log output

Stack Trace (bun.report)

Bun v1.1.41 (b8f28ed) on macos aarch64 [AutoCommand]

Segmentation fault at address 0xAAAAAAAAAAAAAAAA

  • 1 unknown/js code
  • src.js_parser.NewParser_
  • src.js_parser.Parser._parse__anon_142565
  • src.cache.JavaScript.parse
  • src.bundler.Bundler.parseMaybeReturnFileOnlyAllowSharedBuffer__anon_123966
  • src.bundler.Bundler.parseMaybeReturnFileOnly__anon_119104
  • src.bun.js.module_loader.ModuleLoader.transpileSourceCode__anon_119048
  • Bun__transpileFile
  • Bun::fetchCommonJSModule
  • Bun::jsFunctionRequireCommonJS

Features: napi_module_register, process_dlopen, jsc, tsconfig, tsconfig

Sentry Issue: BUN-A3N

@LoicEvenium LoicEvenium added the crash An issue that could cause a crash label Dec 20, 2024
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Dec 20, 2024
@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 macOS An issue that occurs on macOS
Projects
None yet
Development

No branches or pull requests

2 participants