Skip to content

with ast/check segfault on examples/nebula/src/schema.w #2

Closed

Description

@ehartford

Summary

The self-hosted compiler segfaults on a checked-in Nebula example file instead of emitting an AST or type-check diagnostics.

Reproduction

Repo commit:

git rev-parse --short HEAD
# 31afd3b

Compiler version:

with version
# with 0.0.1

Environment:

macOS 26.3.1 (build 25D771280a)

Commands:

with ast examples/nebula/src/schema.w
# exit code 139
# no stdout
# no stderr

with check examples/nebula/src/schema.w
# exit code 139
# no stdout
# no stderr

I also saw the same segfault behavior on:

with ast examples/nebula/src/session.w
with check examples/nebula/src/session.w

Expected

  • with ast should print the parsed AST.
  • with check should either succeed or emit normal compiler diagnostics.

Actual

Both commands segfault immediately with exit code 139 and no output.

Notes

I hit this while bootstrapping a separate With library. Since examples/nebula/src/schema.w is already in this repo, it should make a good regression test once the crash is fixed.

Activity

  1. added a commit that references this issue on Jun 8, 2026
    dc903c7
  2. added a commit that references this issue on Jul 10, 2026
  3. added a commit that references this issue on Aug 17, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions