Skip to content

tests/run-make/dump-ice-to-disk is flakey on i686-mingw #128911

Open
@jieyouxu

Description

@jieyouxu

I've seen multiple instances of dump-ice-to-disk failing on completely unrelated PRs, but it's completely non-obvious to me how it can fail non-deterministically.


Past investigations

Update: see https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/getting.20.60Box.3Cdyn.20Any.3E.60.20as.20ICE.20message posted by @camelid:

I'm getting the following ICE message during development of a PR:

thread 'rustc' panicked at compiler/rustc_middle/src/ty/context.rs:3013:21:
Box<dyn Any>
stack backtrace:

this line in my PR is

bug!("No bound vars found for {}", self.hir().node_to_string(id))

it turns out it displays the message correctly to stderr but not to the rustc-ice file

Is it possible that the test isn't flakey, but that our ICE dump actually regressed? cc @estebank and @nnethercote for diagnostic and ICE dumping in case you guys have any ideas.

Update 2: #128956 has the Box<dyn Any> symptom as well, it might not be limited to ICE dumps to files but also to stderr? Unclear at this moment.

thread 'rustc' panicked at compiler\rustc_codegen_llvm\src\context.rs:1138:21:
Box<dyn Any>
stack backtrace:
   0:     0x7fffe0c051b0 - std::backtrace_rs::backtrace::dbghelp64::trace::h0891390128512157

Update 3: Box<dyn Any> seems to be a separate thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-run-makeArea: port run-make Makefiles to rmake.rsA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.D-diagnostic-infraDiagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.I-flaky-testIssue: A test is flaky/unreliable/spuriously failsO-windows-gnuToolchain: GNU, Operating system: WindowsO-x86_32Target: x86 processors, 32 bit (like i686-*) (IA-32)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

    Issue actions