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

Stress test SEGV while emitting OldObjectSample

    XMLWordPrintable

Details

    • jfr
    • b31

    Backports

      Description

        The hs_err:
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff64a09204, pid=7556, tid=6384
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0+26) (fastdebug build 17-ea+26-LTS-2439)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+26-LTS-2439, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
        # Problematic frame:
        # V [jvm.dll+0xab9204] write_blobs+0x124
        #
        # Core dump will be written. Default location: T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0\hs_err_pid7556.mdmp
        #
        # JFR recording file will be written. Location: T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0\hs_err_pid7556.jfr
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #

        --------------- S U M M A R Y ------------

        Command Line: -Xbootclasspath/a:T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0\wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djava.security.manager=allow -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=t:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\tmp -XX:MaxRAMPercentage=50 -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener --add-modules=jdk.incubator.foreign --add-exports=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.parsers=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED -Djava.io.tmpdir=T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0/java.io.tmpdir -Duser.home=T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0/user.home -agentpath:c:\ade\mesos\work_dir\jib-master\install\jdk-17+26-2439\windows-x64-debug.test\hotspot\jtreg\native\JvmtiStressModule.dll -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=8872877327547036430 applications.kitchensink.process.stress.Main T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0\kitchensink.final.properties

        Host: win2019-x64-build-test-903805, AMD EPYC 7J13 64-Core Processor , 12 cores, 47G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.1879)
        Time: Mon Jun 14 17:24:21 2021 /GM elapsed time: 52687.032098 seconds (0d 14h 38m 7s)

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

        Current thread (0x000001f87b4ccf70): JavaThread "Attach Listener" daemon [_thread_in_vm, id=6384, stack(0x0000006ebef00000,0x0000006ebf000000)]

        Stack: [0x0000006ebef00000,0x0000006ebf000000], sp=0x0000006ebeffe5d0, free space=1017k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [jvm.dll+0xab9204] write_blobs+0x124 (objectSampleCheckpoint.cpp:338)
        V [jvm.dll+0xab74b8] iterate_samples<BlobWriter>+0xf8 (objectSampleCheckpoint.cpp:110)
        V [jvm.dll+0xab78a7] ObjectSampleCheckpoint::_write+0x107 (objectSampleCheckpoint.cpp:376)
        V [jvm.dll+0x564cf2] EventEmitter::write_events+0x2a2 (eventEmitter.cpp:98)
        V [jvm.dll+0x56427d] EventEmitter::emit+0x22d (eventEmitter.cpp:64)
        V [jvm.dll+0x8f6aa8] LeakProfiler::emit_events+0x68 (leakProfiler.cpp:89)
        V [jvm.dll+0x6e0381] jfr_emit_old_object_samples+0xb1 (jfrJniMethod.cpp:340)
        C 0x000001f8483e5430

        Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
        j jdk.jfr.internal.JVM.emitOldObjectSamples(JZZ)V+0 jdk.jfr@17-ea
        j jdk.jfr.internal.OldObjectSample.emit(J)V+14 jdk.jfr@17-ea
        j jdk.jfr.internal.OldObjectSample.emit(Ljdk/jfr/internal/PlatformRecording;)V+31 jdk.jfr@17-ea
        j jdk.jfr.internal.PlatformRecorder.stop(Ljdk/jfr/internal/PlatformRecording;)V+142 jdk.jfr@17-ea
        j jdk.jfr.internal.PlatformRecording.stop(Ljava/lang/String;)Z+38 jdk.jfr@17-ea
        j jdk.jfr.Recording.stop()Z+6 jdk.jfr@17-ea
        j jdk.jfr.internal.dcmd.DCmdStop.execute(Ljdk/jfr/internal/dcmd/ArgumentParser;)V+100 jdk.jfr@17-ea
        j jdk.jfr.internal.dcmd.AbstractDCmd.execute(Ljava/lang/String;Ljava/lang/String;C)[Ljava/lang/String;+172 jdk.jfr@17-ea
        v ~StubRoutines::call_stub

        siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x000001f81a246068

        Attachments

          Issue Links

            Activity

              People

                mgronlun Markus Grönlund
                lmesnik Leonid Mesnik
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: