You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by "Steinmaurer, Thomas" <th...@dynatrace.com> on 2018/11/12 10:01:22 UTC

Cassandra 4.0 on Windows 10 crashing upon startup with Java 11

Hello,

on Windows 10, Cassandra 4.0 (trunk Nov 12) is crashing upon startup with Java 11, SIGAR related. Startup with Java8 works fine. Is this a known issue?

First part of the hs_err_pid file.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=14472, tid=13316
#
# JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13)
# Java VM: OpenJDK 64-Bit Server VM (11.0.1+13, mixed mode, tiered, compressed oops, concurrent mark sweep gc, windows-amd64)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

...

Host: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 4 cores, 15G,  Windows 10 , 64 bit Build 14393 (10.0.14393.2189)
Time: Mon Nov 12 10:49:20 2018 W. Europe Standard Time elapsed time: 9 seconds (0d 0h 0m 9s)

---------------  T H R E A D  ---------------

Current thread (0x00000239eed02ad0):  JavaThread "main" [_thread_in_native, id=13316, stack(0x000000a447900000,0x000000a447940000)]

Stack: [0x000000a447900000,0x000000a447940000],  sp=0x000000a44793e170,  free space=248k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [sigar-amd64-winnt.dll+0x14ed4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.hyperic.sigar.Sigar.getFileSystemListNative()[Lorg/hyperic/sigar/FileSystem;+0
j  org.hyperic.sigar.Sigar.getFileSystemList()[Lorg/hyperic/sigar/FileSystem;+1
j  org.hyperic.sigar.Sigar.getFileSystemMap()Lorg/hyperic/sigar/FileSystemMap;+19
j  org.apache.cassandra.utils.SigarLibrary.<init>()V+79
j  org.apache.cassandra.utils.SigarLibrary.<clinit>()V+4
v  ~StubRoutines::call_stub
j  org.apache.cassandra.service.StartupChecks$7.execute()V+0
j  org.apache.cassandra.service.StartupChecks.verify()V+30
j  org.apache.cassandra.service.CassandraDaemon.setup()V+41
j  org.apache.cassandra.service.CassandraDaemon.activate()V+70
j  org.apache.cassandra.service.CassandraDaemon.main([Ljava/lang/String;)V+3
v  ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0xffffffffff701d78

Register to memory mapping:

RIP=0x0000000010014ed4 sigar-amd64-winnt.dll
RAX=0xffffffffff701c40 is an unknown value
RBX={method} {0x00000239ff927e00} 'getFileSystemListNative' '()[Lorg/hyperic/sigar/FileSystem;' in 'org/hyperic/sigar/Sigar'
RCX=0x00000239eed02e10 points into unknown readable memory
RDX=0x000000a44793e358 is pointing into the stack for thread: 0x00000239eed02ad0
RSP=0x000000a44793e170 is pointing into the stack for thread: 0x00000239eed02ad0
RBP=0x000000a44793e338 is pointing into the stack for thread: 0x00000239eed02ad0
RSI=0x00000239fb2b6400 is pointing into metadata
RDI=0x000000000017e6e0 is an unknown value
R8 =0x0000000000000032 is an unknown value
R9 =
[error occurred during error reporting (printing register info), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff908551e26]

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a company registered in Linz whose registered office is at 4040 Linz, Austria, Freist?dterstra?e 313

Re: Cassandra 4.0 on Windows 10 crashing upon startup with Java 11

Posted by Michael Burman <mi...@redhat.com>.
On 11/12/18 5:37 PM, Michael Shuler wrote:
> Issue with upstream links to:
> https://github.com/hyperic/sigar/issues/77

.. clip. Considering the Sigar has been unmaintained for years (and has 
large amount of unfixed bugs), should we consider removing it from the 
project? It's not used much, so finding suitable replacement for those 
few functions shouldn't be that big of a deal.

   - Micke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org


Re: Cassandra 4.0 on Windows 10 crashing upon startup with Java 11

Posted by Michael Shuler <mi...@pbandjelly.org>.
On 11/12/18 4:01 AM, Steinmaurer, Thomas wrote:
> Hello,
> 
> on Windows 10, Cassandra 4.0 (trunk Nov 12) is crashing upon startup with Java 11, SIGAR related. Startup with Java8 works fine. Is this a known issue?
> 
> First part of the hs_err_pid file.
> 
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=14472, tid=13316
> #
> # JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13)
> # Java VM: OpenJDK 64-Bit Server VM (11.0.1+13, mixed mode, tiered, compressed oops, concurrent mark sweep gc, windows-amd64)
> # Problematic frame:
> # C  [sigar-amd64-winnt.dll+0x14ed4]

Looks a lot like:
https://bugs.openjdk.java.net/browse/JDK-8191547 - closed as Not an
Issue with upstream links to:
https://github.com/hyperic/sigar/issues/77
https://comm.support.ca.com/kb/devtest-9x-server-component-fails-to-start-error-sigaramd64winntdll0x14ed4/kb000041311

Michael

<snip>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org