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

while executing a .java file using cmd

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      A DESCRIPTION OF THE PROBLEM :
      I am unable to execute file using cmd using javac command. i am using "javac filename.java" to run the program.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x00007ffef8e51d9a, pid=7104, tid=7588
      #
      # JRE version: (10.0.1+10) (build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0.1+10, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
      # Problematic frame:
      # C [jimage.dll+0x1d9a]
      #
      # No core dump will be written. Minidumps are not enabled by default on client versions of Windows
      #
      # 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: -Dapplication.home=C:\Program Files\Java\jdk-10.0.1 --add-modules=ALL-DEFAULT -Xms8m -Djdk.module.main=jdk.compiler jdk.compiler/com.sun.tools.javac.Main 1.java

      Host: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 4 cores, 3G, Windows 10 , 64 bit Build 16299 (10.0.16299.431)
      Time: Thu Jun 28 01:09:24 2018 India Standard Time elapsed time: 1 seconds (0d 0h 0m 1s)

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

      Current thread (0x000001f762af3000): JavaThread "Unknown thread" [_thread_in_vm, id=7588, stack(0x000000b033200000,0x000000b033300000)]

      Stack: [0x000000b033200000,0x000000b033300000], sp=0x000000b0332fcb00, free space=1010k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [jimage.dll+0x1d9a]


      siginfo: EXCEPTION_IN_PAGE_ERROR (0xc0000006), reading address 0x000001f764456120


      Registers:
      RAX=0x000001f764432008, RBX=0x000000000000000b, RCX=0x0000000000009046, RDX=0x00000000ffff6fb9
      RSP=0x000000b0332fcb00, RBP=0x000000b0332fcbc0, RSI=0x000001f762aff930, RDI=0x000001f762aff930
      R8 =0x00007ffef8e56000, R9 =0x000001f76440001c, R10=0x000001f762af5a00, R11=0x00007ffef8e56000
      R12=0x000001f762af5ab0, R13=0x000001f762afdaa0, R14=0x000000b0332fdc38, R15=0x000001f762af5a80
      RIP=0x00007ffef8e51d9a, EFLAGS=0x0000000000010217

      Top of Stack: (sp=0x000000b0332fcb00)
      0x000000b0332fcb00: 000000000000000b 000001f762aff930
      0x000000b0332fcb10: 0000000000000000 0000000000000000
      0x000000b0332fcb20: 0000000000000000 0000000000000000
      0x000000b0332fcb30: 0000000000000000 0000000000000000
      0x000000b0332fcb40: 0000000000000000 0000000000000000
      0x000000b0332fcb50: 0000000000000000 0000000000000000
      0x000000b0332fcb60: 000013481c72808d 0000000000000000
      0x000000b0332fcb70: 0000000065fefb68 0000000000000028
      0x000000b0332fcb80: 000001f762aff930 000000b0332fdc38
      0x000000b0332fcb90: 000000000000000b 00007ffef8e52751
      0x000000b0332fcba0: 0000000000000000 0000000000000000
      0x000000b0332fcbb0: 0000000000000000 0000000000000000
      0x000000b0332fcbc0: 61622e6176616a2f 2f6176616a2f6573
      0x000000b0332fcbd0: 6665722f676e616c 6e6e412f7463656c
      0x000000b0332fcbe0: 6c4564657461746f 6c632e746e656d65
      0x000000b0332fcbf0: 0000000000737361 0000000000000000

      Instructions: (pc=0x00007ffef8e51d9a)
      0x00007ffef8e51d7a: 47 50 48 8b 4f 10 44 8b c8 48 8b d5 e8 09 fe ff
      0x00007ffef8e51d8a: ff 83 f8 ff 74 64 4c 8b 47 10 8b c8 48 8b 47 58
      0x00007ffef8e51d9a: 8b 14 88 4d 8b 08 49 8b c8 41 ff 51 20 8b f0 85
      0x00007ffef8e51daa: c0 74 08 8b de 48 03 5f 60 eb 02 33 db 33 d2 48



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

      Threads class SMR info:
      _java_thread_list=0x000001f7629f94d0, length=0, elements={
      }

      Java Threads: ( => current thread )

      Other Threads:
        0x000001f762b09800 GCTaskThread "GC Thread#0" [stack: 0x000000b033300000,0x000000b033400000] [id=872]
        0x000001f762b0c000 GCTaskThread "GC Thread#1" [stack: 0x000000b033400000,0x000000b033500000] [id=8464]
        0x000001f762b0d800 GCTaskThread "GC Thread#2" [stack: 0x000000b033500000,0x000000b033600000] [id=8760]
        0x000001f762b12000 GCTaskThread "GC Thread#3" [stack: 0x000000b033600000,0x000000b033700000] [id=6092]
        0x000001f762b57000 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000b033700000,0x000000b033800000] [id=1060]
        0x000001f762b59800 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000b033800000,0x000000b033900000] [id=8348]
        0x000001f762b62800 ConcurrentGCThread "G1 Refine#0" [stack: 0x000000b033900000,0x000000b033a00000] [id=2712]
        0x000001f762b63800 ConcurrentGCThread "G1 Refine#1" [stack: 0x000000b033a00000,0x000000b033b00000] [id=1620]
        0x000001f762b64800 ConcurrentGCThread "G1 Refine#2" [stack: 0x000000b033b00000,0x000000b033c00000] [id=7148]
        0x000001f762b6d800 ConcurrentGCThread "G1 Refine#3" [stack: 0x000000b033c00000,0x000000b033d00000] [id=1688]
        0x000001f762b70800 ConcurrentGCThread "G1 Young RemSet Sampling" [stack: 0x000000b033d00000,0x000000b033e00000] [id=8400]

      =>0x000001f762af3000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=7588, stack(0x000000b033200000,0x000000b033300000)]

      Threads with active compile tasks:

      VM state:not at safepoint (not fully initialized)

      VM Mutex/Monitor currently owned by a thread: None

      Heap address: 0x00000000c1c00000, size: 996 MB, Compressed Oops mode: 32-bit
      Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
      Compressed class space size: 1073741824 Address: 0x0000000100000000

      GC Heap History (0 events):
      No events

      Deoptimization events (0 events):
      No events

      Classes redefined (0 events):
      No events

      Internal exceptions (0 events):
      No events

      Events (10 events):
      Event: 0.013 loading class java/io/Serializable
      Event: 0.013 loading class java/io/Serializable done
      Event: 0.013 loading class java/lang/Comparable
      Event: 0.013 loading class java/lang/Comparable done
      Event: 0.013 loading class java/lang/CharSequence
      Event: 0.013 loading class java/lang/CharSequence done
      Event: 0.013 loading class java/lang/String done
      Event: 0.013 loading class java/lang/Class
      Event: 0.014 loading class java/lang/reflect/GenericDeclaration
      Event: 0.014 loading class java/lang/reflect/AnnotatedElement


      Dynamic libraries:
      0x00007ff6f3850000 - 0x00007ff6f3857000 C:\Program Files\Java\jdk-10.0.1\bin\javac.exe
      0x00007fff03230000 - 0x00007fff03410000 C:\Windows\SYSTEM32\ntdll.dll
      0x00007fff02980000 - 0x00007fff02a2e000 C:\Windows\System32\KERNEL32.DLL
      0x00007fff00490000 - 0x00007fff006f6000 C:\Windows\System32\KERNELBASE.dll
      0x00007ffee78d0000 - 0x00007ffee7905000 C:\Program Files\Java\jdk-10.0.1\bin\jli.dll
      0x00007fff01dd0000 - 0x00007fff01e71000 C:\Windows\System32\ADVAPI32.dll
      0x00007ffedcc90000 - 0x00007ffedcd7f000 C:\Program Files\Java\jdk-10.0.1\bin\MSVCR120.dll
      0x00007fff01cb0000 - 0x00007fff01d4d000 C:\Windows\System32\msvcrt.dll
      0x00007fff02af0000 - 0x00007fff02b4b000 C:\Windows\System32\sechost.dll
      0x00007fff02b50000 - 0x00007fff02c6f000 C:\Windows\System32\RPCRT4.dll
      0x00007fff01fd0000 - 0x00007fff0215f000 C:\Windows\System32\USER32.dll
      0x00007ffef7440000 - 0x00007ffef76a9000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.431_none_15c7d3ee93659e73\COMCTL32.dll
      0x00007fff001f0000 - 0x00007fff00210000 C:\Windows\System32\win32u.dll
      0x00007fff01fa0000 - 0x00007fff01fc8000 C:\Windows\System32\GDI32.dll
      0x00007fff02ef0000 - 0x00007fff031f8000 C:\Windows\System32\combase.dll
      0x00007fff00050000 - 0x00007fff001e3000 C:\Windows\System32\gdi32full.dll
      0x00007fff00210000 - 0x00007fff00306000 C:\Windows\System32\ucrtbase.dll
      0x00007ffefffb0000 - 0x00007fff0004b000 C:\Windows\System32\msvcp_win.dll
      0x00007fff00410000 - 0x00007fff00482000 C:\Windows\System32\bcryptPrimitives.dll
      0x00007ffef8e10000 - 0x00007ffef8e1a000 C:\Windows\SYSTEM32\VERSION.dll
      0x00007fff02340000 - 0x00007fff0236d000 C:\Windows\System32\IMM32.DLL
      0x00007ffed7530000 - 0x00007ffed75d6000 C:\Program Files\Java\jdk-10.0.1\bin\msvcp120.dll
      0x0000000065870000 - 0x00000000662e0000 C:\Program Files\Java\jdk-10.0.1\bin\server\jvm.dll
      0x00007fff023d0000 - 0x00007fff023d8000 C:\Windows\System32\PSAPI.DLL
      0x00007ffefca30000 - 0x00007ffefca53000 C:\Windows\SYSTEM32\WINMM.dll
      0x00007ffeedca0000 - 0x00007ffeedca9000 C:\Windows\SYSTEM32\WSOCK32.dll
      0x00007fff02160000 - 0x00007fff021cc000 C:\Windows\System32\WS2_32.dll
      0x00007ffefc890000 - 0x00007ffefc8ba000 C:\Windows\SYSTEM32\winmmbase.dll
      0x00007fff003c0000 - 0x00007fff0040a000 C:\Windows\System32\cfgmgr32.dll
      0x00007ffef8ec0000 - 0x00007ffef8ecf000 C:\Program Files\Java\jdk-10.0.1\bin\verify.dll
      0x00007ffefefe0000 - 0x00007ffeff1a8000 C:\Windows\SYSTEM32\DBGHELP.DLL
      0x00007ffefee20000 - 0x00007ffefee49000 C:\Windows\SYSTEM32\dbgcore.DLL
      0x00007ffeeca40000 - 0x00007ffeeca67000 C:\Program Files\Java\jdk-10.0.1\bin\java.dll
      0x00007ffeee890000 - 0x00007ffeee8a6000 C:\Program Files\Java\jdk-10.0.1\bin\zip.dll
      0x00007ffef8e50000 - 0x00007ffef8e5a000 C:\Program Files\Java\jdk-10.0.1\bin\jimage.dll

      dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
      symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\Java\jdk-10.0.1\bin;C:\Windows\SYSTEM32;C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.431_none_15c7d3ee93659e73;C:\Program Files\Java\jdk-10.0.1\bin\server

      VM Arguments:
      jvm_args: -Dapplication.home=C:\Program Files\Java\jdk-10.0.1 --add-modules=ALL-DEFAULT -Xms8m -Djdk.module.main=jdk.compiler
      java_command: jdk.compiler/com.sun.tools.javac.Main 1.java
      java_class_path (initial): <not set>
      Launcher Type: SUN_STANDARD

      Logging:
      Log output configuration:
      #0: stdout all=warning uptime,level,tags
      #1: stderr all=off uptime,level,tags

      Environment Variables:
      JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_172
      PATH=C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\TDM-GCC-64\bin;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\nodejs\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\Shubh\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\Shubh\AppData\Local\Programs\Python\Python36\;C:\Users\Shubh\AppData\Local\Microsoft\WindowsApps;C:\Users\Shubh\AppData\Roaming\npm;C:\Program Files\Microsoft VS Code\bin
      USERNAME=Shubh
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 9, GenuineIntel



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

      OS: Windows 10 , 64 bit Build 16299 (10.0.16299.431)

      CPU:total 4 (initial active 4) (2 cores per cpu, 2 threads per core) family 6 model 142 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx, fma

      Memory: 4k page, physical 4071980k(703000k free), swap 5498412k(1365756k free)

      vm_info: Java HotSpot(TM) 64-Bit Server VM (10.0.1+10) for windows-amd64 JRE (10.0.1+10), built on Mar 27 2018 02:27:48 by "mach5one" with MS VC++ 12.0 (VS2013)

      END.


      REGRESSION : Last worked in version 10.0.1


      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              fmatte Fairoz Matte
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: