Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8209

Cassandra crashes when running on JDK8 update 40

    XMLWordPrintableJSON

    Details

    • Severity:
      Critical

      Description

      It seems that problem is change made in update 40 -

      https://bugs.openjdk.java.net/browse/JDK-6642881

      result is:

      java.lang.SecurityException: Cannot make java.lang.Class.classLoader accessible
      at java.lang.reflect.AccessibleObject.setAccessible0(AccessibleObject.java:147) ~[na:1.8.0_40-ea]
      at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:129) ~[na:1.8.0_40-ea]
      at org.github.jamm.MemoryMeter.addFieldChildren(MemoryMeter.java:204) ~[jamm-0.2.6.jar:na]
      at org.github.jamm.MemoryMeter.measureDeep(MemoryMeter.java:158) ~[jamm-0.2.6.jar:na]
      at org.apache.cassandra.cql3.statements.SelectStatement.measureForPreparedCache(SelectStatement.java:166) ~[apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.cql3.QueryProcessor.measure(QueryProcessor.java:546) ~[apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.cql3.QueryProcessor.storePreparedStatement(QueryProcessor.java:441) ~[apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:404) ~[apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:388) ~[apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.transport.messages.PrepareMessage.execute(PrepareMessage.java:77) ~[apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:439) [apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:335) [apache-cassandra-2.1.1.jar:2.1.1]
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324) [netty-all-4.0.23.Final.jar:4.0.23.Final]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_40-ea]
      at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164) [apache-cassandra-2.1.1.jar:2.1.1]
      at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-2.1.1.jar:2.1.1]
      at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-ea]

        Attachments

        1. 8209_fix-junit.txt
          0.6 kB
          Michael Shuler
        2. 8209_2.1.v3.txt
          30 kB
          Michael Shuler
        3. 8209_2.1.v2.txt
          7 kB
          Michael Shuler
        4. 8209_2.1_oraclejdk8u40+jamm-0.2.8_system.log.txt
          119 kB
          Michael Shuler
        5. jamm-0.2.8.jar
          13 kB
          Michael Shuler
        6. 8209_2.1.txt
          5 kB
          Michael Shuler
        7. 8209.txt
          0.7 kB
          Robert Stupp

          Activity

            People

            • Assignee:
              tjake T Jake Luciani
              Reporter:
              shinigami Jaroslav Kamenik
              Authors:
              T Jake Luciani
              Reviewers:
              Robert Stupp
              Tester:
              Michael Shuler
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: