[
https://issues.apache.org/jira/browse/CASSANDRA-17389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545048#comment-17545048
]
Muhammad commented on CASSANDRA-17389:
--------------------------------------
Since the JVM crashes appear to be happening in the compiled code, I tried
excluding the problematic frame from the C2 compilation as suggested
[here|https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes002.html#CIHDIBJA].
After running through a few iterations, it appears that the last crash seen is
[here|https://github.com/apache/cassandra/blob/cassandra-3.11.3/src/java/org/apache/cassandra/io/sstable/IndexSummary.java#L145].
{code:java}
# SIGSEGV (0xb) at pc=0x00007f847e068dac, pid=20576, tid=0x00007f6d51a45700
#
# JRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# J 12860 C2
org.apache.cassandra.io.sstable.IndexSummary.getPositionInSummary(I)I (12
bytes) @ 0x00007f847e068dac [0x00007f847e068d60+0x4c]
#{code}
> JVM Crashing with SIGSEGV for Cassandra 3.11.3
> ----------------------------------------------
>
> Key: CASSANDRA-17389
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17389
> Project: Cassandra
> Issue Type: Bug
> Reporter: Muhammad
> Priority: Normal
> Attachments: hs_err.txt
>
>
> I am running a Cassandra 3.11.3 cluster with latest Corretto-8 and seeing JVM
> crashes with SIGSEGV signal at random intervals across various Cassandra
> nodes. This crash seems to happen more frequently while I am doing rolling
> restarts on the cluster.
> I am attaching the JVM error report for the crashes that are observed here in
> this case. [^hs_err.txt]
> Looking at the error report, it appears that the problematic frame is
> {*}binarySearch{*}, which ultimately calls
> [this|https://github.com/apache/cassandra/blob/cassandra-3.11.3/src/java/org/apache/cassandra/utils/memory/MemoryUtil.java#L175].
> As per my knowledge, it is not recommended to use the sun.misc.Unsafe
> outside the JDK. Could you please advice here.
> Thanks.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]