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

SEGV while collecting Klass statistics

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b29
    • Verification:
      Verified

      Backports

        Description

        Application crashed with

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007f103114b6e4, pid=6879, tid=6906
        #
        # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-ea+0-1090)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-ea+0-1090, mixed mode, sharing, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xd316e4] KlassSizeStats::count(oop)+0x34
        #
        # Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S108/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6aa87fe-7c7c-4443-ad15-6e282b313200/runs/33e8a48c-04b2-4a9c-beed-c54e2ea396a1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/core.6879
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

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

        Command Line: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=8 -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+IgnoreUnrecognizedVMOptions -XX:MaxRAMPercentage=50 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -XX:+UsePerfData -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -XX:NativeMemoryTracking=detail -XX:+FlightRecorder --add-exports=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang=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=/scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S108/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6aa87fe-7c7c-4443-ad15-6e282b313200/runs/33e8a48c-04b2-4a9c-beed-c54e2ea396a1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/java.io.tmpdir -Duser.home=/scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S108/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6aa87fe-7c7c-4443-ad15-6e282b313200/runs/33e8a48c-04b2-4a9c-beed-c54e2ea396a1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/user.home -agentpath:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1090/linux-x64-debug.test/hotspot/jtreg/native/libJvmtiStressModule.so applications.kitchensink.process.stress.Main /scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S108/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6aa87fe-7c7c-4443-ad15-6e282b313200/runs/33e8a48c-04b2-4a9c-beed-c54e2ea396a1/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/kitchensink.final.properties

        Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 6 cores, 29G, Oracle Linux Server release 7.1
        Time: Tue May 21 19:07:16 2019 UTC elapsed time: 762 seconds (0d 0h 12m 42s)

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

        Current thread (0x00007f102c15b000): VMThread "VM Thread" [stack: 0x00007f100c46f000,0x00007f100c56f000] [id=6906]

        Stack: [0x00007f100c46f000,0x00007f100c56f000], sp=0x00007f100c56d2f0, free space=1016k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xd316e4] KlassSizeStats::count(oop)+0x34
        V [libjvm.so+0x1127ac5] Klass::collect_statistics(KlassSizeStats*) const+0x55
        V [libjvm.so+0xdb5fc8] InstanceKlass::collect_statistics(KlassSizeStats*) const+0x18
        V [libjvm.so+0xd35756] KlassInfoHisto::print_class_stats(outputStream*, bool, char const*)+0x266
        V [libjvm.so+0xd36e03] HeapInspection::heap_inspection(outputStream*)+0x783
        V [libjvm.so+0xcd1c46] VM_GC_HeapInspection::doit()+0x86
        V [libjvm.so+0x177e083] VM_Operation::evaluate()+0x143
        V [libjvm.so+0x17ad8ff] VMThread::evaluate_operation(VM_Operation*) [clone .constprop.66]+0x17f
        V [libjvm.so+0x17ae3ae] VMThread::loop()+0x74e
        V [libjvm.so+0x17ae72a] VMThread::run()+0xca
        V [libjvm.so+0x16c6ab6] Thread::call_run()+0xf6
        V [libjvm.so+0x13e1bfe] thread_native_entry(Thread*)+0x10e

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  eosterlund Erik Österlund
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: