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

SEGV during class loading in InstanceKlass::print_class_load_logging

    Details

      Description

      Test failed with
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fbb9a455fb9, pid=32646, tid=11992
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0+11) (build 14-ea+11-345)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (14-ea+11-345, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # C [libc.so.6+0x4cfb9] _IO_vfprintf+0x4a79
      #
      # Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/dd0bab7c-a530-4905-bb6b-daa7153eb2c1-S312/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0831ae75-5b21-496f-9f65-4d85eb742e70/runs/7e448e75-8051-4bcf-b36a-2a23de02b103/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese24H_java/scratch/0/core.32646
      #
      # 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: -XX:MaxRAMPercentage=6 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -ea -esa --add-opens=java.base/java.net=ALL-UNNAMED -Dseed=5281091281653595 -XX:MaxRAMPercentage=50 applications.runthese.Runner -duration 1440 -runlist /scratch/opt/mach5/mesos/work_dir/slaves/dd0bab7c-a530-4905-bb6b-daa7153eb2c1-S312/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0831ae75-5b21-496f-9f65-4d85eb742e70/runs/7e448e75-8051-4bcf-b36a-2a23de02b103/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese24H_java/scratch/0/./RunTheseTestList.dat

      Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 8 cores, 28G, Oracle Linux Server release 7.1
      Time: Mon Aug 19 12:16:26 2019 UTC elapsed time: 26219 seconds (0d 7h 16m 59s)

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

      Current thread (0x00007fbae01ad000): JavaThread "/scratch/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/jpg/bigapps/jck/9.0/jck-9.0-20170922.165600-1.tar.gz/JCK-runtime-9/classes javasoft.sqe.tests.api.java.util.Hashtable.ValuesParallelStream" daemon [_thread_in_vm, id=11992, stack(0x00007fb9f3eea000,0x00007fb9f3feb000)]

      Stack: [0x00007fb9f3eea000,0x00007fb9f3feb000], sp=0x00007fb9f3fe4460, free space=1001k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libc.so.6+0x4cfb9] _IO_vfprintf+0x4a79
      V [libjvm.so+0x8db474] jio_fprintf+0x84
      V [libjvm.so+0xa4e22f] LogFileStreamOutput::write(LogMessageBuffer::Iterator)+0xcf
      V [libjvm.so+0xa5476e] LogTagSet::log(LogMessageBuffer const&)+0xce
      V [libjvm.so+0x816dd7] InstanceKlass::print_class_load_logging(ClassLoaderData*, char const*, ClassFileStream const*) const+0x277
      V [libjvm.so+0x5878a0] ClassFileParser::fill_instance_klass(InstanceKlass*, bool, Thread*)+0x1010
      V [libjvm.so+0x587cae] ClassFileParser::create_instance_klass(bool, Thread*)+0x5e
      V [libjvm.so+0xa16774] KlassFactory::create_from_stream(ClassFileStream*, Symbol*, ClassLoaderData*, Handle, InstanceKlass const*, GrowableArray<Handle>*, Thread*)+0x304
      V [libjvm.so+0xd1e064] SystemDictionary::resolve_from_stream(Symbol*, Handle, Handle, ClassFileStream*, Thread*)+0x154
      V [libjvm.so+0x8dfd30] jvm_define_class_common(JNIEnv_*, char const*, _jobject*, signed char const*, int, _jobject*, char const*, Thread*)+0x1d0
      V [libjvm.so+0x8dffd5] JVM_DefineClassWithSource+0x65
      C [libjava.so+0xe092] Java_java_lang_ClassLoader_defineClass1+0x182
      J 2939 java.lang.ClassLoader.defineClass1(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class; java.base@14-ea (0 bytes) @ 0x00007fbb81e2dc7d [0x00007fbb81e2db40+0x000000000000013d]
      J 258462 jvmci jdk.internal.reflect.MethodAccessorGenerator$1.run()Ljdk/internal/reflect/MagicAccessorImpl; java.base@14-ea (41 bytes) @ 0x00007fbb84030e7c [0x00007fbb84030c80+0x00000000000001fc]
      J 281810 jvmci jdk.internal.reflect.MethodAccessorGenerator.generate(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;IZZLjava/lang/Class;)Ljdk/internal/reflect/MagicAccessorImpl; java.base@14-ea (762 bytes) @ 0x00007fbb848a6b64 [0x00007fbb848a3b40+0x0000000000003024]
      J 220424 jvmci jdk.internal.reflect.MethodAccessorGenerator.generateMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;I)Ljdk/internal/reflect/MethodAccessor; java.base@14-ea (20 bytes) @ 0x00007fbb82d34d1c [0x00007fbb82d34ca0+0x000000000000007c]
      J 169678 jvmci jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@14-ea (10 bytes) @ 0x00007fbb8275444c [0x00007fbb82753f40+0x000000000000050c]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: