r/java • u/sindisil • Mar 16 '24
Java users on macOS 14 running on Apple silicon systems should consider delaying the macOS 14.4 update
10
u/daH00L Mar 16 '24
Happens to me while having native memory tracking on detail. Java process is immediately killed with exit code 137.
32
u/s888marks Mar 16 '24
Yes this looks like the issue in question. Exit code 137 means the process died from signal 128+n so the cause was signal 9, which is SIGKILL.
(Sorry if you know this already; other readers might not.)
12
u/hangrycoder Mar 16 '24
I’ve been a professional developer for over 13 years and never knew this or thought to Google the reasoning for the number lol
9
u/teacurran Mar 16 '24
I’m on 14.4. Generally it’s been okay but intellij has been crashing randomly every three or four days. I’m guessing this bug might be why.
2
2
u/jesusrodriguezm Mar 16 '24
It having any problems over here (using Zulu 8 402).maybe my systems don’t use what is apparently broken
2
u/talios Mar 26 '24
The newly released macOS 14.4.1 resolves this issue - see release note - https://support.apple.com/en-us/109035
1
1
-6
u/EmmetDangervest Mar 17 '24
One more time, it confirms that macOS is not a system for serious work.
12
Mar 16 '24
[removed] — view removed comment
1
u/tasty2bento Mar 16 '24
Yes, it says:
> The problem arises when a memory access fault (aka page protection fault) arises when executing VM codeSo, it may only kill the process when this happens and not during "normal" operation.
-8
u/voidvector Mar 16 '24
It basically means buggy code that causes NPE/IOOB exceptions can cause JVM to be killed, rather than just a Java exception.
So if the stuff you are running is not very buggy, it might not happen.
12
Mar 17 '24
[removed] — view removed comment
1
u/2012DOOM Mar 22 '24
I had to double check to make sure I’m on the Java subreddit.
Like, yeah NPEs are literally just signals for errors.
1
21
u/agentoutlier Mar 16 '24 edited Mar 16 '24
I guess DHH might be on to something about switching to Windows (joking of course).
I was actually going to do an update today as I'm still on 12.4 (I don't update often like everything else because macOS updates often break things) to fix a longstanding issue of sound popping on high memory pressure for M1s which it probably won't fix anyway.