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

[lworld] ValueTypeReturnedAsFields does not work with OSR compiled callee

    Details

      Description

      # SIGSEGV (0xb) at pc=0x00007f143d040f41, pid=9592, tid=9593
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0) (fastdebug build 14-internal+0-adhoc.tobias.open)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-internal+0-adhoc.tobias.open, mixed mode, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # j FuzzerUtils.init([FF)V+0

      Current thread (0x00007f1440023800): JavaThread "main" [_thread_in_Java, id=9593, stack(0x00007f1448b91000,0x00007f1448c92000)]

      Stack: [0x00007f1448b91000,0x00007f1448c92000], sp=0x00007f1448c907d0, free space=1021k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      j FuzzerUtils.init([FF)V+0
      J 172 c2 Test.mainTest([Ljava/lang/String;)V (860 bytes) @ 0x00007f143d200428 [0x00007f143d200220+0x0000000000000208]
      j Test.main([Ljava/lang/String;)V+14
      v ~StubRoutines::call_stub
      V [libjvm.so+0xe461d6] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x826
      V [libjvm.so+0xf16195] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) [clone .isra.142] [clone .constprop.229]+0x275
      V [libjvm.so+0xf377bf] jni_CallStaticVoidMethod+0x1ff
      C [libjli.so+0x4d33] JavaMain+0xbd3
      C [libjli.so+0x8239] ThreadJavaMain+0x9

        Attachments

        1. FuzzerUtils.java
          13 kB
        2. hs_err_pid9592.log
          85 kB
        3. Test.java
          14 kB

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              thartmann Tobias Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: