Skip to content
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

Server crashed during startup. (maybe special-char related?) #24416

Open
stormsc1 opened this issue Nov 20, 2024 · 3 comments
Open

Server crashed during startup. (maybe special-char related?) #24416

stormsc1 opened this issue Nov 20, 2024 · 3 comments

Comments

@stormsc1
Copy link

Description of the bug:

C:\Dev\KhaosSystems\mediapipe>bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\Python39\\python.exe" mediapipe/unreal:ump_shared
Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing c:\users\storms�ndergaard\_bazel_storms�ndergaard\4jcgmw3g\server\jvm.out
Error: Unable to access jarfile C:\\Users\\StormS?ndergaard\\_bazel_StormS?ndergaard\\install\\29d8636b28175236152b75c823539a3c\\A-server.jar

Which category does this issue belong to?

CLI

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

I am not sure. It might be because of special characters in username, but not sure.

Which operating system are you running Bazel on?

Windows 11

What is the output of bazel info release?

C:\Dev\KhaosSystems\mediapipe>bazel info release Starting local Bazel server and connecting to it... Server crashed during startup. Now printing c:\users\storms�ndergaard_bazel_storms�ndergaard\4jcgmw3g\server\jvm.out Error: Unable to access jarfile C:\Users\StormS?ndergaard\_bazel_StormS?ndergaard\install\29d8636b28175236152b75c823539a3c\A-server.jar

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 ?

https://github.com/KhaosSystems/mediapipe

If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

Tried to set BAZEL_USER_HOME=C:/Bazel and BAZEL_HOME=C:/Bazel, without luck.

@fmeum
Copy link
Collaborator

fmeum commented Nov 20, 2024

If you are using Bazelisk, could you check whether you can get past this error if you set the environment variable USE_BAZEL_VERSION=083fc651d5c1b2076d08d82365ddf381e2ea4adb ? That gives you a pre-release version of Bazel 8 with many Unicode fixes.

@stormsc1
Copy link
Author

stormsc1 commented Nov 21, 2024

I was able to get a bit further, but the project I was trying to build did not build with the pre-release version of Bazel (is it on 6.5). I ended up finding a second workstation.

If you are using Bazelisk, could you check whether you can get past this error if you set the environment variable USE_BAZEL_VERSION=083fc651d5c1b2076d08d82365ddf381e2ea4adb ? That gives you a pre-release version of Bazel 8 with many Unicode fixes.

@meisterT
Copy link
Member

@stormsc1 since this crashes during startup, you can test this independently from your project.

Just create temp dir in your home, an empty WORKSPACE file and test there first that it fails with Bazel 6.x and that it works with the Bazel version from Fabian.

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

No branches or pull requests

7 participants