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

Win32 crash with CDS enabled and small heap size

    Details

    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b40
    • CPU:
      x86
    • OS:
      windows

      Backports

        Description

        Several tests on arguments crashed on Windows32 platform in promotion testing of jdk8-b92. Each test failed twice on two different hosts.

        Test names:
        gc/arguments/TestCMSHeapSizeFlags.java
        gc/arguments/TestParallelHeapSizeFlags.java
        gc/arguments/TestSerialHeapSizeFlags.java

        Surprisingly I did not manage to reproduce it. But minidumps were generated.

        hs_err excerpt:

        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000e1010, pid=20336, tid=11796
        #
        # JRE version: (8.0-b92) (build )
        # Java VM: Java HotSpot(TM) Client VM (25.0-b34 mixed mode, sharing windows-x86 )
        # Problematic frame:
        # C 0x000e1010
        #
        # Core dump written. Default location: C:\local\aurora\sandbox\results\workDir\gc\arguments\TestSerialHeapSizeFlags\hs_err_pid20336.mdmp
        #
        # 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 (0x0066b800): JavaThread "main" [_thread_in_Java, id=11796, stack(0x01a60000,0x01ab0000)]

        siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x000e1010;;
        ;; si_signo=0xc0000005 EXCEPTION_ACCESS_VIOLATION /* The thread tried to read from or write to a virtual address for which it does not have the appropriate access. */

        Registers:
        EAX=0x03561820, EBX=0x029d23a8, ECX=0x0376cb80, EDX=0x70000001
        ESP=0x01aaefb0, EBP=0x01aaefd8, ESI=0x01aaefb4, EDI=0x01aaefe0
        EIP=0x000e1010, EFLAGS=0x00010246

        .......

        Stack: [0x01a60000,0x01ab0000], sp=0x01aaefb0, free space=315k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        C 0x000e1010
        v ~StubRoutines::call_stub
        V [jvm.dll+0x12bf45] JavaCalls::call_helper+0x1d5;; ?call_helper@JavaCalls@@CAXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z+0x1d5
        V [jvm.dll+0x1e196e] os::os_exception_wrapper+0x6e;; ?os_exception_wrapper@os@@SAXP6AXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z0123@Z+0x6e
        V [jvm.dll+0x12bfde] JavaCalls::call+0x1e;; ?call@JavaCalls@@SAXPAVJavaValue@@VmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z+0x1e
        V [jvm.dll+0xe198e] JVM_DoPrivileged+0x1ee;; _JVM_DoPrivileged@20+0x1ee
        C [java.dll+0x1047] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2+0x15;; _Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2@12+0x15
        j java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.<init>(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)V+14
        j java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;+10
        j java.io.BufferedInputStream.<clinit>()V+12
        v ~StubRoutines::call_stub
        V [jvm.dll+0x12bf45] JavaCalls::call_helper+0x1d5;; ?call_helper@JavaCalls@@CAXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z+0x1d5
        V [jvm.dll+0x1e196e] os::os_exception_wrapper+0x6e;; ?os_exception_wrapper@os@@SAXP6AXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z0123@Z+0x6e
        V [jvm.dll+0x12bfde] JavaCalls::call+0x1e;; ?call@JavaCalls@@SAXPAVJavaValue@@VmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z+0x1e
        V [jvm.dll+0x9ace5] InstanceKlass::call_class_initializer_impl+0xb5;; ?call_class_initializer_impl@InstanceKlass@@CAXVinstanceKlassHandle@@PAVThread@@@Z+0xb5
        V [jvm.dll+0x9d770] InstanceKlass::initialize_impl+0x330;; ?initialize_impl@InstanceKlass@@CAXVinstanceKlassHandle@@PAVThread@@@Z+0x330
        V [jvm.dll+0x9e518] InstanceKlass::initialize+0x28;; ?initialize@InstanceKlass@@UAEXPAVThread@@@Z+0x28
        V [jvm.dll+0x61b41] InterpreterRuntime::_new+0xc1;; ?_new@InterpreterRuntime@@SAXPAVJavaThread@@PAVConstantPool@@H@Z+0xc1
        j java.lang.System.initializeSystemClass()V+70
        v ~StubRoutines::call_stub
        V [jvm.dll+0x12bf45] JavaCalls::call_helper+0x1d5;; ?call_helper@JavaCalls@@CAXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z+0x1d5
        V [jvm.dll+0x1e196e] os::os_exception_wrapper+0x6e;; ?os_exception_wrapper@os@@SAXP6AXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z0123@Z+0x6e
        V [jvm.dll+0x12bfde] JavaCalls::call+0x1e;; ?call@JavaCalls@@SAXPAVJavaValue@@VmethodHandle@@PAVJavaCallArguments@@PAVThread@@@Z+0x1e
        V [jvm.dll+0x12c561] JavaCalls::call_static+0x71;; ?call_static@JavaCalls@@SAXPAVJavaValue@@VKlassHandle@@PAVSymbol@@2PAVJavaCallArguments@@PAVThread@@@Z+0x71
        V [jvm.dll+0x12c5cd] JavaCalls::call_static+0x4d;; ?call_static@JavaCalls@@SAXPAVJavaValue@@VKlassHandle@@PAVSymbol@@2PAVThread@@@Z+0x4d
        V [jvm.dll+0x14820d] call_initializeSystemClass+0x3d;; ?call_initializeSystemClass@@YAXPAVThread@@@Z+0x3d
        V [jvm.dll+0x14d384] Threads::create_vm+0x594;; ?create_vm@Threads@@SAHPAUJavaVMInitArgs@@PA_N@Z+0x594
        V [jvm.dll+0xb7c3f] JNI_CreateJavaVM+0x4f;; _JNI_CreateJavaVM@12+0x4f

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iklam Ioi Lam
                  Reporter:
                  atimofee Aleksey Timofeev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: