Skip to content

Bazel binaries built with the latest MSVC version (14.40.33807) crash with older vcruntime #1967

Open

Description

@fmeum

Description of the bug:

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?

No response

Activity

  1. fmeum commented on Jun 6, 2024

    @fmeum
    ContributorAuthor
  2. fmeum commented on Jun 6, 2024

    @fmeum
    ContributorAuthor

    last_green fails in a similar way.

  3. self-assigned this
    on Jun 6, 2024
  4. meteorcloudy commented on Jun 6, 2024

    @meteorcloudy
    Member

    Let me take a look now

  5. meteorcloudy commented on Jun 6, 2024

    @meteorcloudy
    Member

    Wow, turned out to be bazelbuild/bazel@759fe7d

  6. meteorcloudy commented on Jun 6, 2024

    @meteorcloudy
    Member

    Not sure why it's not caught in presubmit

  7. meteorcloudy commented on Jun 6, 2024

    @meteorcloudy
    Member

    OK, we also did a windows VM update around the same time, maybe that's the real cause.

  8. fmeum commented on Jun 6, 2024

    @fmeum
    ContributorAuthor

    If bazelbuild/bazel@759fe7d turns out to be the culprit, I'll never consider any change safe for cherry-picking anymore :-D

  9. 7 remaining items

  10. fmeum commented on Jun 6, 2024

    @fmeum
    ContributorAuthor
  11. 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
  12. 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
  13. added and removed on Jun 7, 2024
  14. benjaminp commented on Jun 7, 2024

    @benjaminp
    Contributor

    Could 8.0.0-pre.20240530.1 be refreshed, too? It seems to have been afflicted.

  15. meteorcloudy commented on Jun 10, 2024

    @meteorcloudy
    Member

    @benjaminp 8.0.0-pre.20240530.1 should be fixed now, can you verify?

  16. 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
  17. benjaminp commented on Jun 10, 2024

    @benjaminp
    Contributor
  18. meteorcloudy commented on Jun 10, 2024

    @meteorcloudy
    Member

    I see, I only refreshed 3e2aec2fdefea213cde0c0fc41eb40221995d1ca. Now reran the release pipeline, should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions