Repository navigation
tests.sh: a run with no ALL DONE prints its exit code; a crash is run again under gdb - #121
Merged
Merged
Conversation
… run again under gdb array_class_splice.ts -mm=rc debug/jit ended with no output at all on ubuntu-22.04/24.04 in the release run of 2026-11-26 (twice), and passed on a rerun; ~700 runs of the same package (WSL 26.04, an ubuntu:22.04 container, other CPU targets, 2 CPUs, the full tests.sh sequence) never reproduced it. A crash inside the program prints LLVM's stack dump on stderr, so an empty output is a kill (OOM, SIGKILL) or a crash after the handlers are gone, with stdout's pipe buffer never flushed. The exit code now tells which, and a signal reruns the test once under gdb (when there is one) for every thread's backtrace. The test stays failed either way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
array_class_splice.tsunder-mm=rc, debug/jit, ended with no output at all on ubuntu-22.04 and 24.04 in the compiler's release run of 2026-11-26 (v0.0-pre-alpha136, attempts 1 and 2), and passed on attempt 3.Could not reproduce it: ~700 runs of the exact CI package (WSL Ubuntu 26.04 with a local build; an
ubuntu:22.04container with the release run's owntslang-…-ubuntu-22.04asset and its prebuilt debug default library;--mcpu=znver3/x86-64; pinned to 2 CPUs; the realtests.sh rcsequence from an empty__jit). This repo's CI ran the test ~120 times with alpha135 without a failure.What the empty output says: a crash inside the program prints LLVM's stack dump on stderr (unbuffered), checked with a test that calls
abort(). So this run was killed (OOM, SIGKILL) or crashed after the handlers were gone, at exit, before stdout's pipe buffer was flushed.tests.shnow prints the exit code of a run with noALL DONE(139 segfault, 134 abort, 137 kill, or a normal exit), and on a signal runs the test once more under gdb, when there is one, printing every thread's backtrace. The test stays failed either way. Checked inubuntu:22.04with anabort()probe: exit code 134, then the gdb backtrace.CI here tests against the last compiler release, so the tests that need the compiler fixes merged since then (e.g.
collection_literal_arguments.ts,object_dictionary_builtins.ts) fail as they do on #120; this change touches onlytests.sh.🤖 Generated with Claude Code