Skip to content

[BUG] Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c #640

@hdkhanh462

Description

@hdkhanh462

When running command bun run dev on Windows, the following assertion error occasionally occurs, causing the process to crash:

Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
Image

Steps to Reproduce:

  1. Run the command bun run dev
  2. Observe the crash with the above assertion.

Environment:

  • OS: Windows 10 Pro
  • Architecture: x64
  • Node.js: Node.js v24.9.0

Configs:

{
  "$schema": "https://r2.better-t-stack.dev/schema.json",
  "version": "3.2.2",
  "createdAt": "2025-10-19T15:36:40.324Z",
  "database": "postgres",
  "orm": "prisma",
  "backend": "hono",
  "runtime": "workers",
  "frontend": [
    "next"
  ],
  "addons": [
    "biome",
    "turborepo"
  ],
  "examples": [
    "todo"
  ],
  "auth": "better-auth",
  "packageManager": "bun",
  "dbSetup": "none",
  "api": "orpc",
  "webDeploy": "none",
  "serverDeploy": "wrangler"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions