> 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…
So MacOS is trying to be smart, changes their API, and now we're blaming the JVM for doing something we don't understand? At least they could have provided a path back to the old behavior.
macOS 14.4 causes JVM crashes
71–80 of 160 posts
Re: macOS 14.4 causes JVM crashes
#72Apple 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.
It happens fairly often for me with more exotic hardware e.g. Infiniband or when I push the hardware too hard i.e. parallel Rust builds.
Re: macOS 14.4 causes JVM crashes
#73An 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?
> is anyone even using Java on macOS? IntelliJ IDEA, the product itself, is JVM based.
So Pycharm, Rustrover etc.
Re: macOS 14.4 causes JVM crashes
#74Earlier quoted context omitted.
> is anyone even using Java on macOS? IntelliJ IDEA, the product itself, is JVM based.
Actually everything from Jetbrains does. So Pycharm, Rustrover etc.
Re: macOS 14.4 causes JVM crashes
#75I 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.
".. is affecting all Java versions from Java 8 to the early access builds of JDK 22. There is no workaround available .." Do not update until Apple fixes the issue.
Re: macOS 14.4 causes JVM crashes
#76I 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.
".. is affecting all Java versions from Java 8 to the early access builds of JDK 22. There is no workaround available .." Do not update until Apple fixes the issue.
Re: macOS 14.4 causes JVM crashes
#77Earlier quoted context omitted.
".. is affecting all Java versions from Java 8 to the early access builds of JDK 22. There is no workaround available .." Do not update until Apple fixes the issue.
Is it Apple or Oracle who should rightly be fixing this issue?
Re: macOS 14.4 causes JVM crashes
#78Earlier quoted context omitted.
And, why not? macOS is Apple’s IP and they have all rights to do with it as they want. Buy the way, Chrome/Node.js JavaScript engine uses JIT compilation too. Are they affected?
No. MacOS is UNIX Certified. This is a bug in MacOS. Breaks POSIX compliance.
Re: macOS 14.4 causes JVM crashes
#79I wonder if we’re about to enter 4-5 years of macOS “dark ages”, due to Apple grappling with EU/DMA.
Much like Microsoft in early 2000s, between IE/lawsuit and grappling with internet security/viruses. Windows XP, launched in 2001, was considered by most a great OS, didn’t have another good OS successor until 8-years later (Windows 7).
Re: macOS 14.4 causes JVM crashes
#80Earlier quoted context omitted.
It is not obvious to me that this breaks POSIX compatibility. The kernel may choose to signal a process with SIGSEGV on a memory protection violation but I can't find anything that suggests this is required . Last I checked, macOS formally maintains POSIX certification. Linux is not POSIX compliant, so I wouldn't use Linux as the measure of what is correct behavior under POSIX.
POSIX.1-2017 specification. Section titled "Memory Protection" https://pubs.opengroup.org/onlinepubs/9699919799/functions/V...