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

JVM crashed executing unit test using JMockIt

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_51"
      Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
      Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

      FULL OS VERSION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      JVM crashed executing unit test using JMockIt

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e4748b2, pid=7284, tid=8392
      #
      # JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
      # Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode, sharing windows-x86 )
      # Problematic frame:
      # V [jvm.dll+0xc48b2]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # 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 (0x0128e400): JavaThread "main" [_thread_in_vm, id=8392, stack(0x010a0000,0x010f0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

      Registers:
      EAX=0x39a1f4f8, EBX=0x00000000, ECX=0x39a1f4f8, EDX=0xffffffff
      ESP=0x010ee000, EBP=0x010ee024, ESI=0x39a1f4f8, EDI=0x39a03678
      EIP=0x6e4748b2, EFLAGS=0x00010202

      Top of Stack: (sp=0x010ee000)
      0x010ee000: 010ee0c0 0128e400 38efd508 c4b201b5
      0x010ee010: 6c5e0272 010ee0c0 38efd508 39a1f4f8
      0x010ee020: 39a03678 010ee050 6e474ad9 00000000
      0x010ee030: 6c58785c 00000000 0128e400 0128e530
      0x010ee040: 0128e400 05139150 00000224 6e6612a8
      0x010ee050: 010ee088 6c55f259 0128e530 00000000
      0x010ee060: 6c58785c 6c58c9c0 c43ff096 0128e400
      0x010ee070: 384b6eb0 38efd508 010ee068 010ee1b8

      Instructions: (pc=0x6e4748b2)
      0x6e474892: e8 99 90 f7 ff 83 c4 0c 8b f0 89 75 f8 85 ff 0f
      0x6e4748a2: 84 44 01 00 00 85 f6 0f 84 3c 01 00 00 8b 5d 08
      0x6e4748b2: 8b 03 50 e8 a6 02 f7 ff 83 c4 04 84 c0 74 39 8b
      0x6e4748c2: 55 0c a1 e8 2a 6e 6e 8b 4d 14 52 50 68 44 06 00


      Register to memory mapping:

      EAX=0x39a1f4f8 is an unknown value
      EBX=0x00000000 is an unknown value
      ECX=0x39a1f4f8 is an unknown value
      EDX=0xffffffff is an unknown value
      ESP=0x010ee000 is pointing into the stack for thread: 0x0128e400
      EBP=0x010ee024 is pointing into the stack for thread: 0x0128e400
      ESI=0x39a1f4f8 is an unknown value
      EDI=0x39a03678 is an unknown value


      Stack: [0x010a0000,0x010f0000], sp=0x010ee000, free space=312k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xc48b2]
      V [jvm.dll+0xc4ad9]
      C [awt.dll+0x8f259]
      j java.awt.Toolkit.initIDs()V+0
      j java.awt.Toolkit.<clinit>()V+44
      v ~StubRoutines::call_stub
      V [jvm.dll+0x13f35a]
      V [jvm.dll+0x202c6e]
      V [jvm.dll+0x13f3dd]
      V [jvm.dll+0xa6436]
      V [jvm.dll+0xa6e3e]
      V [jvm.dll+0xa7294]
      V [jvm.dll+0xa75a8]
      V [jvm.dll+0x70f7e]
      V [jvm.dll+0x717e6]
      V [jvm.dll+0x71aa7]
      V [jvm.dll+0x6dc30]
      j java.awt.Rectangle.<clinit>()V+0
      v ~StubRoutines::call_stub
      V [jvm.dll+0x13f35a]
      V [jvm.dll+0x202c6e]
      V [jvm.dll+0x13f3dd]
      V [jvm.dll+0xa6436]
      V [jvm.dll+0xa6e3e]
      V [jvm.dll+0xa7294]
      V [jvm.dll+0xa75a8]
      V [jvm.dll+0x6acc5]
      j chs.utilities.Environment.getDeskTopVirtualBounds()Ljava/awt/Rectangle;+6
      j chs.utilities.EnvironmentTest.testMockit(Ljava/awt/GraphicsEnvironment;Ljava/awt/GraphicsDevice;)V+11
      v ~StubRoutines::call_stub
      V [jvm.dll+0x13f35a]
      V [jvm.dll+0x202c6e]
      V [jvm.dll+0x13f3dd]
      V [jvm.dll+0x14b6ee]
      V [jvm.dll+0x14b915]
      V [jvm.dll+0xf1309]
      C [java.dll+0x7d6e]
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j org.junit.runners.model.FrameworkMethod$1.runReflectiveCall()Ljava/lang/Object;+15
      j org.junit.internal.runners.model.ReflectiveCallable.run()Ljava/lang/Object;+1
      j org.junit.runners.model.FrameworkMethod.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+62
      j mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeTestMethod(Ljava/lang/Object;[Ljava/lang/Object;)V+63
      j mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+164
      j org.junit.runners.model.FrameworkMethod.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+29
      j org.junit.internal.runners.statements.InvokeMethod.evaluate()V+12
      j org.junit.runners.ParentRunner.runLeaf(Lorg/junit/runners/model/Statement;Lorg/junit/runner/Description;Lorg/junit/runner/notification/RunNotifier;)V+17
      j org.junit.runners.BlockJUnit4ClassRunner.runChild(Lorg/junit/runners/model/FrameworkMethod;Lorg/junit/runner/notification/RunNotifier;)V+32
      j org.junit.runners.BlockJUnit4ClassRunner.runChild(Ljava/lang/Object;Lorg/junit/runner/notification/RunNotifier;)V+6
      j org.junit.runners.ParentRunner$3.run()V+12
      j org.junit.runners.ParentRunner$1.schedule(Ljava/lang/Runnable;)V+1
      j org.junit.runners.ParentRunner.runChildren(Lorg/junit/runner/notification/RunNotifier;)V+40
      j org.junit.runners.ParentRunner.access$000(Lorg/junit/runners/ParentRunner;Lorg/junit/runner/notification/RunNotifier;)V+2
      j org.junit.runners.ParentRunner$2.evaluate()V+8
      j org.junit.runners.ParentRunner.run(Lorg/junit/runner/notification/RunNotifier;)V+20
      j org.junit.runner.JUnitCore.run(Lorg/junit/runner/Runner;)Lorg/junit/runner/Result;+37
      j com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs([Ljava/lang/String;Ljava/util/ArrayList;Ljava/lang/String;Z)I+178
      j com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart([Ljava/lang/String;ZLjava/util/ArrayList;Ljava/lang/String;Lcom/intellij/rt/execution/junit/segments/SegmentedOutputStream;Lcom/intellij/rt/execution/junit/segments/SegmentedOutputStream;)I+150
      j com.intellij.rt.execution.junit.JUnitStarter.main([Ljava/lang/String;)V+145
      v ~StubRoutines::call_stub
      V [jvm.dll+0x13f35a]
      V [jvm.dll+0x202c6e]
      V [jvm.dll+0x13f3dd]
      V [jvm.dll+0x14b6ee]
      V [jvm.dll+0x14b915]
      V [jvm.dll+0xf1309]
      C [java.dll+0x7d6e]
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j com.intellij.rt.execution.application.AppMain.main([Ljava/lang/String;)V+163
      v ~StubRoutines::call_stub
      V [jvm.dll+0x13f35a]
      V [jvm.dll+0x202c6e]
      V [jvm.dll+0x13f3dd]
      V [jvm.dll+0x14b6ee]
      V [jvm.dll+0x14b915]
      V [jvm.dll+0xf1309]
      C [java.dll+0x7d6e]
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j com.intellij.rt.execution.CommandLineWrapper.main([Ljava/lang/String;)V+629
      v ~StubRoutines::call_stub
      V [jvm.dll+0x13f35a]
      V [jvm.dll+0x202c6e]
      V [jvm.dll+0x13f3dd]
      V [jvm.dll+0xc9945]
      V [jvm.dll+0xd45e7]
      C [java.exe+0x2063]
      C [java.exe+0xa591]
      C [java.exe+0xa61b]
      C [kernel32.dll+0x1338a]
      C [ntdll.dll+0x39f72]
      C [ntdll.dll+0x39f45]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j java.awt.Toolkit.initIDs()V+0
      j java.awt.Toolkit.<clinit>()V+44
      v ~StubRoutines::call_stub
      j java.awt.Rectangle.<clinit>()V+0
      v ~StubRoutines::call_stub
      j chs.utilities.Environment.getDeskTopVirtualBounds()Ljava/awt/Rectangle;+6
      j chs.utilities.EnvironmentTest.testMockit(Ljava/awt/GraphicsEnvironment;Ljava/awt/GraphicsDevice;)V+11
      v ~StubRoutines::call_stub
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j org.junit.runners.model.FrameworkMethod$1.runReflectiveCall()Ljava/lang/Object;+15
      j org.junit.internal.runners.model.ReflectiveCallable.run()Ljava/lang/Object;+1
      j org.junit.runners.model.FrameworkMethod.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+62
      j mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeTestMethod(Ljava/lang/Object;[Ljava/lang/Object;)V+63
      j mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+164
      j org.junit.runners.model.FrameworkMethod.invokeExplosively(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+29
      j org.junit.internal.runners.statements.InvokeMethod.evaluate()V+12
      j org.junit.runners.ParentRunner.runLeaf(Lorg/junit/runners/model/Statement;Lorg/junit/runner/Description;Lorg/junit/runner/notification/RunNotifier;)V+17
      j org.junit.runners.BlockJUnit4ClassRunner.runChild(Lorg/junit/runners/model/FrameworkMethod;Lorg/junit/runner/notification/RunNotifier;)V+32
      j org.junit.runners.BlockJUnit4ClassRunner.runChild(Ljava/lang/Object;Lorg/junit/runner/notification/RunNotifier;)V+6
      j org.junit.runners.ParentRunner$3.run()V+12
      j org.junit.runners.ParentRunner$1.schedule(Ljava/lang/Runnable;)V+1
      j org.junit.runners.ParentRunner.runChildren(Lorg/junit/runner/notification/RunNotifier;)V+40
      j org.junit.runners.ParentRunner.access$000(Lorg/junit/runners/ParentRunner;Lorg/junit/runner/notification/RunNotifier;)V+2
      j org.junit.runners.ParentRunner$2.evaluate()V+8
      j org.junit.runners.ParentRunner.run(Lorg/junit/runner/notification/RunNotifier;)V+20
      j org.junit.runner.JUnitCore.run(Lorg/junit/runner/Runner;)Lorg/junit/runner/Result;+37
      j com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs([Ljava/lang/String;Ljava/util/ArrayList;Ljava/lang/String;Z)I+178
      j com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart([Ljava/lang/String;ZLjava/util/ArrayList;Ljava/lang/String;Lcom/intellij/rt/execution/junit/segments/SegmentedOutputStream;Lcom/intellij/rt/execution/junit/segments/SegmentedOutputStream;)I+150
      j com.intellij.rt.execution.junit.JUnitStarter.main([Ljava/lang/String;)V+145
      v ~StubRoutines::call_stub
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j com.intellij.rt.execution.application.AppMain.main([Ljava/lang/String;)V+163
      v ~StubRoutines::call_stub
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j com.intellij.rt.execution.CommandLineWrapper.main([Ljava/lang/String;)V+629
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x05138800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=4224, stack(0x05530000,0x05580000)]
        0x0118a400 JavaThread "Service Thread" daemon [_thread_blocked, id=6104, stack(0x04f10000,0x04f60000)]
        0x01184c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=10008, stack(0x04e00000,0x04e50000)]
        0x01183800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5784, stack(0x04d70000,0x04dc0000)]
        0x01182800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13812, stack(0x04c10000,0x04c60000)]
        0x01112000 JavaThread "Finalizer" daemon [_thread_blocked, id=4472, stack(0x04ad0000,0x04b20000)]
        0x01110800 JavaThread "Reference Handler" daemon [_thread_blocked, id=14568, stack(0x04850000,0x048a0000)]
      =>0x0128e400 JavaThread "main" [_thread_in_vm, id=8392, stack(0x010a0000,0x010f0000)]

      Other Threads:
        0x0110f000 VMThread [stack: 0x04900000,0x04950000] [id=14996]
        0x01194400 WatcherThread [stack: 0x05000000,0x05050000] [id=16248]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 4928K, used 2685K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 49% used [0x24400000, 0x2461f658, 0x24850000)
        from space 512K, 100% used [0x248d0000, 0x24950000, 0x24950000)
        to space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
       tenured generation total 10944K, used 3398K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 31% used [0x29950000, 0x29ca1a38, 0x29ca1c00, 0x2a400000)
       compacting perm gen total 12288K, used 3116K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 25% used [0x34400000, 0x3470b3c8, 0x3470b400, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)

      Card table byte_map: [0x04730000,0x047e0000] byte_map_base: 0x0460e000

      Polling page: 0x00140000

      Code Cache [0x02730000, 0x02870000, 0x04730000)
       total_blobs=380 nmethods=230 adapters=87 free_code_cache=31625Kb largest_free_block=32265920

      Compilation events (10 events):
      Event: 0.689 Thread 0x01184c00 361 org.apache.xerces.util.SymbolTable::addSymbol (162 bytes)
      Event: 0.690 Thread 0x01184c00 nmethod 361 0x027d6688 code [0x027d67e0, 0x027d6b60]
      Event: 0.690 Thread 0x01184c00 362 org.apache.xerces.dom.DeferredDocumentImpl::setChunkIndex (49 bytes)
      Event: 0.691 Thread 0x01184c00 nmethod 362 0x027d6188 code [0x027d62a0, 0x027d640c]
      Event: 0.691 Thread 0x01184c00 363 org.apache.xerces.dom.DeferredDocumentImpl::getChunkIndex (16 bytes)
      Event: 0.691 Thread 0x01184c00 nmethod 363 0x027d5e88 code [0x027d5f90, 0x027d6070]
      Event: 0.694 Thread 0x01184c00 364 java.io.BufferedInputStream::getBufIfOpen (21 bytes)
      Event: 0.694 Thread 0x01184c00 nmethod 364 0x027d5c08 code [0x027d5d10, 0x027d5e0c]
      Event: 0.694 Thread 0x01184c00 365 s java.io.BufferedInputStream::read (49 bytes)
      Event: 0.694 Thread 0x01184c00 nmethod 365 0x027d53c8 code [0x027d54f0, 0x027d57d8]

      GC Heap History (10 events):
      Event: 0.195 GC heap before
      {Heap before GC invocations=0 (full 0):
       def new generation total 4928K, used 4416K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 100% used [0x24400000, 0x24850000, 0x24850000)
        from space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
        to space 512K, 0% used [0x248d0000, 0x248d0000, 0x24950000)
       tenured generation total 10944K, used 0K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 0% used [0x29950000, 0x29950000, 0x29950200, 0x2a400000)
       compacting perm gen total 12288K, used 674K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 5% used [0x34400000, 0x344a89d0, 0x344a8a00, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      Event: 0.201 GC heap after
      Heap after GC invocations=1 (full 0):
       def new generation total 4928K, used 512K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 0% used [0x24400000, 0x24400000, 0x24850000)
        from space 512K, 100% used [0x248d0000, 0x24950000, 0x24950000)
        to space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
       tenured generation total 10944K, used 442K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 4% used [0x29950000, 0x299be828, 0x299bea00, 0x2a400000)
       compacting perm gen total 12288K, used 674K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 5% used [0x34400000, 0x344a89d0, 0x344a8a00, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      }
      Event: 0.319 GC heap before
      {Heap before GC invocations=1 (full 0):
       def new generation total 4928K, used 4924K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 99% used [0x24400000, 0x2484f2d0, 0x24850000)
        from space 512K, 100% used [0x248d0000, 0x24950000, 0x24950000)
        to space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
       tenured generation total 10944K, used 442K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 4% used [0x29950000, 0x299be828, 0x299bea00, 0x2a400000)
       compacting perm gen total 12288K, used 1294K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 10% used [0x34400000, 0x34543910, 0x34543a00, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      Event: 0.325 GC heap after
      Heap after GC invocations=2 (full 0):
       def new generation total 4928K, used 511K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 0% used [0x24400000, 0x24400000, 0x24850000)
        from space 512K, 99% used [0x24850000, 0x248cfff8, 0x248d0000)
        to space 512K, 0% used [0x248d0000, 0x248d0000, 0x24950000)
       tenured generation total 10944K, used 1386K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 12% used [0x29950000, 0x29aaa838, 0x29aaaa00, 0x2a400000)
       compacting perm gen total 12288K, used 1294K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 10% used [0x34400000, 0x34543910, 0x34543a00, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      }
      Event: 0.434 GC heap before
      {Heap before GC invocations=2 (full 0):
       def new generation total 4928K, used 4927K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 100% used [0x24400000, 0x24850000, 0x24850000)
        from space 512K, 99% used [0x24850000, 0x248cfff8, 0x248d0000)
        to space 512K, 0% used [0x248d0000, 0x248d0000, 0x24950000)
       tenured generation total 10944K, used 1386K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 12% used [0x29950000, 0x29aaa838, 0x29aaaa00, 0x2a400000)
       compacting perm gen total 12288K, used 1638K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 13% used [0x34400000, 0x34599870, 0x34599a00, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      Event: 0.438 GC heap after
      Heap after GC invocations=3 (full 0):
       def new generation total 4928K, used 512K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 0% used [0x24400000, 0x24400000, 0x24850000)
        from space 512K, 100% used [0x248d0000, 0x24950000, 0x24950000)
        to space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
       tenured generation total 10944K, used 1664K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 15% used [0x29950000, 0x29af03a8, 0x29af0400, 0x2a400000)
       compacting perm gen total 12288K, used 1638K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 13% used [0x34400000, 0x34599870, 0x34599a00, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      }
      Event: 0.545 GC heap before
      {Heap before GC invocations=3 (full 0):
       def new generation total 4928K, used 4917K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 99% used [0x24400000, 0x2484d598, 0x24850000)
        from space 512K, 100% used [0x248d0000, 0x24950000, 0x24950000)
        to space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
       tenured generation total 10944K, used 1664K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 15% used [0x29950000, 0x29af03a8, 0x29af0400, 0x2a400000)
       compacting perm gen total 12288K, used 2213K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 18% used [0x34400000, 0x34629670, 0x34629800, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      Event: 0.550 GC heap after
      Heap after GC invocations=4 (full 0):
       def new generation total 4928K, used 512K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 0% used [0x24400000, 0x24400000, 0x24850000)
        from space 512K, 100% used [0x24850000, 0x248d0000, 0x248d0000)
        to space 512K, 0% used [0x248d0000, 0x248d0000, 0x24950000)
       tenured generation total 10944K, used 2219K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 20% used [0x29950000, 0x29b7ae80, 0x29b7b000, 0x2a400000)
       compacting perm gen total 12288K, used 2213K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 18% used [0x34400000, 0x34629670, 0x34629800, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      }
      Event: 0.617 GC heap before
      {Heap before GC invocations=4 (full 0):
       def new generation total 4928K, used 4928K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 100% used [0x24400000, 0x24850000, 0x24850000)
        from space 512K, 100% used [0x24850000, 0x248d0000, 0x248d0000)
        to space 512K, 0% used [0x248d0000, 0x248d0000, 0x24950000)
       tenured generation total 10944K, used 2219K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 20% used [0x29950000, 0x29b7ae80, 0x29b7b000, 0x2a400000)
       compacting perm gen total 12288K, used 2769K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 22% used [0x34400000, 0x346b4630, 0x346b4800, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      Event: 0.621 GC heap after
      Heap after GC invocations=5 (full 0):
       def new generation total 4928K, used 512K [0x24400000, 0x24950000, 0x29950000)
        eden space 4416K, 0% used [0x24400000, 0x24400000, 0x24850000)
        from space 512K, 100% used [0x248d0000, 0x24950000, 0x24950000)
        to space 512K, 0% used [0x24850000, 0x24850000, 0x248d0000)
       tenured generation total 10944K, used 3398K [0x29950000, 0x2a400000, 0x34400000)
         the space 10944K, 31% used [0x29950000, 0x29ca1a38, 0x29ca1c00, 0x2a400000)
       compacting perm gen total 12288K, used 2769K [0x34400000, 0x35000000, 0x38400000)
         the space 12288K, 22% used [0x34400000, 0x346b4630, 0x346b4800, 0x35000000)
          ro space 10240K, 44% used [0x38400000, 0x38877e30, 0x38878000, 0x38e00000)
          rw space 12288K, 52% used [0x38e00000, 0x3944eb58, 0x3944ec00, 0x39a00000)
      }

      Deoptimization events (0 events):
      No events

      Internal exceptions (10 events):
      Event: 0.450 Thread 0x0128e400 Threw 0x2444af00 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.451 Thread 0x0128e400 Threw 0x2444fcb8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.459 Thread 0x0128e400 Threw 0x24453570 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.460 Thread 0x0128e400 Threw 0x2445a3a8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.461 Thread 0x0128e400 Threw 0x24461978 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.462 Thread 0x0128e400 Threw 0x24466e58 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.462 Thread 0x0128e400 Threw 0x2446bd60 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.464 Thread 0x0128e400 Threw 0x2446ee98 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
      Event: 0.698 Thread 0x0128e400 Threw 0x24603378 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jni.cpp:717
      Event: 0.700 Thread 0x0128e400 Threw 0x246160d8 at C:\re\jdk7u51\527\hotspot\src\share\vm\oops\instanceKlass.cpp:548

      Events (10 events):
      Event: 0.692 loading class 0x39a28fc8
      Event: 0.692 loading class 0x39a28fc8 done
      Event: 0.698 loading class 0x05aeaea8
      Event: 0.698 loading class 0x05aeaea8 done
      Event: 0.699 loading class 0x39ae7818
      Event: 0.699 loading class 0x39ae7818 done
      Event: 0.699 loading class 0x39ae7f58
      Event: 0.699 loading class 0x39ae7f58 done
      Event: 0.699 loading class 0x063df220
      Event: 0.699 loading class 0x063df220 done


      Dynamic libraries:
      0x01300000 - 0x0132f000 C:\jdk1.7.0_51\bin\java.exe
      0x77ad0000 - 0x77c50000 C:\windows\SysWOW64\ntdll.dll
      0x76e70000 - 0x76f80000 C:\windows\syswow64\kernel32.dll
      0x76c10000 - 0x76c57000 C:\windows\syswow64\KERNELBASE.dll
      0x74f10000 - 0x74f7d000 C:\windows\SysWOW64\SYSFER.DLL
      0x77070000 - 0x77110000 C:\windows\syswow64\ADVAPI32.dll
      0x752e0000 - 0x7538c000 C:\windows\syswow64\msvcrt.dll
      0x75390000 - 0x753a9000 C:\windows\SysWOW64\sechost.dll
      0x751f0000 - 0x752e0000 C:\windows\syswow64\RPCRT4.dll
      0x75190000 - 0x751f0000 C:\windows\syswow64\SspiCli.dll
      0x75180000 - 0x7518c000 C:\windows\syswow64\CRYPTBASE.dll
      0x75600000 - 0x75700000 C:\windows\syswow64\USER32.dll
      0x76fe0000 - 0x77070000 C:\windows\syswow64\GDI32.dll
      0x76a40000 - 0x76a4a000 C:\windows\syswow64\LPK.dll
      0x758a0000 - 0x7593d000 C:\windows\syswow64\USP10.dll
      0x726b0000 - 0x7284e000 C:\windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
      0x76c60000 - 0x76cb7000 C:\windows\syswow64\SHLWAPI.dll
      0x76f80000 - 0x76fe0000 C:\windows\system32\IMM32.DLL
      0x766e0000 - 0x767ac000 C:\windows\syswow64\MSCTF.dll
      0x70f70000 - 0x7102f000 C:\jdk1.7.0_51\jre\bin\msvcr100.dll
      0x6e3b0000 - 0x6e730000 C:\jdk1.7.0_51\jre\bin\client\jvm.dll
      0x74500000 - 0x74507000 C:\windows\system32\WSOCK32.dll
      0x75740000 - 0x75775000 C:\windows\syswow64\WS2_32.dll
      0x765b0000 - 0x765b6000 C:\windows\syswow64\NSI.dll
      0x74350000 - 0x74382000 C:\windows\system32\WINMM.dll
      0x75700000 - 0x75705000 C:\windows\syswow64\PSAPI.DLL
      0x743b0000 - 0x743bc000 C:\jdk1.7.0_51\jre\bin\verify.dll
      0x71430000 - 0x71450000 C:\jdk1.7.0_51\jre\bin\java.dll
      0x713f0000 - 0x71403000 C:\jdk1.7.0_51\jre\bin\zip.dll
      0x10000000 - 0x10007000 C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0.2\bin\breakgen.dll
      0x71390000 - 0x713a4000 C:\jdk1.7.0_51\jre\bin\net.dll
      0x74310000 - 0x7434c000 C:\windows\system32\mswsock.dll
      0x74780000 - 0x74786000 C:\windows\System32\wship6.dll
      0x713e0000 - 0x713ea000 C:\jdk1.7.0_51\jre\bin\management.dll
      0x73990000 - 0x739a0000 C:\windows\system32\NLAapi.dll
      0x73770000 - 0x73780000 C:\windows\system32\napinsp.dll
      0x73740000 - 0x73752000 C:\windows\system32\pnrpnsp.dll
      0x73840000 - 0x73884000 C:\windows\system32\DNSAPI.dll
      0x73a70000 - 0x73a78000 C:\windows\System32\winrnr.dll
      0x73a60000 - 0x73a6d000 C:\windows\system32\wshbth.dll
      0x74790000 - 0x74795000 C:\windows\System32\wshtcpip.dll
      0x74900000 - 0x7491c000 C:\windows\system32\IPHLPAPI.DLL
      0x748f0000 - 0x748f7000 C:\windows\system32\WINNSI.DLL
      0x74770000 - 0x74776000 C:\windows\system32\rasadhlp.dll
      0x73800000 - 0x73838000 C:\windows\System32\fwpuclnt.dll
      0x743a0000 - 0x743a7000 C:\jdk1.7.0_51\jre\bin\attach.dll
      0x71150000 - 0x71170000 C:\jdk1.7.0_51\jre\bin\instrument.dll
      0x6c4d0000 - 0x6c613000 C:\jdk1.7.0_51\jre\bin\awt.dll
      0x753b0000 - 0x7543f000 C:\windows\syswow64\OLEAUT32.dll
      0x75440000 - 0x7559c000 C:\windows\syswow64\ole32.dll
      0x74220000 - 0x7430b000 C:\windows\system32\dbghelp.dll

      VM Arguments:
      jvm_args: -ea -Didea.launcher.port=7536 -Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0.2\bin -Dfile.encoding=UTF-8
      java_command: com.intellij.rt.execution.CommandLineWrapper C:\Users\mkenner\AppData\Local\Temp\classpath2.tmp com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 chs.utilities.EnvironmentTest,testMockit
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=C:/jdk1.8.0_40x32
      PATH=C:\Program Files (x86)\IBM\RationalSDLC\common;C:/jdk1.8.0_40x32/bin;C:/views/./mkenner_project_subset_3/chs_home/bin;C:/views/./mkenner_project_subset_3/chs_home/lib;C:/views/./mkenner_project_subset_3/chs_home/bld/bin;C:/views/./mkenner_project_subset_3/chs_home/bld/lib;C:\MentorGraphics\Capital\bin;C:\MentorGraphics\Capital\jre\bin;C:\MentorGraphics\Capital\jre\bin\client;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin;I:\buildtools\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\cygwin\bin\
      USERNAME=mkenner
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 2, GenuineIntel



      --------------- S Y S T E M ---------------

      OS: Windows 7 , 64 bit Build 7601 Service Pack 1

      CPU:total 32 (8 cores per cpu, 2 threads per core) family 6 model 63 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, erms, ht, tsc, tscinvbit

      Memory: 4k page, physical 67031152k(40382484k free), swap 134060448k(107915944k free)

      vm_info: Java HotSpot(TM) Client VM (24.51-b03) for windows-x86 JRE (1.7.0_51-b13), built on Dec 18 2013 19:09:58 by "java_re" with unknown MS VC++:1600

      time: Fri Apr 10 11:00:45 2015
      elapsed time: 0 seconds


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      @Test
      public void testMockit(@NonStrict final GraphicsEnvironment graphicsEnvironment,
      @NonStrict final GraphicsDevice graphicsDevice)
      {
      new Expectations()
      {
      {
      graphicsEnvironment.isHeadless();
      result = false;
      graphicsEnvironment.getScreenDevices();
      result = new GraphicsDevice[]{graphicsDevice};
      }
      };
      Rectangle rectEnviron = Environment.getDeskTopVirtualBounds();
      }
      ---------- END SOURCE ----------

        Attachments

          Activity

            People

            Assignee:
            pardesha Pardeep Sharma
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: