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

JDK 8 Update 151 - JavaFX - setOnAction - Crash in glass.dll when triggered

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      I have reproduced it with both 1.8.0_151 and 1.8.0_152 (both 32-bit). The problem does NOT occur on 1.8.0_131, 1.8.0_141, or 1.8.0_144.

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      The user of my program who reported the problem was running an AMD CPU with an ATI graphics card; I have reproduced it on an Intel/nVIDIA configuration. I do not believe it to be GPU-dependent.

      A DESCRIPTION OF THE PROBLEM :
      With Java 8 Update 151 (but not previous updates) on Windows XP, the setOnAction method in many JavaFX classes (ButtonBase and MenuItem to name a couple) crashes the JVM whenever it is triggered.

      In the simplest case (which I've included source for, and which is the default "JavaFX Application" in NetBeans), clicking on a button that is the only control on the scene will trigger this crash.

      The only workaround I have found other than downgrading to a previous Java update is to paste the glass.dll file from the jre\bin folder of an install of Java 8 update 131, 141, or 144 into the jre\bin folder of the install for update 151 or 152. However, this hack may break in the future, and is not something I really want to advise my program users to do.

      I realize that XP is not on the official list of supported configurations, but considering that JavaFX 8 has worked on XP for over 3 years, the ease of causing the crash, and that it was recently introduced, a fix would be appreciated.

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      REGRESSION. Last worked in version 8u144

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Add a Button to a JavaFX application (see source below). Add an action handler (setOnAction(new EventHandler<ActionEvent>(), override the handle(ActionEvent) method). Add a nominal task to the handle method, such as a print line.

      Run the program. Click on the button. The JVM crashes.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected: The program will continue running and clicking the button will print out a line.

      Actual: The program crashes.
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d96202e, pid=4924, tid=0x0000093c
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
      # Java VM: Java HotSpot(TM) Client VM (25.151-b12 mixed mode, sharing windows-x86 )
      # Problematic frame:
      # C [glass.dll+0x1202e]
      #
      # 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.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x0150f400): JavaThread "JavaFX Application Thread" [_thread_in_native, id=2364, stack(0x01b70000,0x01bc0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

      Registers:
      EAX=0x00000000, EBX=0x01510288, ECX=0x00000000, EDX=0x00000000
      ESP=0x01bbf688, EBP=0x01bbf6b8, ESI=0x0150f540, EDI=0x0012dddc
      EIP=0x6d96202e, EFLAGS=0x00010206

      Top of Stack: (sp=0x01bbf688)
      0x01bbf688: 50ff876d 0012dddc 000000dd 00000201
      0x01bbf698: 000000dd 0012dddc 0150f540 01510288
      0x01bbf6a8: 00000001 01bbf804 6d970938 00000000
      0x01bbf6b8: 00000001 6d96beb1 000000d4 0081009a
      0x01bbf6c8: 0012ddc8 00000000 00000000 00000000
      0x01bbf6d8: 00000000 00000001 000003c4 000001c6
      0x01bbf6e8: 00000020 0150f540 0000009a 00000081
      0x01bbf6f8: 00100730 00100730 00000201 000000d4

      Instructions: (pc=0x6d96202e)
      0x6d96200e: e8 83 c4 08 89 5d ec 8b 15 a4 05 98 6d 64 8b 0d
      0x6d96201e: 2c 00 00 00 a1 2c 03 98 6d c7 45 fc 00 00 00 00
      0x6d96202e: 8b 0c 91 89 4d f0 3b 81 04 00 00 00 7e 46 68 2c
      0x6d96203e: 03 98 6d e8 13 c7 00 00 83 c4 04 83 3d 2c 03 98


      Register to memory mapping:

      EAX=0x00000000 is an unknown value
      EBX=0x01510288 is an unknown value
      ECX=0x00000000 is an unknown value
      EDX=0x00000000 is an unknown value
      ESP=0x01bbf688 is pointing into the stack for thread: 0x0150f400
      EBP=0x01bbf6b8 is pointing into the stack for thread: 0x0150f400
      ESI=0x0150f540 is an unknown value
      EDI=0x0012dddc is an unknown value


      Stack: [0x01b70000,0x01bc0000], sp=0x01bbf688, free space=317k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [glass.dll+0x1202e]
      C [glass.dll+0x1beb1]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.sun.glass.ui.win.WinApplication._runLoop(Ljava/lang/Runnable;)V+0
      j com.sun.glass.ui.win.WinApplication.lambda$null$147(ILjava/lang/Runnable;)V+8
      j com.sun.glass.ui.win.WinApplication$$Lambda$37.run()V+12
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
        0x14632c00 JavaThread "Prism Font Disposer" daemon [_thread_blocked, id=5524, stack(0x01ed0000,0x01f20000)]
        0x01543c00 JavaThread "Thread-3" daemon [_thread_in_native, id=5508, stack(0x01c20000,0x01c70000)]
        0x01545c00 JavaThread "JavaFX-Launcher" [_thread_blocked, id=5512, stack(0x01c70000,0x01cc0000)]
      =>0x0150f400 JavaThread "JavaFX Application Thread" [_thread_in_native, id=2364, stack(0x01b70000,0x01bc0000)]
        0x01506000 JavaThread "Thread-1" daemon [_thread_blocked, id=5516, stack(0x01b20000,0x01b70000)]
        0x014e8400 JavaThread "QuantumRenderer-0" daemon [_thread_blocked, id=5520, stack(0x01a20000,0x01a70000)]
        0x00bcfc00 JavaThread "Service Thread" daemon [_thread_blocked, id=5900, stack(0x01350000,0x013a0000)]
        0x00ba8800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=1784, stack(0x01300000,0x01350000)]
        0x00ba6c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=6020, stack(0x012b0000,0x01300000)]
        0x00ba5c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5476, stack(0x01260000,0x012b0000)]
        0x00b9cc00 JavaThread "Finalizer" daemon [_thread_blocked, id=5920, stack(0x01210000,0x01260000)]
        0x00b40800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5928, stack(0x011c0000,0x01210000)]
        0x003d9c00 JavaThread "main" [_thread_blocked, id=1216, stack(0x00a20000,0x00a70000)]

      Other Threads:
        0x00b3dc00 VMThread [stack: 0x01170000,0x011c0000] [id=5924]
        0x00bdac00 WatcherThread [stack: 0x013a0000,0x013f0000] [id=2736]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap:
       def new generation total 4928K, used 726K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 13% used [0x04000000, 0x04097928, 0x04450000)
        from space 512K, 23% used [0x044d0000, 0x044ee180, 0x04550000)
        to space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
       tenured generation total 10944K, used 5530K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 50% used [0x09550000, 0x09ab6aa0, 0x09ab6c00, 0x0a000000)
       Metaspace used 4628K, capacity 6780K, committed 6912K, reserved 7552K

      Card table byte_map: [0x00c20000,0x00cb0000] byte_map_base: 0x00c00000

      Polling page: 0x00a70000

      CodeCache: size=32768Kb used=1178Kb max_used=1178Kb free=31589Kb
       bounds [0x02000000, 0x02128000, 0x04000000]
       total_blobs=725 nmethods=347 adapters=310
       compilation: enabled

      Compilation events (10 events):
      Event: 1.962 Thread 0x00ba8800 343 java.util.WeakHashMap::eq (19 bytes)
      Event: 1.963 Thread 0x00ba8800 nmethod 343 0x02125288 code [0x02125380, 0x0212542c]
      Event: 1.963 Thread 0x00ba8800 344 javafx.css.ParsedValue::getValue (5 bytes)
      Event: 1.963 Thread 0x00ba8800 nmethod 344 0x02125488 code [0x02125580, 0x02125600]
      Event: 1.963 Thread 0x00ba8800 345 com.sun.javafx.css.ParsedValueImpl::containsFontRelativeSize (237 bytes)
      Event: 1.963 Thread 0x00ba8800 nmethod 345 0x02125648 code [0x02125790, 0x02125af4]
      Event: 1.963 Thread 0x00ba8800 346 javafx.scene.CssStyleHelper::getStyle (162 bytes)
      Event: 1.964 Thread 0x00ba8800 nmethod 346 0x02125e08 code [0x02125f90, 0x02126260]
      Event: 2.017 Thread 0x00ba8800 349 javafx.scene.Node::getParent (22 bytes)
      Event: 2.017 Thread 0x00ba8800 nmethod 349 0x02126a88 code [0x02126b90, 0x02126c8c]

      GC Heap History (10 events):
      Event: 0.304 GC heap before
      {Heap before GC invocations=0 (full 0):
       def new generation total 4928K, used 4416K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 100% used [0x04000000, 0x04450000, 0x04450000)
        from space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
        to space 512K, 0% used [0x044d0000, 0x044d0000, 0x04550000)
       tenured generation total 10944K, used 0K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 0% used [0x09550000, 0x09550000, 0x09550200, 0x0a000000)
       Metaspace used 861K, capacity 3062K, committed 3136K, reserved 4480K
      Event: 0.306 GC heap after
      Heap after GC invocations=1 (full 0):
       def new generation total 4928K, used 512K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 0% used [0x04000000, 0x04000000, 0x04450000)
        from space 512K, 100% used [0x044d0000, 0x04550000, 0x04550000)
        to space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
       tenured generation total 10944K, used 203K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 1% used [0x09550000, 0x09582d00, 0x09582e00, 0x0a000000)
       Metaspace used 861K, capacity 3062K, committed 3136K, reserved 4480K
      }
      Event: 0.490 GC heap before
      {Heap before GC invocations=1 (full 0):
       def new generation total 4928K, used 4928K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 100% used [0x04000000, 0x04450000, 0x04450000)
        from space 512K, 100% used [0x044d0000, 0x04550000, 0x04550000)
        to space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
       tenured generation total 10944K, used 203K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 1% used [0x09550000, 0x09582d00, 0x09582e00, 0x0a000000)
       Metaspace used 2052K, capacity 4277K, committed 4288K, reserved 4480K
      Event: 0.493 GC heap after
      Heap after GC invocations=2 (full 0):
       def new generation total 4928K, used 225K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 0% used [0x04000000, 0x04000000, 0x04450000)
        from space 512K, 44% used [0x04450000, 0x044886c0, 0x044d0000)
        to space 512K, 0% used [0x044d0000, 0x044d0000, 0x04550000)
       tenured generation total 10944K, used 1156K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 10% used [0x09550000, 0x096710d0, 0x09671200, 0x0a000000)
       Metaspace used 2052K, capacity 4277K, committed 4288K, reserved 4480K
      }
      Event: 0.650 GC heap before
      {Heap before GC invocations=2 (full 0):
       def new generation total 4928K, used 4641K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 100% used [0x04000000, 0x04450000, 0x04450000)
        from space 512K, 44% used [0x04450000, 0x044886c0, 0x044d0000)
        to space 512K, 0% used [0x044d0000, 0x044d0000, 0x04550000)
       tenured generation total 10944K, used 1156K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 10% used [0x09550000, 0x096710d0, 0x09671200, 0x0a000000)
       Metaspace used 3001K, capacity 5193K, committed 5248K, reserved 5504K
      Event: 0.653 GC heap after
      Heap after GC invocations=3 (full 0):
       def new generation total 4928K, used 512K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 0% used [0x04000000, 0x04000000, 0x04450000)
        from space 512K, 100% used [0x044d0000, 0x04550000, 0x04550000)
        to space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
       tenured generation total 10944K, used 1645K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 15% used [0x09550000, 0x096eb648, 0x096eb800, 0x0a000000)
       Metaspace used 3001K, capacity 5193K, committed 5248K, reserved 5504K
      }
      Event: 0.873 GC heap before
      {Heap before GC invocations=3 (full 0):
       def new generation total 4928K, used 4928K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 100% used [0x04000000, 0x04450000, 0x04450000)
        from space 512K, 100% used [0x044d0000, 0x04550000, 0x04550000)
        to space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
       tenured generation total 10944K, used 1645K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 15% used [0x09550000, 0x096eb648, 0x096eb800, 0x0a000000)
       Metaspace used 4195K, capacity 6338K, committed 6400K, reserved 6528K
      Event: 0.877 GC heap after
      Heap after GC invocations=4 (full 0):
       def new generation total 4928K, used 347K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 0% used [0x04000000, 0x04000000, 0x04450000)
        from space 512K, 67% used [0x04450000, 0x044a6e18, 0x044d0000)
        to space 512K, 0% used [0x044d0000, 0x044d0000, 0x04550000)
       tenured generation total 10944K, used 2147K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 19% used [0x09550000, 0x09768c20, 0x09768e00, 0x0a000000)
       Metaspace used 4195K, capacity 6338K, committed 6400K, reserved 6528K
      }
      Event: 0.967 GC heap before
      {Heap before GC invocations=4 (full 0):
       def new generation total 4928K, used 4763K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 100% used [0x04000000, 0x04450000, 0x04450000)
        from space 512K, 67% used [0x04450000, 0x044a6e18, 0x044d0000)
        to space 512K, 0% used [0x044d0000, 0x044d0000, 0x04550000)
       tenured generation total 10944K, used 2147K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 19% used [0x09550000, 0x09768c20, 0x09768e00, 0x0a000000)
       Metaspace used 4524K, capacity 6679K, committed 6784K, reserved 7552K
      Event: 0.973 GC heap after
      Heap after GC invocations=5 (full 0):
       def new generation total 4928K, used 120K [0x04000000, 0x04550000, 0x09550000)
        eden space 4416K, 0% used [0x04000000, 0x04000000, 0x04450000)
        from space 512K, 23% used [0x044d0000, 0x044ee180, 0x04550000)
        to space 512K, 0% used [0x04450000, 0x04450000, 0x044d0000)
       tenured generation total 10944K, used 5530K [0x09550000, 0x0a000000, 0x14000000)
         the space 10944K, 50% used [0x09550000, 0x09ab6aa0, 0x09ab6c00, 0x0a000000)
       Metaspace used 4524K, capacity 6679K, committed 6784K, reserved 7552K
      }

      Deoptimization events (0 events):
      No events

      Internal exceptions (10 events):
      Event: 0.154 Thread 0x003d9c00 Exception <a 'java/security/PrivilegedActionException'> (0x042101d8) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.154 Thread 0x003d9c00 Exception <a 'java/security/PrivilegedActionException'> (0x04213c80) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.154 Thread 0x003d9c00 Exception <a 'java/security/PrivilegedActionException'> (0x04213e80) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.154 Thread 0x003d9c00 Exception <a 'java/lang/NullPointerException'> (0x042143e8) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1183]
      Event: 0.229 Thread 0x003d9c00 Exception <a 'java/lang/UnsatisfiedLinkError'> (0x042c8f60) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 3982]
      Event: 0.229 Thread 0x003d9c00 Exception <a 'java/lang/UnsatisfiedLinkError'> (0x042c8f60) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jni.cpp, line 709]
      Event: 0.232 Thread 0x003d9c00 Exception <a 'java/lang/UnsatisfiedLinkError'> (0x042d4e88) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 3982]
      Event: 0.232 Thread 0x003d9c00 Exception <a 'java/lang/UnsatisfiedLinkError'> (0x042d4e88) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jni.cpp, line 709]
      Event: 0.507 Thread 0x0150f400 Exception <a 'java/lang/NullPointerException'> (0x0406a580) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1183]
      Event: 0.507 Thread 0x0150f400 Exception <a 'java/lang/NullPointerException'> (0x0406a580) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1394]

      Events (10 events):
      Event: 2.341 loading class com/sun/glass/ui/win/WinDnDClipboard
      Event: 2.341 loading class com/sun/glass/ui/win/WinDnDClipboard done
      Event: 2.341 loading class com/sun/glass/ui/win/WinSystemClipboard
      Event: 2.341 loading class com/sun/glass/ui/win/WinSystemClipboard done
      Event: 2.342 loading class com/sun/glass/ui/SystemClipboard
      Event: 2.342 loading class com/sun/glass/ui/SystemClipboard done
      Event: 2.342 loading class com/sun/glass/ui/Clipboard
      Event: 2.342 loading class com/sun/glass/ui/Clipboard done
      Event: 2.343 loading class com/sun/glass/ui/win/WinClipboardDelegate
      Event: 2.343 loading class com/sun/glass/ui/win/WinClipboardDelegate done


      Dynamic libraries:
      0x00400000 - 0x00433000 C:\Program Files\Java\jdk1.8.0_151\bin\java.exe
      0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll
      0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
      0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
      0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll
      0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
      0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
      0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
      0x78aa0000 - 0x78b5f000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\msvcr100.dll
      0x6d240000 - 0x6d60e000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\client\jvm.dll
      0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
      0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
      0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
      0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
      0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
      0x711d0000 - 0x711dc000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\verify.dll
      0x6db10000 - 0x6db31000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\java.dll
      0x71260000 - 0x71274000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\zip.dll
      0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
      0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
      0x015f0000 - 0x015f3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-console-l1-1-0.dll
      0x01600000 - 0x01603000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-datetime-l1-1-0.dll
      0x01610000 - 0x01613000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-debug-l1-1-0.dll
      0x01620000 - 0x01623000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-errorhandling-l1-1-0.dll
      0x01630000 - 0x01634000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-file-l1-1-0.dll
      0x01640000 - 0x01643000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-file-l1-2-0.dll
      0x01650000 - 0x01653000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-file-l2-1-0.dll
      0x01660000 - 0x01663000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-handle-l1-1-0.dll
      0x01670000 - 0x01673000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-heap-l1-1-0.dll
      0x01680000 - 0x01683000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-interlocked-l1-1-0.dll
      0x01690000 - 0x01693000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-libraryloader-l1-1-0.dll
      0x016a0000 - 0x016a3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-localization-l1-2-0.dll
      0x016b0000 - 0x016b3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-memory-l1-1-0.dll
      0x016c0000 - 0x016c3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-namedpipe-l1-1-0.dll
      0x016d0000 - 0x016d3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-processenvironment-l1-1-0.dll
      0x016e0000 - 0x016e3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-processthreads-l1-1-0.dll
      0x016f0000 - 0x016f3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-processthreads-l1-1-1.dll
      0x01700000 - 0x01703000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-profile-l1-1-0.dll
      0x01710000 - 0x01713000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
      0x01720000 - 0x01723000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-string-l1-1-0.dll
      0x01730000 - 0x01733000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-synch-l1-1-0.dll
      0x01740000 - 0x01743000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-synch-l1-2-0.dll
      0x01750000 - 0x01753000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-sysinfo-l1-1-0.dll
      0x01760000 - 0x01763000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-timezone-l1-1-0.dll
      0x01770000 - 0x01773000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-util-l1-1-0.dll
      0x01780000 - 0x01783000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-conio-l1-1-0.dll
      0x01790000 - 0x01794000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-convert-l1-1-0.dll
      0x017a0000 - 0x017a3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-environment-l1-1-0.dll
      0x017b0000 - 0x017b3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-filesystem-l1-1-0.dll
      0x017c0000 - 0x017c3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-heap-l1-1-0.dll
      0x017d0000 - 0x017d3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-locale-l1-1-0.dll
      0x017e0000 - 0x017e5000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-math-l1-1-0.dll
      0x017f0000 - 0x017f5000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-multibyte-l1-1-0.dll
      0x01800000 - 0x01810000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-private-l1-1-0.dll
      0x01810000 - 0x01813000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-process-l1-1-0.dll
      0x01820000 - 0x01824000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-runtime-l1-1-0.dll
      0x01830000 - 0x01834000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-stdio-l1-1-0.dll
      0x01840000 - 0x01844000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-string-l1-1-0.dll
      0x01850000 - 0x01853000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-time-l1-1-0.dll
      0x01860000 - 0x01863000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-utility-l1-1-0.dll
      0x01870000 - 0x01988000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\ucrtbase.dll
      0x01990000 - 0x019a4000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\vcruntime140.dll
      0x019b0000 - 0x01a1c000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\msvcp140.dll
      0x709f0000 - 0x70a0e000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\prism_d3d.dll
      0x4fdd0000 - 0x4ff76000 C:\WINDOWS\system32\d3d9.dll
      0x6d990000 - 0x6d996000 C:\WINDOWS\system32\d3d8thk.dll
      0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
      0x01ae0000 - 0x01b1b000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\concrt140.dll
      0x6d950000 - 0x6d988000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\glass.dll
      0x763b0000 - 0x763f9000 C:\WINDOWS\system32\COMDLG32.dll
      0x774e0000 - 0x7761e000 C:\WINDOWS\system32\ole32.dll
      0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
      0x6b680000 - 0x6b68d000 C:\Program Files\WinSplit Revolution\WinSplitHook32.dll
      0x74720000 - 0x7476c000 C:\WINDOWS\system32\MSCTF.dll
      0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
      0x6dba0000 - 0x6dbb0000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\javafx_font.dll
      0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
      0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
      0x6dbb0000 - 0x6dc20000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\javafx_font_t2k.dll
      0x709e0000 - 0x709ef000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\prism_common.dll
      0x59a60000 - 0x59b01000 C:\WINDOWS\system32\dbghelp.dll

      VM Arguments:
      jvm_args: -Dfile.encoding=UTF-8
      java_command: M:\Shared Storage\My Documents\NetBeansProjects\151Check\dist\run1736427074\151Check.jar
      java_class_path (initial): M:\Shared Storage\My Documents\NetBeansProjects\151Check\dist\run1736427074\151Check.jar
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151
      PATH=C:\Documents and Settings\All Users\Application Data\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Mercurial;C:\Program Files\apache-maven-3.5.0\bin;C:\Program Files\TortoiseHg\
      USERNAME=Andrew
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel



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

      OS: Windows 5.1 Build 2600 (5.1.2600.6532)

      CPU:total 2 (initial active 2) (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, tsc

      Memory: 4k page, physical 3667936k(1823244k free), swap 5589380k(3786256k free)

      vm_info: Java HotSpot(TM) Client VM (25.151-b12) for windows-x86 JRE (1.8.0_151-b12), built on Sep 5 2017 19:31:49 by "java_re" with MS VC++ 10.0 (VS2010)

      time: Tue Nov 21 17:16:19 2017
      elapsed time: 2 seconds (0d 0h 0m 2s)



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------

      import javafx.application.Application;
      import javafx.event.ActionEvent;
      import javafx.event.EventHandler;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.layout.StackPane;
      import javafx.stage.Stage;

      public class Main extends Application {
          
          @Override
          public void start(Stage primaryStage) {
              Button btn = new Button();
              btn.setText("Say 'Hello World'");
              btn.setOnAction(new EventHandler<ActionEvent>() {
                  
                  @Override
                  public void handle(ActionEvent event) {
                      System.out.println("Hello World!");
                  }
              });
              
              StackPane root = new StackPane();
              root.getChildren().add(btn);
              
              Scene scene = new Scene(root, 300, 250);
              
              primaryStage.setTitle("Hello World!");
              primaryStage.setScene(scene);
              primaryStage.show();
          }
          
          public static void main(String[] args) {
              launch(args);
          }
          
      }

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      The only workarounds I've found are downgrading to a previous Java update (such as 144), or replacing the glass.dll file in update 151/152 with the glass.dll from updates 131, 141, or 144 (I have not tried previous glass.dll versions).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: