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

[lworld] SIGSEGV in ~BufferBlob::vtable chunks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

    Description

      The converted test compiler/valhalla/TestCallingConventionC1.java failed with the following assertion in CI testing on Mac with a debug build:

      Checkout latest state of the new IR test framework:
      https://github.com/openjdk/valhalla/commit/e56df009a63c9a16eb0b1608d1ac2547e1d72c28
      CI flags used:
      XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation


      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x000000010f9649fb, pid=22003, tid=6147
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0) (fastdebug build 17-lworld3ea+0-2021-04-14-1416597.christian.hagedorn.valhalla)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-lworld3ea+0-2021-04-14-1416597.christian.hagedorn.valhalla, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Problematic frame:
      # v ~BufferBlob::vtable chunks
      ...............
      Command Line: -Djava.library.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/2021-04-14-1416597.christian.hagedorn.valhalla/macosx-x64-debug.test/hotspot/jtreg/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S31466/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0f798bc5-5176-4a79-9685-d74d3b22e2fb/runs/18797a2b-3d6d-43b5-ad19-177d4b8dcc2e/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_valhalla_ir_framework/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation -XX:CICompilerCount=2 -XX:TieredStopAtLevel=4 -XX:+TieredCompilation -DFlipC1C2=true -XX:-BackgroundCompilation -XX:CompileCommand=quiet -DWarmup=251 -Dir.framework.server.port=56050 jdk.test.lib.hotspot.ir_framework.TestFrameworkExecution compiler.valhalla.inlinetypes.TestCallingConventionC1
      .............
      Current thread (0x00007fe591009620): JavaThread "main" [_thread_in_Java, id=6147, stack(0x0000700002827000,0x0000700002927000)]

      Stack: [0x0000700002827000,0x0000700002927000], sp=0x0000700002926488, free space=1021k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      v ~BufferBlob::vtable chunks
      j jdk.test.lib.Asserts.assertEquals(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V+28
      j jdk.test.lib.Asserts.assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V+3
      j jdk.test.lib.Asserts.assertEQ(Ljava/lang/Object;Ljava/lang/Object;)V+2
      j compiler.valhalla.inlinetypes.TestCallingConventionC1.test101_verifier(Ljdk/test/lib/hotspot/ir_framework/RunInfo;)V+115
      j jdk.internal.reflect.GeneratedMethodAccessor64.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+40
      J 987 c2 jdk.test.lib.hotspot.ir_framework.CustomRunTest.invokeTest()V (76 bytes) @ 0x000000011749e550 [0x000000011749e3c0+0x0000000000000190]
      j jdk.test.lib.hotspot.ir_framework.AbstractTest.run()V+41
      j jdk.test.lib.hotspot.ir_framework.CustomRunTest.run()V+59
      j jdk.test.lib.hotspot.ir_framework.TestFrameworkExecution.runTests()V+198
      j jdk.test.lib.hotspot.ir_framework.TestFrameworkExecution.start()V+9
      j jdk.test.lib.hotspot.ir_framework.TestFrameworkExecution.main([Ljava/lang/String;)V+38
      v ~StubRoutines::call_stub
      V [libjvm.dylib+0x92b7c7] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x667
      V [libjvm.dylib+0x9d395e] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x19e
      V [libjvm.dylib+0x9e7851] jni_CallStaticVoidMethod+0x251
      C [libjli.dylib+0x4e0f] JavaMain+0xbff
      C [libjli.dylib+0x7389] ThreadJavaMain+0x9
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf


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

      Attachments

        Activity

          People

            thartmann Tobias Hartmann
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: