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

compiler/intrinsics/bigInteger/TestMultiplyToLen.java SIGSEGV in TestMultiplyToLen.main

    XMLWordPrintable

Details

    • x86_64
    • linux

    Description

      The following test failed in the JDK15 CI:

      compiler/intrinsics/bigInteger/TestMultiplyToLen.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/1025)----------
      command: main -XX:-TieredCompilation -Xbatch -XX:CompileCommand=exclude,compiler.intrinsics.bigInteger.TestMultiplyToLen::main -XX:CompileCommand=option,compiler.intrinsics.bigInteger.TestMultiplyToLen::base_multiply,ccstr,DisableIntrinsic,_multiplyToLen -XX:CompileCommand=option,java.math.BigInteger::multiply,ccstr,DisableIntrinsic,_multiplyToLen -XX:CompileCommand=inline,java.math.BigInteger::multiply compiler.intrinsics.bigInteger.TestMultiplyToLen
      reason: User specified action: run main/othervm/timeout=600 -XX:-TieredCompilation -Xbatch -XX:CompileCommand=exclude,compiler.intrinsics.bigInteger.TestMultiplyToLen::main -XX:CompileCommand=option,compiler.intrinsics.bigInteger.TestMultiplyToLen::base_multiply,ccstr,DisableIntrinsic,_multiplyToLen -XX:CompileCommand=option,java.math.BigInteger::multiply,ccstr,DisableIntrinsic,_multiplyToLen -XX:CompileCommand=inline,java.math.BigInteger::multiply compiler.intrinsics.bigInteger.TestMultiplyToLen
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 50.616
      ----------configuration:(0/0)----------
      ----------System.out:(24/1957)----------
      CompileCommand: exclude compiler/intrinsics/bigInteger/TestMultiplyToLen.main
      CompileCommand: option compiler/intrinsics/bigInteger/TestMultiplyToLen.base_multiply const char* DisableIntrinsic = '_multiplyToLen'
      CompileCommand: option java/math/BigInteger.multiply const char* DisableIntrinsic = '_multiplyToLen'
      CompileCommand: inline java/math/BigInteger.multiply
      For random generator using seed: -8369184040502055446
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-8369184040502055446" to command line.
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f8553da4cbc, pid=5210, tid=5262
      #
      # JRE version: Java(TM) SE Runtime Environment (15.0+26) (fastdebug build 15-ea+26-1258)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-ea+26-1258, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # j compiler.intrinsics.bigInteger.TestMultiplyToLen.main([Ljava/lang/String;)V+65
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/805146e6-8fdb-4552-bf9e-385b73cf7129-S259/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f72d32a8-fb4f-4ea3-940f-a6f0f9d6dbd9/runs/6637f7f5-2a35-4144-8ce2-b1e99dd04f4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler/scratch/2/core.5210)
      #
      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/805146e6-8fdb-4552-bf9e-385b73cf7129-S259/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f72d32a8-fb4f-4ea3-940f-a6f0f9d6dbd9/runs/6637f7f5-2a35-4144-8ce2-b1e99dd04f4e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler/scratch/2/hs_err_pid5210.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(1/209)----------
      Java HotSpot(TM) 64-Bit Server VM warning: Disabling tiered compilation with non-native JVMCI compiler is not recommended. Turning on tiered compilation and disabling intermediate compilation levels instead.
      ----------rerun:(48/6971)*----------


      Here's the crashing thread's stack:

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

      Current thread (0x00007f8570939740): JavaThread "MainThread" [_thread_in_Java, id=5262, stack(0x00007f853d5fb000,0x00007f853d6fc000)]

      Stack: [0x00007f853d5fb000,0x00007f853d6fc000], sp=0x00007f853d6fa010, free space=1020k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      j compiler.intrinsics.bigInteger.TestMultiplyToLen.main([Ljava/lang/String;)V+65
      v ~StubRoutines::call_stub
      V [libjvm.so+0xce535c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x6ac
      V [libjvm.so+0x14a2bff] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) [clone .constprop.0]+0x83f
      V [libjvm.so+0x14a411a] Reflection::invoke_method(oop, Handle, objArrayHandle, Thread*)+0x19a
      V [libjvm.so+0xe7880a] JVM_InvokeMethod+0x1da
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@15-ea
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+113 java.base@15-ea
      j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@15-ea
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@15-ea
      j com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V+172
      j java.lang.Thread.run()V+11 java.base@15-ea
      v ~StubRoutines::call_stub
      V [libjvm.so+0xce535c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x6ac
      V [libjvm.so+0xce5a7b] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x4cb
      V [libjvm.so+0xce5f31] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0xb1
      V [libjvm.so+0xe583e3] thread_entry(JavaThread*, Thread*)+0x123
      V [libjvm.so+0x169821c] JavaThread::thread_main_inner()+0x21c
      V [libjvm.so+0x169e040] Thread::call_run()+0x100
      V [libjvm.so+0x13a3216] thread_native_entry(Thread*)+0x116


      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007fb29405a108

      Attachments

        Activity

          People

            iklam Ioi Lam
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: