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

panic: Segmentation fault at address 0x102000000E4 #15390

Open
yolmcore opened this issue Nov 24, 2024 · 0 comments
Open

panic: Segmentation fault at address 0x102000000E4 #15390

yolmcore opened this issue Nov 24, 2024 · 0 comments
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS runtime

Comments

@yolmcore
Copy link

yolmcore commented Nov 24, 2024

How can we reproduce the crash?

Note, I am using workers to parallelize documentation generation. This does not happen every single time, maybe one out of 6 times.

Relevant log output

Bun v1.1.36 (ededc168) macOS Silicon
macOS v14.6.1
Args: "bun" "scripts/jsdoc.ts" "packages/**/*.ts"
Features: jsc transpiler_cache(57) tsconfig tsconfig_paths workers_spawned(18) workers_terminated(3) 
Builtins: "bun:main" "node:buffer" "node:crypto" "node:fs" "node:fs/promises" "node:os" "node:path" "node:perf_hooks" "node:string_decoder" "node:util" "node:util/types" "node:worker_threads" 
Elapsed: 1462ms | User: 10626ms | Sys: 1675ms
RSS: 3.30GB | Peak: 3.30GB | Commit: 1.80GB | Faults: 56

panic: Segmentation fault at address 0x102000000E4
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.36/Ma1ededc16Mhgg8/f__u90whBui302Bm28y2B+9ww2B27gg2Bmy4ujCus/yhB2vo5WA2kQoO

76 |   }
77 | 
78 |   const exitCode = await proc.exited;
79 | 
80 |   if (exitCode !== 0) {
81 |     throw new Error(`${name} failed with exit code ${exitCode}${dirMessage}`);
               ^
error: bun scripts/jsdoc.ts packages/**/*.ts failed with exit code 133
      at /Users/ralfhaug/dev/yolm/scripts/utils.ts:81:11

Bun v1.1.36 (macOS arm64)
error: script "docs" exited with code 1

Stack Trace (bun.report)

Bun v1.1.36 (ededc16) on macos aarch64 [AutoCommand]

Segmentation fault at address 0x616C7265764F656B

  • 2 unknown/js code
  • WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize
  • JSC::WeakBlock::lastChanceToFinalize
  • JSC::PreciseAllocation::lastChanceToFinalize
  • JSC::MarkedSpace::lastChanceToFinalize
  • JSC::Heap::lastChanceToFinalize
  • JSC::VM::~VM
  • WebWorker__dispatchExit
  • src.bun.js.web_worker.WebWorker.exitAndDeinit

Features: workers_spawned, workers_terminated, jsc, transpiler_cache, tsconfig, tsconfig_paths, tsconfig_paths

Sentry Issue: BUN-7Y3

@yolmcore yolmcore added the crash An issue that could cause a crash label Nov 24, 2024
@github-actions github-actions bot added macOS An issue that occurs on macOS runtime labels Nov 24, 2024
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 runtime
Projects
None yet
Development

No branches or pull requests

1 participant