You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andreas Ahlenstorf (Jira)" <ji...@apache.org> on 2020/12/10 16:23:00 UTC

[jira] [Commented] (CASSANDRA-15950) unable to start the cassandra on windows 10 machine

    [ https://issues.apache.org/jira/browse/CASSANDRA-15950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247345#comment-17247345 ] 

Andreas Ahlenstorf commented on CASSANDRA-15950:
------------------------------------------------

AdoptOpenJDK member here. We got various identical issue reports, the most relevant being [https://github.com/AdoptOpenJDK/openjdk-support/issues/30.]

Summary: The problem is Sigar. It was compiled with VS 2008 and is using 32 bit pointers. Sigar crashes on any newer JDK and it crasheds on JDK 8, too, if it has been compiled with anything newer than VS 2010. OpenJDK (as in Red Hat) still compiles JDK 8 with VS 2010, but for example AdoptOpenJDK does not because VS 2010 is out of support.

From our point of view, the correct course of action is to fix and recompile Sigar. A friendly community member shared a Sigar patch and even a precompiled DLL: [https://github.com/AdoptOpenJDK/openjdk-support/issues/30#issuecomment-734909146.]

> unable to start the cassandra on windows 10 machine
> ---------------------------------------------------
>
>                 Key: CASSANDRA-15950
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15950
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Mandar Kulkarni
>            Priority: Normal
>
> Os - Windows 10
> Cassandra -  apache-cassandra-3.11.4
> java version - java version "1.8.0_261"
> Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)
> python version - Python 3.8.4
> I am getting below error when starting cassandra -f
> INFO [main] 2020-07-15 17:20:54,566 SigarLibrary.java:44 - Initializing SIGAR library
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=13704, tid=0x00000000000025f4
> #
> # JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
> # Problematic frame:
> # C [sigar-amd64-winnt.dll+0x14ed4]
> #
> # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
> #
> # An error report file with more information is saved as:
> # C:\cass311\apache-cassandra-3.11.4\bin\hs_err_pid13704.log
> #
> # 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.
> #



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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