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

compiler/intrinsics/mathexact/MulExactINonConstantTest.java fails with SEGV

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot

      Description

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007faede34edd6, pid=25270, tid=1113184576
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0-b29) (build 1.9.0-ea-fastdebug-b29)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-fastdebug-internal-201409120055.ctornqvi.hs-rt compiled mode linux-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.so+0xdbadd6] os::is_first_C_frame(frame*)+0x26
      #
      # Core dump written. Default location: /export/local/aurora/sandbox/results/workDir/compiler/intrinsics/mathexact/MulExactINonConstantTest/core or core.25270
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

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

      Current thread (0x0000000001aba000): JavaThread "MainThread" [_thread_in_Java, id=25293, stack(0x000000004249d000,0x000000004259e000)]

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

      Registers:
      RAX=0x0000000000000001, RBX=0x0000000000000000, RCX=0x00000000425a7cbf, RDX=0x00000000425a7cb0
      RSP=0x000000004259afe0, RBP=0x000000004259afe0, RSI=0x00007faecc6d1a00, RDI=0x000000004259b030
      R8 =0x00007faecc5ca000, R9 =0x0101010101010101, R10=0x0000000000000000, R11=0x0000003c0da7aea7
      R12=0x0000000000000002, R13=0x000000004259b030, R14=0x0000000000000004, R15=0x000000004259b0a8
      RIP=0x00007faede34edd6, EFLAGS=0x0000000000010203, CSGSFS=0x000000000000e033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x000000004259afe0)
      0x000000004259afe0: 000000004259b090 00007faede368fae
      0x000000004259aff0: 0000000001aba000 000000004259b000
      0x000000004259b000: 000000004259bf40 00007faecc6d1a79
      0x000000004259b010: 00007faecc6d1a10 00007fae00000000
      0x000000004259b020: 00000000425a7cb0 000000004259bf40
      0x000000004259b030: 000000004259bf40 00007faecc6d1a79
      0x000000004259b040: 00007faecc6d1a10 00007fae00000000
      0x000000004259b050: 00000000425a7cb0 000000004259bf40
      0x000000004259b060: 0000001f00000000 000000004259b0a0
      0x000000004259b070: 0000000000000030 00007faec8c9fe02
      0x000000004259b080: 000000004259bf78 0000000001aba000
      0x000000004259b090: 000000004259b0e0 00007faedd973fc4
      0x000000004259b0a0: 00007faedec5cc10 00007faeddcec758
      0x000000004259b0b0: 00007faecc6d1a79 0000000001abae70
      0x000000004259b0c0: 00007faedec19ed0 0000000000000000
      0x000000004259b0d0: 00003d3b4d36150c 0000000000000000
      0x000000004259b0e0: 000000004259bf30 00007faeddcec758
      0x000000004259b0f0: 0000000001aba000 000000004259c320
      0x000000004259b100: 00007faecc7c90d8 0000000000000006
      0x000000004259b110: 00007faedec1a110 0000000000000002
      0x000000004259b120: 000000000000000a 00007faedec4df70
      0x000000004259b130: 0000000000000001 0000000000000001
      0x000000004259b140: 0000000001aba000 0000000000000000
      0x000000004259b150: 00007faedec4a9b0 0000000000000000
      0x000000004259b160: 0000000000000000 0000000000000000
      0x000000004259b170: 0000000000000000 0000000000000000
      0x000000004259b180: 0000000001aba000 0000000000000000
      0x000000004259b190: 0000000000000000 0000000000000000
      0x000000004259b1a0: 0000000000000000 0000000000000000
      0x000000004259b1b0: 0000000000000000 0000000000000000
      0x000000004259b1c0: 0000000000000000 0000000001aba000
      0x000000004259b1d0: 00007faedece92e4 00007faecc7c8edc

      Instructions: (pc=0x00007faede34edd6)
      0x00007faede34edb6: 00 00 00 48 89 e5 75 42 48 8b 57 20 f6 c2 07 75
      0x00007faede34edc6: 39 f6 c2 03 75 34 48 8d 4a 0f 48 83 f9 fd 77 2a
      0x00007faede34edd6: 48 8b 0a f6 c1 07 75 22 48 8d 71 ff 48 83 fe fd
      0x00007faede34ede6: 77 18 48 39 ca 73 13 48 29 d1 48 81 f9 00 00 01
      ;; 00007faede34edc6 39 f6 cmp %esi,%esi
      ;; 00007faede34edc8 c2 03 75 retq $0x7503
      ;; 00007faede34edcb 34 48 xor $0x48,%al
      ;; 00007faede34edcd 8d 4a 0f lea 0xf(%rdx),%ecx
      ;; 00007faede34edd0 48 83 f9 fd cmp $0xfffffffffffffffd,%rcx
      ;; 00007faede34edd4 77 2a ja 0x00007faede34ee00
      ;; ---------------
      ;; 00007faede34edd6 48 8b 0a mov (%rdx),%rcx
      ;; 00007faede34edd9 f6 c1 07 test $0x7,%cl
      ;; 00007faede34eddc 75 22 jne 0x00007faede34ee00
      ;; 00007faede34edde 48 8d 71 ff lea 0xffffffffffffffff(%rcx),%rsi
      ;; 00007faede34ede2 48 83 fe fd cmp $0xfffffffffffffffd,%rsi
      ;; 00007faede34ede6 77 18 ja 0x00007faede34ee00
      ;; 00007faede34ede8 48 39 ca cmp %rcx,%rdx
      ;; 00007faede34edeb 73 13 jae 0x00007faede34ee00
      ;; 00007faede34eded 48 29 d1 sub %rdx,%rcx
      ;; 00007faede34edf0 48 81 f9 00 00 01 ff cmp $0xffffffffff010000,%rcx
      ;;
      Register to memory mapping:

      RAX=0x0000000000000001 is an unknown value
      RBX=0x0000000000000000 is an unknown value
      RCX=0x00000000425a7cbf is an unknown value
      RDX=0x00000000425a7cb0 is an unknown value
      RSP=0x000000004259afe0 is pointing into the stack for thread: 0x0000000001aba000
      RBP=0x000000004259afe0 is pointing into the stack for thread: 0x0000000001aba000
      RSI=0x00007faecc6d1a00 is an unknown value
      RDI=0x000000004259b030 is pointing into the stack for thread: 0x0000000001aba000
      R8 =0x00007faecc5ca000 is an unknown value
      R9 =0x0101010101010101 is an unknown value
      R10=0x0000000000000000 is an unknown value
      R11=0x0000003c0da7aea7: memset+0xa7 in /lib64/libc.so.6 at 0x0000003c0da00000
      R12=0x0000000000000002 is an unknown value
      R13=0x000000004259b030 is pointing into the stack for thread: 0x0000000001aba000
      R14=0x0000000000000004 is an unknown value
      R15=0x000000004259b0a8 is pointing into the stack for thread: 0x0000000001aba000


      Stack: [0x000000004249d000,0x000000004259e000], sp=0x000000004259afe0, free space=1015k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xdbadd6] os::is_first_C_frame(frame*)+0x26;; os::is_first_C_frame(frame*)+0x26
      V [libjvm.so+0xdd4fae] os::get_native_stack(unsigned char**, int, int)+0x5e;; os::get_native_stack(unsigned char**, int, int)+0x5e
      V [libjvm.so+0x3dffc4] CHeapObj<(MemoryType)7>::operator new(unsigned long)+0xa4;; CHeapObj<(MemoryType)7>::operator new(unsigned long)+0xa4
      V [libjvm.so+0x758758] Deoptimization::fetch_unroll_info_helper(JavaThread*)+0x28;; Deoptimization::fetch_unroll_info_helper(JavaThread*)+0x28
      v blob 0x00007faecc6d1a79

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v blob 0x00007faecc6d1a79
      J 1737 C2 Verify$MulExactI.checkMethod(II)I (6 bytes) @ 0x00007faecc7ced34 [0x00007faecc7cece0+0x54]
      J 1722 C2 Verify.verifyBinary(IILVerify$BinaryMethod;)V (60 bytes) @ 0x00007faecc7c8eb4 [0x00007faecc7c8e80+0x34]
      J 1716 C1 Verify$NonConstantTest.verify(LVerify$BinaryMethod;)V (107 bytes) @ 0x00007faeccdf6a04 [0x00007faeccdf6740+0x2c4]
      J 1702 C1 MulExactINonConstantTest.main([Ljava/lang/String;)V (21 bytes) @ 0x00007faeccdee554 [0x00007faeccdee4c0+0x94]
      v ~StubRoutines::call_stub
      J 1701 sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0x00007faeccde521e [0x00007faeccde5120+0xfe]
      J 1699 C1 sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (104 bytes) @ 0x00007faeccdea9c4 [0x00007faeccde92a0+0x1724]
      J 1697 C1 sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (10 bytes) @ 0x00007faeccde60cc [0x00007faeccde5f40+0x18c]
      J 1685 C1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0x00007faeccdde63c [0x00007faeccdde0c0+0x57c]
      J 1603 C1 com.sun.javatest.regtest.MainWrapper$MainThread.run()V (373 bytes) @ 0x00007faeccd8f024 [0x00007faeccd8e0e0+0xf44]
      J 1599 C1 java.lang.Thread.run()V (17 bytes) @ 0x00007faeccd82084 [0x00007faeccd81ec0+0x1c4]
      v ~StubRoutines::call_stub

        Attachments

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              iklam Ioi Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: