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

java/util/stream/test/org/openjdk/tests/java/util/stream/StreamBuilderTest.java: SIGSEGV in compiled C2 code

XMLWordPrintable

    • sparc
    • solaris

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xffffffff67088648, pid=353, tid=70
      #
      # 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-201409110209.iggy.8058092 compiled mode solaris-sparc )
      # Problematic frame:
      # J 11912 C2 java.util.stream.SpinedBuffer$OfPrimitive.inflateSpine()V (36 bytes) @ 0xffffffff67088648 [0xffffffff670883c0+0x288]
      #
      # Core dump written. Default location: /scratch/local/aurora/sandbox/results/workDir/java/util/stream/test/org/openjdk/tests/java/util/stream/StreamBuilderTest/core or core.353
      #
      # 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 (0x0000000100c25000): JavaThread "MainThread" [_thread_in_Java, id=70, stack(0xffffffff28f00000,0xffffffff29000000)]

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

      Registers:
       G1=0xfffffffe11094fc0 G2=0x0000000100c25000 G3=0xfffffffffffea7ff G4=0xffffffff28ff94f0
       G5=0xffffffff275da8c0 G6=0x0000000000000000 G7=0xffffffff77d12240 Y=0x0000000000000000
       O0=0xfffffffe11094fb0 O1=0xfffffffe29134b58 O2=0x0000000000000000 O3=0xfffffffe2910c400
       O4=0xfffffffe02be7db0 O5=0xfffffffe02bebe78 O6=0xffffffff28ff7ff1 O7=0xffffffff6660cf74
       L0=0xffffffff61801dc8 L1=0xffffffff61f1b300 L2=0xfffffffe11095080 L3=0xfffffffe11095040
       L4=0xfffffffe11094f00 L5=0xfffffffe11095060 L6=0x0000000000000001 L7=0xff7fffff66800000
       I0=0xfffffffe11094ec8 I1=0xfffffffe11094f58 I2=0x0000000000000000 I3=0x00000001011511c0
       I4=0xffffffff27cbbda0 I5=0x0000000100c25be0 I6=0xffffffff28ff8081 I7=0xffffffff66da2280
       PC=0xffffffff67088648 nPC=0xffffffff6708864c


      Top of Stack: (sp=0xffffffff28ff87f0)
      0xffffffff28ff87f0: ffffffff61801dc8 ffffffff61f1b300
      0xffffffff28ff8800: fffffffe11095080 fffffffe11095040
      0xffffffff28ff8810: fffffffe11094f00 fffffffe11095060
      0xffffffff28ff8820: 0000000000000001 ff7fffff66800000
      0xffffffff28ff8830: fffffffe11094ec8 fffffffe11094f58
      0xffffffff28ff8840: 0000000000000000 00000001011511c0
      0xffffffff28ff8850: ffffffff27cbbda0 0000000100c25be0
      0xffffffff28ff8860: ffffffff28ff8081 ffffffff66da2280
      0xffffffff28ff8870: ffffffff7c500000 ffffffff61800bd0
      0xffffffff28ff8880: ffffffff7c500000 0000000000000010
      0xffffffff28ff8890: ffffffff618efec0 00000000000007ff
      0xffffffff28ff88a0: ffffffff66da2248 ffffffff667ff6c0
      0xffffffff28ff88b0: ffffffff27cbbda0 ffffffff27cbbda0
      0xffffffff28ff88c0: fffffffe11094ec8 0000000000000830
      0xffffffff28ff88d0: ffffffff278b1038 ffffffd88e48a290
      0xffffffff28ff88e0: ffffffd88e48a298 00000000000c6400

      Instructions: (pc=0xffffffff67088648)
      0xffffffff67088628: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
      0xffffffff67088638: a0 04 21 c8 d4 5c 20 f0 e2 5e 60 08 e8 5e 20 28
      0xffffffff67088648: e6 02 a0 14 a5 36 30 09 d0 76 20 20 c0 2d c0 12
      0xffffffff67088658: 32 e4 48 50 d2 5d 20 08 a1 3c c0 00 e0 5a 40 10
      ;; ffffffff67088638 a0 04 21 c8 add %l0, 0x1c8, %l0
      ;; ffffffff6708863c d4 5c 20 f0 ldx [ %l0 + 0xf0 ], %o2
      ;; ffffffff67088640 e2 5e 60 08 ldx [ %i1 + 8 ], %l1
      ;; ffffffff67088644 e8 5e 20 28 ldx [ %i0 + 0x28 ], %l4
      ;; ---------------
      ;; ffffffff67088648 e6 02 a0 14 ld [ %o2 + 0x14 ], %l3
      ;; ffffffff6708864c a5 36 30 09 srlx %i0, 9, %l2
      ;; ffffffff67088650 d0 76 20 20 stx %o0, [ %i0 + 0x20 ]
      ;; ffffffff67088654 c0 2d c0 12 clrb [ %l7 + %l2 ]
      ;; ffffffff67088658 32 e4 48 50 unknown
      ;; ffffffff6708865c d2 5d 20 08 ldx [ %l4 + 8 ], %o1
      ;; ffffffff67088660 a1 3c c0 00 signx %l3, %l0
      ;; ffffffff67088664 e0 5a 40 10 ldx [ %o1 + %l0 ], %l0
      ;;
      Register to memory mapping:

      G1=0xfffffffe11094fc0 is an oop

      [error occurred during error reporting (printing register info), id 0xb]

      Stack: [0xffffffff28f00000,0xffffffff29000000], sp=0xffffffff28ff87f0, free space=993k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 11912 C2 java.util.stream.SpinedBuffer$OfPrimitive.inflateSpine()V (36 bytes) @ 0xffffffff67088648 [0xffffffff670883c0+0x288]
      J 11719 C2 java.util.stream.SpinedBuffer$OfPrimitive.preAccept()V (80 bytes) @ 0xffffffff66da2288 [0xffffffff66da2220+0x68]
      J 11425 C2 java.util.stream.SpinedBuffer$OfInt.accept(I)V (25 bytes) @ 0xffffffff66e3874c [0xffffffff66e38700+0x4c]
      J 11808 C2 java.util.stream.Streams$IntStreamBuilderImpl.accept(I)V (91 bytes) @ 0xffffffff66d840b0 [0xffffffff66d83f40+0x170]
      J 9255 C2 java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Ljava/util/function/IntConsumer;)V (65 bytes) @ 0xffffffff66a64574 [0xffffffff66a644e0+0x94]
      J 11678 C1 java.util.stream.IntPipeline$Head.forEach(Ljava/util/function/IntConsumer;)V (29 bytes) @ 0xffffffff66e46978 [0xffffffff66e466e0+0x298]
      J 11685 C2 org.openjdk.tests.java.util.stream.StreamBuilderTest.lambda$testIntStreamBuilder$964(Ljava/lang/Integer;)Ljava/util/stream/IntStream; (25 bytes) @ 0xffffffff66e98e70 [0xffffffff66e98d00+0x170]
      J 11677 C2 org.openjdk.tests.java.util.stream.StreamBuilderTest$$Lambda$108.apply(Ljava/lang/Object;)Ljava/lang/Object; (8 bytes) @ 0xffffffff66e2f134 [0xffffffff66e2f0e0+0x54]
      J 11705 C1 org.openjdk.tests.java.util.stream.StreamBuilderTest.lambda$testIntStreamBuilder$967(Ljava/util/function/Function;I)Ljava/util/stream/IntStream; (14 bytes) @ 0xffffffff6660cf7c [0xffffffff6660cd20+0x25c]
      J 11675 C2 org.openjdk.tests.java.util.stream.StreamBuilderTest$$Lambda$109.get()Ljava/lang/Object; (12 bytes) @ 0xffffffff66e2f590 [0xffffffff66e2f560+0x30]
      J 11688 C1 java.util.stream.TestData$Factory.lambda$ofIntSupplier$55(Ljava/util/function/Supplier;)Ljava/util/stream/IntStream; (15 bytes) @ 0xffffffff66e4e32c [0xffffffff66e4e2a0+0x8c]
      J 11485 C2 java.util.stream.TestData$Factory$$Lambda$95.apply(Ljava/lang/Object;)Ljava/lang/Object; (8 bytes) @ 0xffffffff67148cd8 [0xffffffff67148c80+0x58]
      J 11483 C1 java.util.stream.TestData$AbstractTestData.parallelStream()Ljava/util/stream/BaseStream; (17 bytes) @ 0xffffffff67146ed0 [0xffffffff67146e00+0xd0]
      j java.util.stream.IntStreamTestScenario$13._run(Ljava/util/stream/TestData;Ljava/util/function/IntConsumer;Ljava/util/function/Function;)V+1
      J 11845 C2 java.util.stream.IntStreamTestScenario.run(Ljava/util/stream/TestData;Ljava/util/function/Consumer;Ljava/util/function/Function;)V (11 bytes) @ 0xffffffff66e36f50 [0xffffffff66e36ee0+0x70]
      J 10849 C1 java.util.stream.OpTestCase$ExerciseDataStreamBuilder.exercise()Ljava/util/Collection; (532 bytes) @ 0xffffffff673069b4 [0xffffffff67305a40+0xf74]
      J 11783 C1 org.openjdk.tests.java.util.stream.StreamBuilderTest.testIntStreamBuilder(ILjava/util/function/Function;)V (88 bytes) @ 0xffffffff66ba4844 [0xffffffff66ba2be0+0x1c64]
      J 11724 C2 org.openjdk.tests.java.util.stream.StreamBuilderTest.testIntStreamBuilder(I)V (21 bytes) @ 0xffffffff66e9098c [0xffffffff66e90940+0x4c]
      v ~StubRoutines::call_stub
      V [libjvm.so+0xd69a24] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x71c;; __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x71c
      V [libjvm.so+0x1392660] oop Reflection::invoke(instanceKlassHandle,methodHandle,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0x2868;; __1cKReflectionGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_bnOobjArrayHandle_nJBasicType_4bpnGThread__nDoop__+0x2868
      V [libjvm.so+0x139350c] oop Reflection::invoke_method(oop,Handle,objArrayHandle,Thread*)+0x6f4;; __1cKReflectionNinvoke_method6FnDoop_nGHandle_nOobjArrayHandle_pnGThread__1_+0x6f4
      V [libjvm.so+0xefca8c] JVM_InvokeMethod+0x4ac;; JVM_InvokeMethod+0x4ac
      C [libjava.so+0x16668] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18;; Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18
      J 1659 sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0xffffffff66492ef8 [0xffffffff66492c00+0x2f8]
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
      J 1656 C2 sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (10 bytes) @ 0xffffffff66491ea4 [0xffffffff66491e60+0x44]
      J 1644 C2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0xffffffff6648aa00 [0xffffffff6648a9a0+0x60]
      J 6777 C2 org.testng.internal.MethodInvocationHelper.invokeMethod(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (246 bytes) @ 0xffffffff66c74c20 [0xffffffff66c74b40+0xe0]
      J 9280 C2 org.testng.internal.Invoker.invokeMethod([Ljava/lang/Object;ILorg/testng/ITestNGMethod;[Ljava/lang/Object;ILorg/testng/xml/XmlSuite;Ljava/util/Map;Lorg/testng/ITestClass;[Lorg/testng/ITestNGMethod;[Lorg/testng/ITestNGMethod;Lorg/testng/internal/ConfigurationGroupMethods;)Lorg/testng/ITestResult; (605 bytes) @ 0xffffffff66f18c48 [0xffffffff66f172a0+0x19a8]
      J 8908 C2 org.testng.internal.Invoker.invokeTestMethod([Ljava/lang/Object;Lorg/testng/ITestNGMethod;[Ljava/lang/Object;ILorg/testng/xml/XmlSuite;Ljava/util/Map;Lorg/testng/ITestClass;[Lorg/testng/ITestNGMethod;[Lorg/testng/ITestNGMethod;Lorg/testng/internal/ConfigurationGroupMethods;)Ljava/util/List; (64 bytes) @ 0xffffffff66b3a0f0 [0xffffffff66b3a020+0xd0]
      j org.testng.internal.Invoker.invokeTestMethods(Lorg/testng/ITestNGMethod;[Lorg/testng/ITestNGMethod;ILorg/testng/xml/XmlSuite;Ljava/util/Map;Lorg/testng/internal/ConfigurationGroupMethods;[Ljava/lang/Object;Lorg/testng/ITestContext;)Ljava/util/List;+762
      J 6713 C2 org.testng.internal.TestMethodWorker.invokeTestMethods(Lorg/testng/ITestNGMethod;[Ljava/lang/Object;Lorg/testng/ITestContext;)V (57 bytes) @ 0xffffffff66b1b3f0 [0xffffffff66b1b360+0x90]
      J 6709 C2 org.testng.internal.TestMethodWorker.run()V (94 bytes) @ 0xffffffff66b6ec34 [0xffffffff66b6eb20+0x114]
      J 6636 C1 org.testng.TestRunner.privateRun(Lorg/testng/xml/XmlTest;)V (417 bytes) @ 0xffffffff66c95378 [0xffffffff66c92400+0x2f78]
      J 6621 C1 org.testng.TestRunner.run()V (44 bytes) @ 0xffffffff669cb22c [0xffffffff669caa40+0x7ec]
      J 6619 C1 org.testng.SuiteRunner.runSequentially()V (38 bytes) @ 0xffffffff669ae730 [0xffffffff669ae2a0+0x490]
      J 6613 C1 org.testng.SuiteRunner.privateRun()V (349 bytes) @ 0xffffffff66ce4318 [0xffffffff66ce06a0+0x3c78]
      J 6569 C1 org.testng.SuiteRunnerWorker.runSuite(Lorg/testng/internal/SuiteRunnerMap;Lorg/testng/xml/XmlSuite;)V (262 bytes) @ 0xffffffff66c9cb94 [0xffffffff66c9aba0+0x1ff4]
      J 6567 C1 org.testng.SuiteRunnerWorker.run()V (16 bytes) @ 0xffffffff664ccbec [0xffffffff664ccaa0+0x14c]
      J 6563 C1 org.testng.TestNG.runSuitesSequentially(Lorg/testng/xml/XmlSuite;Lorg/testng/internal/SuiteRunnerMap;ILjava/lang/String;)V (70 bytes) @ 0xffffffff669c68d8 [0xffffffff669c5e60+0xa78]
      J 5310 C1 org.testng.TestNG.runSuitesLocally()Ljava/util/List; (352 bytes) @ 0xffffffff66b693d4 [0xffffffff66b67660+0x1d74]
      J 1888 C1 org.testng.TestNG.run()V (172 bytes) @ 0xffffffff665ee148 [0xffffffff665ed2e0+0xe68]
      J 1662 C1 com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(Ljava/lang/ClassLoader;[Ljava/lang/String;)V (168 bytes) @ 0xffffffff6649bc14 [0xffffffff6649ad40+0xed4]
      J 1660 C1 com.sun.javatest.regtest.TestNGAction$TestNGRunner.main([Ljava/lang/String;)V (6 bytes) @ 0xffffffff66492828 [0xffffffff66492780+0xa8]
      v ~StubRoutines::call_stub
      V [libjvm.so+0xd69a24] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x71c;; __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x71c
      V [libjvm.so+0x1392660] oop Reflection::invoke(instanceKlassHandle,methodHandle,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0x2868;; __1cKReflectionGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_bnOobjArrayHandle_nJBasicType_4bpnGThread__nDoop__+0x2868
      V [libjvm.so+0x139350c] oop Reflection::invoke_method(oop,Handle,objArrayHandle,Thread*)+0x6f4;; __1cKReflectionNinvoke_method6FnDoop_nGHandle_nOobjArrayHandle_pnGThread__1_+0x6f4
      V [libjvm.so+0xefca8c] JVM_InvokeMethod+0x4ac;; JVM_InvokeMethod+0x4ac
      C [libjava.so+0x16668] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18;; Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18
      J 1659 sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0xffffffff66492ef8 [0xffffffff66492c00+0x2f8]
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
      J 1655 C1 sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (10 bytes) @ 0xffffffff66493874 [0xffffffff66493700+0x174]
      J 1643 C1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0xffffffff66487db0 [0xffffffff66487840+0x570]
      J 1635 C1 com.sun.javatest.regtest.MainWrapper$MainThread.run()V (373 bytes) @ 0xffffffff66a8bf9c [0xffffffff66a8b140+0xe5c]
      J 1631 C1 java.lang.Thread.run()V (17 bytes) @ 0xffffffff66a82bcc [0xffffffff66a82a00+0x1cc]
      v ~StubRoutines::call_stub
      V [libjvm.so+0xd69a24] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x71c;; __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x71c
      V [libjvm.so+0xd683d0] void JavaCalls::call_virtual(JavaValue*,KlassHandle,Symbol*,Symbol*,JavaCallArguments*,Thread*)+0x1d8;; __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_pnGSymbol_5pnRJavaCallArguments_pnGThread__v_+0x1d8
      V [libjvm.so+0xd684f4] void JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,Symbol*,Symbol*,Thread*)+0xd4;; __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_pnGSymbol_6pnGThread__v_+0xd4
      V [libjvm.so+0xee6dec] void thread_entry(JavaThread*,Thread*)+0xfc;; __1cMthread_entry6FpnKJavaThread_pnGThread__v_+0xfc
      V [libjvm.so+0x15155b8] void JavaThread::thread_main_inner()+0x270;; __1cKJavaThreadRthread_main_inner6M_v_+0x270
      V [libjvm.so+0x15152c8] void JavaThread::run()+0x4f8;; __1cKJavaThreadDrun6M_v_+0x4f8
      V [libjvm.so+0x128a338] java_start+0x378;; java_start+0x378
      C [libc.so.1+0xe24c4] _lwp_start+0x8;; _lwp_start+0x8

            Unassigned Unassigned
            adlertz Niclas Adlertz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: