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

Segfault on Bun v1.1.41 (b8f28ed8) - mac arm64 #15902

Closed
adriweb opened this issue Dec 20, 2024 · 0 comments · Fixed by #15911
Closed

Segfault on Bun v1.1.41 (b8f28ed8) - mac arm64 #15902

adriweb opened this issue Dec 20, 2024 · 0 comments · Fixed by #15911
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@adriweb
Copy link

adriweb commented Dec 20, 2024

Not sure what else to provide for repro/info, as this is unfortunately proprietary code. Hopefully the backtrace below will help though.
The project is using node-serialport, which may be the culprit.

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

@adriweb adriweb 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
dylan-conway added a commit that referenced this issue Dec 21, 2024
Jarred-Sumner added a commit that referenced this issue Dec 21, 2024
probably-neb pushed a commit to probably-neb/bun that referenced this issue Jan 7, 2025
probably-neb pushed a commit to probably-neb/bun that referenced this issue Jan 7, 2025
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

Successfully merging a pull request may close this issue.

1 participant