Live data from Hacker News

macOS 14.4 causes JVM crashes

blogs.oracle.com

51–60 of 160 posts

Re: macOS 14.4 causes JVM crashes

#52
The main question now is why hasn't it been exposed in pre-release 14.4. This could mean some very urgent and risky change got its way to the 14.4 release, or that the whole macos release process is broken and unstable.

Re: macOS 14.4 causes JVM crashes

#53
post #47

> macOS on Apple silicon processors (M1, M2, and M3) includes a feature which controls how and when dynamically generated code can be either produced (written) or executed on a per-thread basis. […] With macOS 14.4, when a thread is operating in the write mode, if a memory access to a protected memory region is attempted, macOS will send the signal SIGKILL instead. This isn’t just any old thread triggering SIGKILL, i…

It said it affected back to Java 8, so seems like this design has been there for a while, and since older versions are EOL, any Java level fix would not be patched back.

Re: macOS 14.4 causes JVM crashes

#54

Earlier quoted context omitted.

This is what I do when my job forced me to use a mac. I think the only thing I installed on the mac outside of it was Firefox. Worked great for years before I changed jobs that let me bring my own hardware finally.

What is your preferred hardware and flavor of Linux for this? I'm trying to do the same

Tbh no one matches the hardware quality of MacBooks. But I refuse to use them on principle. Thinkpad t14 been serving me well (using fedora).

Re: macOS 14.4 causes JVM crashes

#55
post #22

Apple and macOS is slowly becoming another Windows in terms of stability. There was a HN post about a hashicorp founder using Linux within a vm on their mbp. Might adopt that same approach, if I can find the og post.

When's the last time you had a BSOD on Windows? I honestly can't recall.

A long time in fact. But macOS 14.3 kernel paniced on me last week.

Re: macOS 14.4 causes JVM crashes

#56
I just bought a MacBook Pro with the M3 Max chip and installed MATLAB R2023b. Sonoma 14.3 is in place. As a requirement, I had to also install Corretto 8. MathWorks only supports the Java 8 JRE included with Amazon Corretto 8. I am already having several problems in MATLAB with his new setup. Can I assume that updating to Sonoma 14.4 might very well cause even more problems? I really don't understand any of this.

Re: macOS 14.4 causes JVM crashes

#57
post #2

An issue introduced by macOS 14.4, which causes Java process to terminate unexpectedly, is affecting all Java versions from Java 8 to the early access builds of JDK 22 If this affects so many versions of Java and nobody notices, is anyone even using Java on macOS?

Sonoma has been out for only one week!

Sonoma became generally available September 26, 2023.

Re: macOS 14.4 causes JVM crashes

#58
post #36

A gross and low performance option for now might be to run Java under Rosetta, but I’m saying that based on them saying that this is apple silicon specifically and processes under rosetta have a bunch of quirks to support intel semantics. This would allow you to work around this for now. That said I’m curious what the exact scenario that leads to this is, I’m assuming it’s not common as you would expect it to have co…

> I’m assuming it’s not common as you would expect it to have come up during betas and pre -release seeds.

The article specifically says that the issue was not present in early access releases, so it was not possible to discover it before the actual release.

Re: macOS 14.4 causes JVM crashes

#59
post #5
post #2

An issue introduced by macOS 14.4, which causes Java process to terminate unexpectedly, is affecting all Java versions from Java 8 to the early access builds of JDK 22 If this affects so many versions of Java and nobody notices, is anyone even using Java on macOS?

For one, it doesn't affect all versions of Java. Java 20 (an LTS release) and 21, for example, don't have this problem.

The article says that the issue “is affecting all Java versions from Java 8 to the early access builds of JDK 22” now.
Post reply on HN