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

Crash on MacOS 7.3.1 release #23497

Open
sluongng opened this issue Sep 3, 2024 · 3 comments
Open

Crash on MacOS 7.3.1 release #23497

sluongng opened this issue Sep 3, 2024 · 3 comments
Labels
team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel type: bug untriaged

Comments

@sluongng
Copy link
Contributor

sluongng commented Sep 3, 2024

Description of the bug:

I was doing a bazel test and got

Computing main repo mapping:

Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/private/var/tmp/_bazel_sluongng/06e573a93bc2d6a9cad4ad41f00b4310/server/jvm.out')

Then this file appeared in my repository with the JVM crash details:

hs_err_pid16796.log

It seems like the crash has something to do with net.starlark.java.eval.MutableStarlarkList

Which category does this issue belong to?

Starlark Interpreter

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

Cannot reliably reproduce.

Which operating system are you running Bazel on?

MacOS

What is the output of bazel info release?

release 7.3.1

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/buildbuddy-io/buildbuddy.git
a3502e0dc89ea019e3bbe682bc9fe7bb1d2c17d8

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?

No response

@github-actions github-actions bot added the team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel label Sep 3, 2024
@sluongng
Copy link
Contributor Author

hs_err_pid11464.log

got another one today

@sluongng
Copy link
Contributor Author

sluongng commented Nov 8, 2024

hs_err_pid48965.log

Got another crash today while on 7.4.0.
I think the new OpenJDK change is applied this time.

cc: @fmeum

@fmeum
Copy link
Collaborator

fmeum commented Nov 9, 2024

The crash appears to occur on a list that always has 1912 entries and strings such as 14.17.5-linux_amd64 appear in memory. Do you happen to know where this list comes from?

fmeum added a commit to fmeum/bazel that referenced this issue Nov 21, 2024
copybara-service bot pushed a commit that referenced this issue Nov 21, 2024
Work towards #23497
Work towards #24389

Closes #24431.

PiperOrigin-RevId: 698846634
Change-Id: I3fb2d46597b225833a918af9731665bb276322dd
bazel-io pushed a commit to bazel-io/bazel that referenced this issue Nov 21, 2024
Work towards bazelbuild#23497
Work towards bazelbuild#24389

Closes bazelbuild#24431.

PiperOrigin-RevId: 698846634
Change-Id: I3fb2d46597b225833a918af9731665bb276322dd
github-merge-queue bot pushed a commit that referenced this issue Nov 21, 2024
Work towards #23497
Work towards #24389

Closes #24431.

PiperOrigin-RevId: 698846634
Change-Id: I3fb2d46597b225833a918af9731665bb276322dd

Commit
27a5e45

Co-authored-by: Fabian Meumertzheim <[email protected]>
bazel-io pushed a commit to bazel-io/bazel that referenced this issue Dec 13, 2024
Work towards bazelbuild#23497
Work towards bazelbuild#24389

Closes bazelbuild#24431.

PiperOrigin-RevId: 698846634
Change-Id: I3fb2d46597b225833a918af9731665bb276322dd
github-merge-queue bot pushed a commit that referenced this issue Dec 18, 2024
Work towards #23497
Work towards #24389

Closes #24431.

PiperOrigin-RevId: 698846634
Change-Id: I3fb2d46597b225833a918af9731665bb276322dd

Commit
27a5e45

Co-authored-by: Fabian Meumertzheim <[email protected]>
Co-authored-by: Ian (Hee) Cha <[email protected]>
Co-authored-by: Yun Peng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Starlark-Interpreter Issues involving the Starlark interpreter used by Bazel type: bug untriaged
Projects
None yet
Development

No branches or pull requests

5 participants