Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8019247

SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object;

    Details

    • Subcomponent:
    • Introduced In Build:
      b33
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        During promotion testing of JDK 8 b94 with HS25 b36 crash has been observed:

        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0xfffffd7ff8fac502, pid=13604, tid=42
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b94) (build 1.8.0-ea-b94)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b36 mixed mode solaris-amd64 compressed oops)
        # Problematic frame:
        # J c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object;
        #

        Crash happened on Server VMs with options used: -server -Xmixed -XX:+UseParallelGC

        Test failed: punit/applications/cloudscape/CloudscapeFull/testFull

          Issue Links

            Activity

            Hide
            kvn Vladimir Kozlov added a comment - - edited
            Undo change done in 6934604, it does not work for reflection allocation (java.lang.reflect.Array::newInstance()) :

            src/share/vm/opto/graphKit.cpp Fri Jun 28 20:21:36 2013 -0700
            @@ -3332,8 +3332,10 @@
               if (ptr == NULL) { // reduce dumb test in callers
                 return NULL;
               }
            - ptr = ptr->uncast(); // strip a raw-to-oop cast
            - if (ptr == NULL) return NULL;
            + if (ptr->is_CheckCastPP()) { // strip a raw-to-oop cast
            + ptr = ptr->in(1);
            + if (ptr == NULL) return NULL;
            + }
             
               if (ptr->is_Proj()) {
                 Node* allo = ptr->in(0);
            Show
            kvn Vladimir Kozlov added a comment - - edited Undo change done in 6934604, it does not work for reflection allocation (java.lang.reflect.Array::newInstance()) : src/share/vm/opto/graphKit.cpp Fri Jun 28 20:21:36 2013 -0700 @@ -3332,8 +3332,10 @@    if (ptr == NULL) { // reduce dumb test in callers      return NULL;    } - ptr = ptr->uncast(); // strip a raw-to-oop cast - if (ptr == NULL) return NULL; + if (ptr->is_CheckCastPP()) { // strip a raw-to-oop cast + ptr = ptr->in(1); + if (ptr == NULL) return NULL; + }      if (ptr->is_Proj()) {      Node* allo = ptr->in(0);
            Hide
            dbessono Dmitry Bessonov added a comment -
            Raising priority to P1 as the JCK's mirror issue - JDK-8019193 - as this is a showstopper for JCK8 progress - both in bugfixing and integrating new tests on the recent APIs which arrived in 8b94 and further.
            Show
            dbessono Dmitry Bessonov added a comment - Raising priority to P1 as the JCK's mirror issue - JDK-8019193 - as this is a showstopper for JCK8 progress - both in bugfixing and integrating new tests on the recent APIs which arrived in 8b94 and further.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/2b3fe74309b6
            User: kvn
            Date: 2013-07-02 20:53:33 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/2b3fe74309b6 User: kvn Date: 2013-07-02 20:53:33 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/2b3fe74309b6
            User: amurillo
            Date: 2013-07-05 00:46:07 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/2b3fe74309b6 User: amurillo Date: 2013-07-05 00:46:07 +0000
            Hide
            kvn Vladimir Kozlov added a comment -
            noreg-sqe: Change can be verified by running an existing SQE test suite
            Show
            kvn Vladimir Kozlov added a comment - noreg-sqe: Change can be verified by running an existing SQE test suite

              People

              • Assignee:
                kvn Vladimir Kozlov
                Reporter:
                ppunegov Pavel Punegov
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: