Skip to content

Windows test runner loses panic details on exit 134 #1110

Closed

Description

@ehartford

Windows behavior tests can exit 134 without reporting the assertion or panic text.

Reproduction: PR #1107 at 74ef66c, run 34432173059, behav_migrate_windows_header_origins.w. The windows-test-captures artifact contains a stderr file with linker warnings followed by error: exit code 134, the source filename, stage, and retained test-binary path. It contains no panic message, assertion location, or stack. Stdout is empty. The failure is after three successful header migrations and executions, while preparing the first mixed-separator directory.

Expected: the test runner prints the panic/assertion and its source location, including when the synthesized test main runs the body through a fiber. The native runtime has panic backtrace support; the runner must preserve the message it captures.

Actual: CI captures only the exit code, so the failure location must be recovered indirectly from surviving fixtures. This is a diagnostic-tool gap found during the same repair as the directory-separator failure. No assertion was removed or disabled.

Evidence: https://github.com/withlang-dev/with/actions/runs/34432173059 — artifact windows-test-captures, test-graph/behavior-tests/behav_migrate_windows_header_origins.w.stderr and tmp/pre-d-p7-capture/windows_header_{migrate,run}. The filesystem branch has been traced independently in LLDB; this issue tracks the missing runner diagnostic, not the directory fix.

Activity

  1. ehartford commented on Oct 25, 2026

    @ehartford
    ContributorAuthor

    Triage 2026-10-25, with v0.15.3.0 (main a261b65): does not reproduce on Windows x86_64 (win10, with.exe from main c88f3ee). A failing assert in a behavior test reports its message and location before the exit code:

    > with.exe test out\behav_panic_probe_1110.w
    panic at out\behav_panic_probe_1110.w:3:5: triage 1110 message
    backtrace:
      #0 0x7ff6812828c4
      …
    error: exit code 134
     = file: out\behav_panic_probe_1110.w
    
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