<div dir="ltr"><div>Hello!</div><div><br></div><div>This has been recently filed as <a href="https://bugs.openjdk.org/browse/JDK-8327860">https://bugs.openjdk.org/browse/JDK-8327860</a> but I also wanted to check with the community if any further info on the issue is available.</div><div><br></div><div>It looks like in some cases SafeFetch is directed to fetch something the OS really doesn't want it to and, instead of promoting the error to a signal and letting the application (JVM) deal with it, immediately terminates the application. All we've got is the OS crash report, not even the JVM's fatal error log. This looks like an application security precaution, which I am not at all familiar with.<br></div><div><br></div><div>The relevant pieces of the crash log are below. Is anybody familiar with "Namespace GUARD" termination reason and maybe other related novelties of macOS 14.4? The error was not reported before upgrading to 14.4</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Maxim.<br></div><div><br></div><div>
0 libjvm.dylib 0x1062d6ec0 _SafeFetchN_fault + 0
<br>
1 libjvm.dylib 0x1062331a4 ObjectMonitor::TrySpin(JavaThread*) + 408
<br>
2 libjvm.dylib 0x106232b44 ObjectMonitor::enter(JavaThread*) + 228
<br>
3 libjvm.dylib 0x10637436c ObjectSynchronizer::enter(Handle, BasicLock*, JavaThread*) + 392 <br></div><div>...</div><div><br></div><div>Exception Type: EXC_BAD_ACCESS (SIGKILL)<br>Exception Codes: KERN_PROTECTION_FAILURE at 0x00000001004f4000<br>Exception Codes: 0x0000000000000002, 0x00000001004f4000<br><br>Termination Reason: Namespace GUARD, Code 5 <br><br>VM Region Info: 0x1004f4000 is in 0x1004f4000-0x1004f8000; bytes after start: 0 bytes before end: 16383<br> REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL<br> mapped file 1004e4000-1004f4000 [ 64K] r--/r-- SM=COW Object_id=fa8d88e7<br>---> VM_ALLOCATE 1004f4000-1004f8000 [ 16K] ---/rwx SM=NUL <br> VM_ALLOCATE 1004f8000-1004fc000 [ 16K] r--/rwx SM=PRV <br></div></div>