-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel crash on windows with java.nio.file.InvalidPathException: Illegal char <*> at index ...
#20906
Comments
java.nio.file.InvalidPathException: Illegal char <*> at index 33: D:/a/rules_cuda/rules_cuda/bazel-*
java.nio.file.InvalidPathException: Illegal char <*> at index ...
The direct cause should be the |
@bazel-io fork 7.0.1 |
Looks like a regression introduced by 4dabe43. Cc @sushain97 |
I agree that Bazel shouldn't crash in this case. That being said, aren't wildcards not supported per #7093? So, the fix would be just improving the error message? |
@sushain97 Yes, fixing the crashing is the immediate goal. In the meantime, giving this is not that serious. I'm making this a soft release blocker for 7.0.1, which means it won't block 7.0.1 if other things clear out. |
Fixes bazelbuild#20906. cc @meteorcloudy Closes bazelbuild#21170. PiperOrigin-RevId: 605291552 Change-Id: I8d42729f176b4325ee402c0c6143db9d534c5e0b
Fixes bazelbuild#20906. cc @meteorcloudy Closes bazelbuild#21170. PiperOrigin-RevId: 605291552 Change-Id: I8d42729f176b4325ee402c0c6143db9d534c5e0b
Fixes #20906. cc @meteorcloudy Closes #21170. Commit 026f493 PiperOrigin-RevId: 605291552 Change-Id: I8d42729f176b4325ee402c0c6143db9d534c5e0b Co-authored-by: Sushain Cherivirala <sushain@skc.name>
A fix for this issue has been included in Bazel 7.1.0 RC1. Please test out the release candidate and report any issues as soon as possible. Thanks! |
@iancha1992 Now it doesn't crash but produe the following error
I am not sure if it is by design if you want to address the root cause. For example, in the case someone want it ignore I am OK with deleting the line in |
@cloudhan adding support for wildcards is tracked in #7093. You will need to delete the entry from |
Description of the bug:
Bazel crashed as follows:
Which category does this issue belong to?
Core
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
See https://github.com/bazel-contrib/rules_cuda/actions/runs/7531757668/job/20501002440#step:7:21
To reproduce locally:
rules_cuda-cloudhan-v7.zip
Which operating system are you running Bazel on?
Windows 11 and Windows Server 2019
What is the output of
bazel info release
?release 7.0.0,
bazel info
(norelease
) crashed with the same errorAny other information, logs, or outputs that you want to share?
bazel info
crashed with the same errorThe text was updated successfully, but these errors were encountered: