Skip to content

Segfault #20710

Open
Open

Description

@Sainan

How can we reproduce the crash?

Just a web server with a MongoDB connection running idly in the background. Came back to see it's no longer running.

Tho it might also be related to using chokidar to watch files to restart it.

Stack Trace (bun.report)

Bun Canary v1.2.18-canary.63 (3223da27) Windows x64
Windows v.win10_cu
CPU: sse42 avx avx2 avx512
Args: "C:\Users\Sainan\AppData\Roaming\npm\\node_modules\bun\bin\bun.exe" "scripts/dev.js"
Features: fetch(32) jsc spawn(41) tsconfig tsconfig_paths
Builtins: "bun:main" "node:child_process" "node:events" "node:fs" "node:fs/promises" "node:os" "node:path" "node:stream"
Elapsed: 18932274ms | User: 750ms | Sys: 1140ms
RSS: 34.02MB | Peak: 0.21GB | Commit: 0.64GB | Faults: 227068

panic(main thread): Segmentation fault at address 0x10
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.2.18/wa23223da2MggkwgQg554oB8tpjL2msnN4lthI41mgG2om8oBqrokFkm7kFqr2kFu15tFA2AgB

Bun v1.2.18-canary (3223da2) on windows x86_64 [AutoCommand]

Segmentation fault at address 0x00000010

Features: tsconfig, tsconfig_paths, fetch, jsc, spawn

Sentry Issue: BUN-P7J

Activity

  1. added
    needs investigateNeeds to be investigated to find the root cause
    and removed on Jul 9, 2025
  2. Sainan commented on Jul 11, 2025

    @Sainan
    Author
  3. github-actions commented on Nov 25, 2025

    @github-actions
    Contributor

    Found 3 possible duplicate issues:

    1. Bun crash in NAPI running tests #18677
    2. Segmentation Fault in Bun v1.2.18 on Windows x86_64 during RunCommand (JSC::MarkedBlock::isNewlyAllocatedStale) #21569
    3. panic(main thread): Segmentation fault at address 0x0 #12675

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  4. github-actions commented on Nov 28, 2025

    @github-actions
    Contributor

    Duplicate of #18677.

    This issue has been automatically closed as a duplicate.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashAn issue that could cause a crashneeds investigateNeeds to be investigated to find the root causeruntime

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions