Skip to content

Spurious SIGSEGV when building regex-automata (dep of stage 0 tool coverage-dump) on x86_64-apple-darwin in CI #139245

Open
@jieyouxu

Description

@jieyouxu

See #139242 (comment).

2025-04-02T09:19:22.3591380Z [RUSTC-TIMING] regex_automata test:false 2.828
2025-04-02T09:19:22.3809420Z rustc exited with signal: 11 (SIGSEGV)
2025-04-02T09:19:22.3848270Z �[1m�[31merror�[0m�[1m:�[0m could not compile `regex-automata` (lib)
CI log ``` 2025-04-02T09:19:16.1992320Z ##[group]Building stage0 tool coverage-dump (x86_64-apple-darwin) 2025-04-02T09:19:16.3934540Z �[1m�[32m Compiling�[0m typenum v1.17.0 2025-04-02T09:19:16.3936150Z �[1m�[32m Compiling�[0m version_check v0.9.5 2025-04-02T09:19:16.3941180Z �[1m�[32m Compiling�[0m memchr v2.7.4 2025-04-02T09:19:16.3941790Z [RUSTC-TIMING] regex_syntax test:false 12.233 2025-04-02T09:19:16.3942410Z �[1m�[32m Compiling�[0m anyhow v1.0.95 2025-04-02T09:19:16.6887000Z [RUSTC-TIMING] build_script_build test:false 0.280 2025-04-02T09:19:16.7186180Z [RUSTC-TIMING] version_check test:false 0.317 2025-04-02T09:19:16.7188860Z �[1m�[32m Compiling�[0m cfg-if v1.0.0 2025-04-02T09:19:16.7227450Z �[1m�[32m Compiling�[0m generic-array v0.14.7 2025-04-02T09:19:16.7649290Z [RUSTC-TIMING] cfg_if test:false 0.038 2025-04-02T09:19:16.7658470Z �[1m�[32m Compiling�[0m adler v1.0.2 2025-04-02T09:19:16.9103660Z [RUSTC-TIMING] build_script_build test:false 0.172 2025-04-02T09:19:16.9247930Z [RUSTC-TIMING] adler test:false 0.152 2025-04-02T09:19:16.9256710Z �[1m�[32m Compiling�[0m miniz_oxide v0.7.4 2025-04-02T09:19:16.9300400Z [RUSTC-TIMING] build_script_main test:false 0.529 2025-04-02T09:19:17.7486860Z [RUSTC-TIMING] typenum test:false 0.684 2025-04-02T09:19:17.7647460Z [RUSTC-TIMING] anyhow test:false 0.817 2025-04-02T09:19:17.7656380Z �[1m�[32m Compiling�[0m aho-corasick v1.1.3 2025-04-02T09:19:18.0985450Z [RUSTC-TIMING] memchr test:false 1.690 2025-04-02T09:19:18.0993530Z �[1m�[32m Compiling�[0m rustc-demangle v0.1.24 2025-04-02T09:19:18.8139560Z [RUSTC-TIMING] generic_array test:false 1.060 2025-04-02T09:19:18.8162330Z �[1m�[32m Compiling�[0m crypto-common v0.1.6 2025-04-02T09:19:18.9889830Z [RUSTC-TIMING] crypto_common test:false 0.168 2025-04-02T09:19:18.9921890Z �[1m�[32m Compiling�[0m block-buffer v0.10.4 2025-04-02T09:19:19.0557610Z [RUSTC-TIMING] miniz_oxide test:false 2.122 2025-04-02T09:19:19.0566220Z �[1m�[32m Compiling�[0m leb128 v0.2.5 2025-04-02T09:19:19.1180290Z [RUSTC-TIMING] block_buffer test:false 0.119 2025-04-02T09:19:19.1189400Z �[1m�[32m Compiling�[0m digest v0.10.7 2025-04-02T09:19:19.1515840Z [RUSTC-TIMING] leb128 test:false 0.088 2025-04-02T09:19:19.3243710Z �[1m�[32m Compiling�[0m md-5 v0.10.6 2025-04-02T09:19:19.3284660Z [RUSTC-TIMING] digest test:false 0.205 2025-04-02T09:19:19.3689810Z [RUSTC-TIMING] rustc_demangle test:false 1.266 2025-04-02T09:19:19.4422310Z [RUSTC-TIMING] md5 test:false 0.113 2025-04-02T09:19:19.5185410Z �[1m�[32m Compiling�[0m regex-automata v0.4.9 2025-04-02T09:19:22.3591380Z [RUSTC-TIMING] regex_automata test:false 2.828 2025-04-02T09:19:22.3809420Z rustc exited with signal: 11 (SIGSEGV) 2025-04-02T09:19:22.3848270Z �[1m�[31merror�[0m�[1m:�[0m could not compile `regex-automata` (lib) 2025-04-02T09:19:22.3850090Z 2025-04-02T09:19:22.3856560Z Caused by: 2025-04-02T09:19:22.3878850Z process didn't exit successfully: `/Users/runner/work/rust/rust/build/bootstrap/debug/rustc /Users/runner/work/rust/rust/build/bootstrap/debug/rustc --crate-name regex_automata --edition=2021 /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/regex-automata-0.4.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=bab88db0d56a8cac -C extra-filename=-159966159ad12c20 --out-dir /Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage0-bootstrap-tools/x86_64-apple-darwin/release/deps --target x86_64-apple-darwin -L dependency=/Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage0-bootstrap-tools/x86_64-apple-darwin/release/deps -L dependency=/Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage0-bootstrap-tools/release/deps --extern aho_corasick=/Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage0-bootstrap-tools/x86_64-apple-darwin/release/deps/libaho_corasick-2b9b98d5bfd9bcef.rmeta --extern memchr=/Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage0-bootstrap-tools/x86_64-apple-darwin/release/deps/libmemchr-0a4f412715e182b5.rmeta --extern regex_syntax=/Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage0-bootstrap-tools/x86_64-apple-darwin/release/deps/libregex_syntax-fda7b81e2a32ebb6.rmeta --cap-lints allow --cfg=bootstrap --cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options '--check-cfg=cfg(bootstrap)' -Zmacro-backtrace -Csplit-debuginfo=unpacked -Zosx-rpath-install-name '-Clink-args=-Wl,-rpath,@loader_path/../lib' -Alinker-messages -Zunstable-options -Z binary-dep-depinfo` (exit status: 254) 2025-04-02T09:19:22.3988680Z �[1m�[33mwarning�[0m�[1m:�[0m build failed, waiting for other jobs to finish... 2025-04-02T09:19:22.8660870Z [RUSTC-TIMING] aho_corasick test:false 5.097 2025-04-02T09:19:22.8839790Z Build completed unsuccessfully in 0:05:30 ```

Activity

added
C-bugCategory: This is a bug.
I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
O-appleOperating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)
O-x86_64Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)
S-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
on Apr 2, 2025
added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Apr 2, 2025
removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Apr 2, 2025
added
A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)
on Apr 2, 2025
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

    A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)C-bugCategory: This is a bug.CI-spurious-x86_64-apple-SIGSEGV-SIGILLCI spurious failure: SIGSEGV/SIGILL on x86_64-appleI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-appleOperating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)O-x86_64Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)S-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jieyouxu@rustbot

        Issue actions

          Spurious SIGSEGV when building `regex-automata` (dep of stage 0 tool coverage-dump) on x86_64-apple-darwin in CI · Issue #139245 · rust-lang/rust