-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
JVM segfault when using openjdk@11 11.0.26 on Mac OS 14 #206097
Comments
Can try rebuilding bottle with a different workaround for Xcode 16 in #206139. If it keeps failing after that then will probably need deeper dive into crash report (and maybe someone on Java side to help debug further). EDIT:
This doesn't matter as only cosmetic difference. Homebrew just doesn't embed the build number into binaries (via The source code is the same, i.e. we use official |
The update in #206139 (pulled via brew upgrade) seems to have fixed the SIGSEGV I was seeing yesterday. As some additional info I was also seeing a SIGSEGV when editing the formula to use the |
Based on above data point and my own observation (I tried re-running reproduction multiple times), will close as resolved by new bottle. Feel free to comment or open a new issue if still occurring after |
I'm seeing it fixed as well. Thanks for the speedy resolution! |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I work on a couple libraries that make heavy use of pyspark. On the 23rd, our Mac OS 14 CI jobs started failing due to a segfault in the JVM. After some detective work, I've determined that the first failure happened on the first day
brew install openjdk@11
pulled in version 11.0.26. The CI jobs have been failing consistently since then, and I've been able to reproduce the crash on my dev laptop with a very simple pyspark script (attached). Downgrading the JDK to the previous homebrew version (which took some effort) fixes the problem, as does switching to the Microsoft build of OpenJDK. Our Mac OS 13 CI jobs are fine.Repro script:
One observation: OpenJDK lists their latest version 11 stable release number as 11.0.26+4, which matches the Microsoft build. Homebrew's build is 11.0.26+0.
What happened (include all command output)?
What did you expect to happen?
The repro script should finish without crashing.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: