WhatBrokeToday
GTA 6FAQ
Bun

Bun AOT Compiler Panics on macOS arm64 with Range End Index Error

medium

Is it fixed? Not yet.

Ongoing since Nov 14, 07:39 UTC. First reported Nov 14, 07:39 UTC.

What happened

Bun AOT compilation panics on macOS arm64 during the Lower phase with a "range end index 0 out of range for slice of length 0" error in Checker::note_cycle_entered. The issue occurs on official canary builds such as 1.4.5-canary.1+9098897a1 when compiling large standalone builds with numerous entry points.

What caused it?

Under active investigation. No report has identified a root cause yet.

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Official fix

Timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    AOT: Lower panics in `Checker::note_cycle_entered` with an empty query stack ("range end index 0 out of range for slice of length 0")

    Source

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    AOT: Lower panics in `Checker::note_cycle_entered` with an empty query stack ("range end index 0 out of range for slice of length 0")(opens GitHub issue in a new tab)

    On macOS arm64, AOT compilation panics in Lower on main 9098897a17372d46559d1a68a44061f493546631 (official canary 1.4.5-canary.1+9098897a1). The same panic occurs on a62cc2856 and 0554db875. No compiler sources were changed: panic: range end index 0 out of range for slice of length 0 Stopped while compiling .../chunks/standalone-entry-<hash>.js in Lower. We don't have a standalone repro yet. The input is the standalone desktop build of OpenClaw: a single Bun.build call with 19,922 entry points…

    by steipete 0upvotes 2comments

FAQ

What happened in the Bun outage?

Bun AOT compilation panics on macOS arm64 during the Lower phase with a "range end index 0 out of range for slice of length 0" error in Checker::note_cycle_entered. The issue occurs on official canary builds such as 1.4.5-canary.1+9098897a1 when compiling large standalone builds with numerous entry points.

What is affected by the Bun outage?

Bun (versions: 1.4.5-canary.1+9098897a1).

When did the Bun outage start and end?

It started Nov 14, 07:39 UTC and is still ongoing (4 d 21 h so far). This page updates as it develops.

How do I get alerts for Bun?

Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.