-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
24
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
MacOS Sequoia 15.5
MacBook Air 2020 with Apple M1 chip and 8GB memory
> java -version
openjdk version "24.0.1" 2025-04-15
OpenJDK Runtime Environment Homebrew (build 24.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 24.0.1, mixed mode, sharing)
No special flags were passed to the java runtime.
A DESCRIPTION OF THE PROBLEM :
I had a long running java process which unexpectedly crashed with a segmentation fault. It reported a "Bad pointer dereference at 0x000000000000000d" in the (C++) function HandshakeState::claim_handshake() + 44 in libjvm.dylib. (See below for the full backtrace.)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Since the process was running for two days, it will take some time for me to reproduce. The crash seems to be related to threads, judging from the backtrace. The only parallelism I wrote is in the form of `.parallelStream().forEach(...)`.
If I have more information, I will update the issue.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No crash.
ACTUAL -
The program crashed with the following information:
💣 Program crashed: Bad pointer dereference at 0x000000000000000d
Thread 9 "Java: VM Thread" crashed:
0 0x0000000104424770 HandshakeState::claim_handshake() + 44 in libjvm.dylib
1 0x00000001044237dc HandshakeState::try_process(HandshakeOperation*) + 68 in libjvm.dylib
2 0x0000000104424efc VM_HandshakeAllThreads::doit() + 448 in libjvm.dylib
3 0x0000000104948154 VM_Operation::evaluate() + 248 in libjvm.dylib
4 0x00000001049580d4 VMThread::evaluate_operation(VM_Operation*) + 248 in libjvm.dylib
5 0x00000001049586bc VMThread::inner_execute(VM_Operation*) + 412 in libjvm.dylib
6 0x0000000104957f00 VMThread::loop() + 104 in libjvm.dylib
7 0x0000000104957d88 VMThread::run() + 132 in libjvm.dylib
8 0x00000001048e7774 Thread::call_run() + 140 in libjvm.dylib
9 0x0000000104732920 thread_native_entry(Thread*) + 204 in libjvm.dylib
10 0x00000001888e2c0c _pthread_start + 136 in libsystem_pthread.dylib
Backtrace took 4.97s
./run.sh: line 17: 46222 Segmentation fault: 11 java -cp target/urilearner-1.0.0-SNAPSHOT.jar nl.ou.urilearner.Main
MacOS Sequoia 15.5
MacBook Air 2020 with Apple M1 chip and 8GB memory
> java -version
openjdk version "24.0.1" 2025-04-15
OpenJDK Runtime Environment Homebrew (build 24.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 24.0.1, mixed mode, sharing)
No special flags were passed to the java runtime.
A DESCRIPTION OF THE PROBLEM :
I had a long running java process which unexpectedly crashed with a segmentation fault. It reported a "Bad pointer dereference at 0x000000000000000d" in the (C++) function HandshakeState::claim_handshake() + 44 in libjvm.dylib. (See below for the full backtrace.)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Since the process was running for two days, it will take some time for me to reproduce. The crash seems to be related to threads, judging from the backtrace. The only parallelism I wrote is in the form of `.parallelStream().forEach(...)`.
If I have more information, I will update the issue.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No crash.
ACTUAL -
The program crashed with the following information:
💣 Program crashed: Bad pointer dereference at 0x000000000000000d
Thread 9 "Java: VM Thread" crashed:
0 0x0000000104424770 HandshakeState::claim_handshake() + 44 in libjvm.dylib
1 0x00000001044237dc HandshakeState::try_process(HandshakeOperation*) + 68 in libjvm.dylib
2 0x0000000104424efc VM_HandshakeAllThreads::doit() + 448 in libjvm.dylib
3 0x0000000104948154 VM_Operation::evaluate() + 248 in libjvm.dylib
4 0x00000001049580d4 VMThread::evaluate_operation(VM_Operation*) + 248 in libjvm.dylib
5 0x00000001049586bc VMThread::inner_execute(VM_Operation*) + 412 in libjvm.dylib
6 0x0000000104957f00 VMThread::loop() + 104 in libjvm.dylib
7 0x0000000104957d88 VMThread::run() + 132 in libjvm.dylib
8 0x00000001048e7774 Thread::call_run() + 140 in libjvm.dylib
9 0x0000000104732920 thread_native_entry(Thread*) + 204 in libjvm.dylib
10 0x00000001888e2c0c _pthread_start + 136 in libsystem_pthread.dylib
Backtrace took 4.97s
./run.sh: line 17: 46222 Segmentation fault: 11 java -cp target/urilearner-1.0.0-SNAPSHOT.jar nl.ou.urilearner.Main