Skip to content

regression: GET /api/hello segfaults the compiled Next.js standalone server (2026-07-04 main window; was byte-identical at #5932 validation) #5990

Description

@proggeramlug

Summary

Fresh regression on main (window: 2026-07-04's commits): GET /api/hello on the compiled Next.js 16 App Router standalone server segfaults the server process (SIGSEGV, empty reply, server dead). At the #5932 validation earlier the same day (main @ ~a0a542fae era), both /api/hello GET and POST were byte-identical vs node v26.

Repro

Crash data

macOS crash reports captured (e.g. ~/Library/Logs/DiagnosticReports/nx-5941-base-2026-07-04-173207.ips on the box) — 11 frames, all in the compiled binary, unsymbolized on a default build. Recompiling the bundle with PERRY_DEBUG_SYMBOLS=1 and re-symbolizing via atos -l <__TEXT base> will name the frames (the standard #5437-era technique).

Suspect window

The ~25 commits merged 2026-07-04 between the #5932 validation and 632e68e. Categorical suspects touching request/write paths: 8f6db5f (spread-source validation / handle band on the set path), 53d23ad (write-path hardening slice 2: transition_fast, structuredClone, rejection printer), 4de47ef (frozen/non-writable length on mutating array methods). Untriaged — a bundle-compile bisect over that window (API route only, ~10 min per round) should pin it quickly.

References

#5932 (the 5/8 validation this regressed from), #5437 (tracking), PR #5988 (where it was observed while validating).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions