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
Bazel binaries built with the latest MSVC version (14.40.33807) crash with older vcruntime #1967
In GitHub Actions on a Windows runner, Bazelisk fails to launch Bazel 7.2.0rc3, while 7.2.0rc2 on Windows and 7.2.0rc3 on other OSes work just fine (see fmeum/buildozer#15).
The log output from the runner:
2024-06-06T07:15:48.7574869Z ##[group]Run bazelisk run //:run_buildozer
2024-06-06T07:15:48.7575484Z �[36;1mbazelisk run //:run_buildozer�[0m
2024-06-06T07:15:48.7575868Z �[36;1mbazelisk test //...�[0m
2024-06-06T07:15:48.7611914Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2024-06-06T07:15:48.7612417Z env:
2024-06-06T07:15:48.7612670Z USE_BAZEL_VERSION: 7.2.0rc3
2024-06-06T07:15:48.7613019Z ##[endgroup]
2024-06-06T07:15:59.3619476Z 2024/06/06 07:15:59 Downloading https://releases.bazel.build/7.2.0/rc3/bazel-7.2.0rc3-windows-x86_64.exe...
2024-06-06T07:16:00.9729834Z ##[error]Process completed with exit code 1.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD ?
No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
changed the title [-]Bazelisk fails to launch Bazel 7.2.0rc3 on Windows[/-][+]Bazel binaries built with the latest MSVC version (14.40.33807) doesn't run on some older Windows machines.[/+]on Jun 7, 2024
changed the title [-]Bazel binaries built with the latest MSVC version (14.40.33807) doesn't run on some older Windows machines.[/-][+]Bazel binaries built with the latest MSVC version (14.40.33807) crash on older Windows machines.[/+]on Jun 7, 2024
changed the title [-]Bazel binaries built with the latest MSVC version (14.40.33807) crash on older Windows machines.[/-][+]Bazel binaries built with the latest MSVC version (14.40.33807) crash with older vcruntime[/+]on Jun 10, 2024
Activity
fmeum commentedon Jun 6, 2024
@meteorcloudy
fmeum commentedon Jun 6, 2024
last_greenfails in a similar way.meteorcloudy commentedon Jun 6, 2024
Let me take a look now
meteorcloudy commentedon Jun 6, 2024
Wow, turned out to be bazelbuild/bazel@759fe7d
meteorcloudy commentedon Jun 6, 2024
Not sure why it's not caught in presubmit
meteorcloudy commentedon Jun 6, 2024
OK, we also did a windows VM update around the same time, maybe that's the real cause.
fmeum commentedon Jun 6, 2024
If bazelbuild/bazel@759fe7d turns out to be the culprit, I'll never consider any change safe for cherry-picking anymore :-D
7 remaining items
fmeum commentedon Jun 6, 2024
Could be related to actions/runner-images#10004 (comment)
[-]Bazelisk fails to launch Bazel 7.2.0rc3 on Windows[/-][+]Bazel binaries built with the latest MSVC version (14.40.33807) doesn't run on some older Windows machines.[/+][-]Bazel binaries built with the latest MSVC version (14.40.33807) doesn't run on some older Windows machines.[/-][+]Bazel binaries built with the latest MSVC version (14.40.33807) crash on older Windows machines.[/+]Install a previous version of MSVC build tools (#1968)
benjaminp commentedon Jun 7, 2024
Could 8.0.0-pre.20240530.1 be refreshed, too? It seems to have been afflicted.
meteorcloudy commentedon Jun 10, 2024
@benjaminp 8.0.0-pre.20240530.1 should be fixed now, can you verify?
[-]Bazel binaries built with the latest MSVC version (14.40.33807) crash on older Windows machines.[/-][+]Bazel binaries built with the latest MSVC version (14.40.33807) crash with older vcruntime[/+]benjaminp commentedon Jun 10, 2024
https://releases.bazel.build/8.0.0/rolling/8.0.0-pre.20240530.1/bazel-8.0.0-pre.20240530.1-windows-x86_64.exe still seems affected. (The download server reports "June 6" as the last modified time.)
meteorcloudy commentedon Jun 10, 2024
I see, I only refreshed 3e2aec2fdefea213cde0c0fc41eb40221995d1ca. Now reran the release pipeline, should be fixed now.
Install a previous version of MSVC build tools (bazelbuild#1968)