Crash on MacOS 7.3.1 release
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 75
Description
### 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](https://github.com/user-attachments/files/16846712/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` ?
```text
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_
Contributor guide
Research direction
Start by inspecting the attached hs_err_pid16796.log and the Bazel 7.3.1 crash context around net.starlark.java.eval.MutableStarlarkList. Try to reproduce the failure with bazel test on macOS, though the report says it is not reliable. Done means identifying the crash cause and providing a verified fix or regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100