# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f96d50c1118, pid=2253658, tid=2253832
#
# JRE version: OpenJDK Runtime Environment (20.0.1+9) (build 20.0.1+9-29)
# Java VM: OpenJDK 64-Bit Server VM (20.0.1+9-29, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x762118] RegisterNMethodOopClosure::do_oop(oopDesc**)+0x38
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Djava.security.manager=allow -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j2.formatMsgNoLookups=true -Djava.locale.providers=SPI,COMPAT --add-opens=java.base/java.io=org.elasticsearch.preallocate -XX:+UseG1GC -Djava.io.tmpdir=/tmp/elasticsearch-3574794575791466772 -XX:+HeapDumpOnOutOfMemoryError -XX:+ExitOnOutOfMemoryError -XX:HeapDumpPath=/var/lib/elasticsearch -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,level,pid,tags:filecount=32,filesize=64m -Xms31744m -Xmx31744m -XX:MaxDirectMemorySize=16642998272 -XX:InitiatingHeapOccupancyPercent=30 -XX:G1ReservePercent=25 -Des.distribution.type=deb --module-path=/usr/share/elasticsearch/lib --add-modules=jdk.net --add-modules=org.elasticsearch.preallocate -Djdk.module.main=org.elasticsearch.server org.elasticsearch.server/org.elasticsearch.bootstrap.Elasticsearch
Host: Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz, 4 cores, 62G, Debian GNU/Linux 11 (bullseye)
Time: Tue Jul 4 09:58:20 2023 CEST elapsed time: 80.362941 seconds (0d 0h 1m 20s)
--------------- T H R E A D ---------------
Current thread (0x00007f96481f0db0): JavaThread "elasticsearch[***][system_write][T#1]" daemon [_thread_in_vm, id=2253832, stack(0x00007f9495183000,0x00007f9495284000)]
Stack: [0x00007f9495183000,0x00007f9495284000], sp=0x00007f949527ca98, free space=998k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x762118] RegisterNMethodOopClosure::do_oop(oopDesc**)+0x38
V [libjvm.so+0x758077] G1CollectedHeap::register_nmethod(nmethod*)+0x37
V [libjvm.so+0x5183b4] Runtime1::patch_code(JavaThread*, Runtime1::StubID)+0x3e4
V [libjvm.so+0x519967] Runtime1::access_field_patching(JavaThread*)+0x17
v ~RuntimeStub::access_field_patching Runtime1 stub 0x00007f96c054c258
J 26745 c1 org.elasticsearch.index.engine.InternalEngine.planIndexingAsNonPrimary(Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/InternalEngine$IndexingStrategy; org.elasticsearch.server@8.8.2 (176 bytes) @ 0x00007f96bbe79738 [0x00007f96bbe78e00+0x0000000000000938]
J 26744 c1 org.elasticsearch.index.engine.InternalEngine.indexingStrategyForOperation(Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/InternalEngine$IndexingStrategy; org.elasticsearch.server@8.8.2 (22 bytes) @ 0x00007f96bbe789d4 [0x00007f96bbe78840+0x0000000000000194]
J 26738 c1 org.elasticsearch.index.engine.InternalEngine.index(Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (939 bytes) @ 0x00007f96bbe6aef4 [0x00007f96bbe6a620+0x00000000000008d4]
J 26736 c1 org.elasticsearch.index.shard.IndexShard.index(Lorg/elasticsearch/index/engine/Engine;Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (251 bytes) @ 0x00007f96bbe679e4 [0x00007f96bbe670c0+0x0000000000000924]
J 23760 c1 org.elasticsearch.index.shard.IndexShard.applyIndexOperation(Lorg/elasticsearch/index/engine/Engine;JJJLorg/elasticsearch/index/VersionType;JJJZLorg/elasticsearch/index/engine/Engine$Operation$Origin;Lorg/elasticsearch/index/mapper/SourceToParse;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (145 bytes) @ 0x00007f96bb7d76c4 [0x00007f96bb7d7140+0x0000000000000584]
J 25529 c1 org.elasticsearch.index.shard.IndexShard.applyIndexOperationOnReplica(JJJJZLorg/elasticsearch/index/mapper/SourceToParse;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (27 bytes) @ 0x00007f96bbbe6f1c [0x00007f96bbbe6c60+0x00000000000002bc]
J 25528 c1 org.elasticsearch.action.bulk.TransportShardBulkAction.performOpOnReplica(Lorg/elasticsearch/action/DocWriteResponse;Lorg/elasticsearch/action/DocWriteRequest;Lorg/elasticsearch/index/shard/IndexShard;)Lorg/elasticsearch/index/engine/Engine$Result; org.elasticsearch.server@8.8.2 (217 bytes) @ 0x00007f96bbbe5ae4 [0x00007f96bbbe5420+0x00000000000006c4]
J 25547 c1 org.elasticsearch.action.bulk.TransportShardBulkAction.performOnReplica(Lorg/elasticsearch/action/bulk/BulkShardRequest;Lorg/elasticsearch/index/shard/IndexShard;)Lorg/elasticsearch/index/translog/Translog$Location; org.elasticsearch.server@8.8.2 (215 bytes) @ 0x00007f96bbbf797c [0x00007f96bbbf7100+0x000000000000087c]
j org.elasticsearch.action.bulk.TransportShardBulkAction.lambda$dispatchedShardOperationOnReplica$4(Lorg/elasticsearch/action/bulk/BulkShardRequest;Lorg/elasticsearch/index/shard/IndexShard;)Lorg/elasticsearch/action/support/replication/TransportReplicationAction$ReplicaResult;+6 org.elasticsearch.server@8.8.2
j org.elasticsearch.action.bulk.TransportShardBulkAction$$Lambda$8356+0x00000008023f2fc8.get()Ljava/lang/Object;+12 org.elasticsearch.server@8.8.2
J 19886 c1 org.elasticsearch.action.ActionListener.completeWith(Lorg/elasticsearch/action/ActionListener;Lorg/elasticsearch/common/CheckedSupplier;)V org.elasticsearch.server@8.8.2 (46 bytes) @ 0x00007f96b99f1e5c [0x00007f96b99f1d60+0x00000000000000fc]
j org.elasticsearch.action.bulk.TransportShardBulkAction.dispatchedShardOperationOnReplica(Lorg/elasticsearch/action/bulk/BulkShardRequest;Lorg/elasticsearch/index/shard/IndexShard;Lorg/elasticsearch/action/ActionListener;)V+9 org.elasticsearch.server@8.8.2
j org.elasticsearch.action.bulk.TransportShardBulkAction.dispatchedShardOperationOnReplica(Lorg/elasticsearch/action/support/replication/ReplicatedWriteRequest;Lorg/elasticsearch/index/shard/IndexShard;Lorg/elasticsearch/action/ActionListener;)V+7 org.elasticsearch.server@8.8.2
j org.elasticsearch.action.support.replication.TransportWriteAction$2.doRun()V+16 org.elasticsearch.server@8.8.2
J 24015 c1 org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun()V org.elasticsearch.server@8.8.2 (43 bytes) @ 0x00007f96bb88ed94 [0x00007f96bb88ea60+0x0000000000000334]
J 26719 c2 org.elasticsearch.common.util.concurrent.AbstractRunnable.run()V org.elasticsearch.server@8.8.2 (32 bytes) @ 0x00007f96c1c22670 [0x00007f96c1c22620+0x0000000000000050]
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@20.0.1
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@20.0.1
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@20.0.1
j java.lang.Thread.run()V+19 java.base@20.0.1
v ~StubRoutines::call_stub 0x00007f96c041bcc6
V [libjvm.so+0x8a84c5] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x315
V [libjvm.so+0x8a9e32] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x1d2
V [libjvm.so+0x97bcbe] thread_entry(JavaThread*, JavaThread*)+0x8e
V [libjvm.so+0x8bfdf8] JavaThread::thread_main_inner() [clone .part.0]+0xb8
V [libjvm.so+0xe598e6] Thread::call_run()+0xa6
V [libjvm.so+0xc895c8] thread_native_entry(Thread*)+0xd8
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~RuntimeStub::access_field_patching Runtime1 stub 0x00007f96c054c258
J 26745 c1 org.elasticsearch.index.engine.InternalEngine.planIndexingAsNonPrimary(Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/InternalEngine$IndexingStrategy; org.elasticsearch.server@8.8.2 (176 bytes) @ 0x00007f96bbe79738 [0x00007f96bbe78e00+0x0000000000000938]
J 26744 c1 org.elasticsearch.index.engine.InternalEngine.indexingStrategyForOperation(Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/InternalEngine$IndexingStrategy; org.elasticsearch.server@8.8.2 (22 bytes) @ 0x00007f96bbe789d4 [0x00007f96bbe78840+0x0000000000000194]
J 26738 c1 org.elasticsearch.index.engine.InternalEngine.index(Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (939 bytes) @ 0x00007f96bbe6aef4 [0x00007f96bbe6a620+0x00000000000008d4]
J 26736 c1 org.elasticsearch.index.shard.IndexShard.index(Lorg/elasticsearch/index/engine/Engine;Lorg/elasticsearch/index/engine/Engine$Index;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (251 bytes) @ 0x00007f96bbe679e4 [0x00007f96bbe670c0+0x0000000000000924]
J 23760 c1 org.elasticsearch.index.shard.IndexShard.applyIndexOperation(Lorg/elasticsearch/index/engine/Engine;JJJLorg/elasticsearch/index/VersionType;JJJZLorg/elasticsearch/index/engine/Engine$Operation$Origin;Lorg/elasticsearch/index/mapper/SourceToParse;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (145 bytes) @ 0x00007f96bb7d76c4 [0x00007f96bb7d7140+0x0000000000000584]
J 25529 c1 org.elasticsearch.index.shard.IndexShard.applyIndexOperationOnReplica(JJJJZLorg/elasticsearch/index/mapper/SourceToParse;)Lorg/elasticsearch/index/engine/Engine$IndexResult; org.elasticsearch.server@8.8.2 (27 bytes) @ 0x00007f96bbbe6f1c [0x00007f96bbbe6c60+0x00000000000002bc]
J 25528 c1 org.elasticsearch.action.bulk.TransportShardBulkAction.performOpOnReplica(Lorg/elasticsearch/action/DocWriteResponse;Lorg/elasticsearch/action/DocWriteRequest;Lorg/elasticsearch/index/shard/IndexShard;)Lorg/elasticsearch/index/engine/Engine$Result; org.elasticsearch.server@8.8.2 (217 bytes) @ 0x00007f96bbbe5ae4 [0x00007f96bbbe5420+0x00000000000006c4]
J 25547 c1 org.elasticsearch.action.bulk.TransportShardBulkAction.performOnReplica(Lorg/elasticsearch/action/bulk/BulkShardRequest;Lorg/elasticsearch/index/shard/IndexShard;)Lorg/elasticsearch/index/translog/Translog$Location; org.elasticsearch.server@8.8.2 (215 bytes) @ 0x00007f96bbbf797c [0x00007f96bbbf7100+0x000000000000087c]
j org.elasticsearch.action.bulk.TransportShardBulkAction.lambda$dispatchedShardOperationOnReplica$4(Lorg/elasticsearch/action/bulk/BulkShardRequest;Lorg/elasticsearch/index/shard/IndexShard;)Lorg/elasticsearch/action/support/replication/TransportReplicationAction$ReplicaResult;+6 org.elasticsearch.server@8.8.2
j org.elasticsearch.action.bulk.TransportShardBulkAction$$Lambda$8356+0x00000008023f2fc8.get()Ljava/lang/Object;+12 org.elasticsearch.server@8.8.2
J 19886 c1 org.elasticsearch.action.ActionListener.completeWith(Lorg/elasticsearch/action/ActionListener;Lorg/elasticsearch/common/CheckedSupplier;)V org.elasticsearch.server@8.8.2 (46 bytes) @ 0x00007f96b99f1e5c [0x00007f96b99f1d60+0x00000000000000fc]
j org.elasticsearch.action.bulk.TransportShardBulkAction.dispatchedShardOperationOnReplica(Lorg/elasticsearch/action/bulk/BulkShardRequest;Lorg/elasticsearch/index/shard/IndexShard;Lorg/elasticsearch/action/ActionListener;)V+9 org.elasticsearch.server@8.8.2
j org.elasticsearch.action.bulk.TransportShardBulkAction.dispatchedShardOperationOnReplica(Lorg/elasticsearch/action/support/replication/ReplicatedWriteRequest;Lorg/elasticsearch/index/shard/IndexShard;Lorg/elasticsearch/action/ActionListener;)V+7 org.elasticsearch.server@8.8.2
j org.elasticsearch.action.support.replication.TransportWriteAction$2.doRun()V+16 org.elasticsearch.server@8.8.2
J 24015 c1 org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun()V org.elasticsearch.server@8.8.2 (43 bytes) @ 0x00007f96bb88ed94 [0x00007f96bb88ea60+0x0000000000000334]
J 26719 c2 org.elasticsearch.common.util.concurrent.AbstractRunnable.run()V org.elasticsearch.server@8.8.2 (32 bytes) @ 0x00007f96c1c22670 [0x00007f96c1c22620+0x0000000000000050]
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@20.0.1
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@20.0.1
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@20.0.1
j java.lang.Thread.run()V+19 java.base@20.0.1
v ~StubRoutines::call_stub 0x00007f96c041bcc6
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007f9ed004ac78
vm_info: OpenJDK 64-Bit Server VM (20.0.1+9-29) for linux-amd64 JRE (20.0.1+9-29), built on 2023-03-07T13:56:11Z by "mach5one" with gcc 11.2.0
Full hs_err log attached.
- relates to
-
JDK-8336341 SIGSEGV in RegisterNMethodOopClosure::do_oop(oopDesc**)
- Closed