You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LLVM assertion failures hang with a modal dialog on Windows #92829
The Windows CI build with LLVM assertions enabled recently hung without an error message. It turned out to be an LLVM assertion failure resulting in a dialog which needed to be acknowledged, see #92535 (comment).
According to the assert documentation such a dialog is always displayed, but that is not the whole truth. Apparently _CrtSetReportHook() can be used to customize assertion failure handling. We should definitely make assertions failures exit with error after printing failure information to stderr instead of displaying a dialog and hanging.
@Patrick-Poitras That was responsible for four stuck dist-x86_64-msvc-alt builds recently. I don't think it was responsible for many timed out builds before that.
Activity
Patrick-Poitras commentedon Jan 13, 2022
Could this be part of why we're getting so many hangs in the CI?
hkratz commentedon Jan 14, 2022
@Patrick-Poitras That was responsible for four stuck
dist-x86_64-msvc-altbuilds recently. I don't think it was responsible for many timed out builds before that.ehuss commentedon Jan 28, 2022
Posted #93402 with a possible solution.
Rollup merge of rust-lang#93402 - ehuss:llvm-dialog, r=michaelwoerister
Rollup merge of rust-lang#93402 - ehuss:llvm-dialog, r=michaelwoerister
Rollup merge of rust-lang#93402 - ehuss:llvm-dialog, r=michaelwoerister