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

Open FileChooser with Right-Click on context MenuItem cause JVM crash : EXCEPTION_ACCESS_VIOLATION

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) Client VM (build 25.112-b15, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [version 10.0.14393]
      [version 6.3.9600]

      A DESCRIPTION OF THE PROBLEM :
      The JVM Crash ( EXCEPTION_ACCESS_VIOLATION ) after closing a FileChooser.
      The FileChooser must be opened by RIGHT-CLICKING on a contextmenuItem.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The app must be closed if doesn't crash.

      - Run the attached app (RightClickMenuItemAndFileChooser.java)
      - Right click on the label "Right Click on me".
      - RIGHT-CLICK on the menuitem "RIGHT-CLICK On Me".
      - Left-click on the Cancel Button.
      - CLOSE and Relaunch the APP.
      - Restart the above step (~10 times)



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      no crash
      ACTUAL -
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x64b3a084, pid=10280, tid=0x00000ebc
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
      # Java VM: Java HotSpot(TM) Client VM (25.112-b15 mixed mode windows-x86 )
      # Problematic frame:
      # C [glass.dll+0x1a084]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # An error report file with more information is saved as:
      # C:\Users\cfischer\Documents\NetBeansProjects\tmp\hs_err_pid10280.log
      #
      # 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.
      #

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x64b3a084, pid=10280, tid=0x00000ebc
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
      # Java VM: Java HotSpot(TM) Client VM (25.112-b15 mixed mode windows-x86 )
      # Problematic frame:
      # C [glass.dll+0x1a084]
      #
      # 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 (0x156bc000): JavaThread "JavaFX Application Thread" [_thread_in_native, id=3772, stack(0x15e80000,0x15ed0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x004e004d

      Registers:
      EAX=0x156bc140, EBX=0x00000200, ECX=0x004e0049, EDX=0x60d4b4a4
      ESP=0x15ecf08c, EBP=0x00000000, ESI=0x156bc140, EDI=0x1a280d0c
      EIP=0x64b3a084, EFLAGS=0x00210202

      Top of Stack: (sp=0x15ecf08c)
      0x15ecf08c: 00000205 1a280cf8 00dc00da 000006dc
      0x15ecf09c: 00000350 000006dc 00000350 00000000
      0x15ecf0ac: 00000205 15ecf138 77d71ec1 587145ae
      0x15ecf0bc: 64b367cc 00dc00da 0000007b 00dc00da
      0x15ecf0cc: 035006dc 0062074c 1a280cf8 00130015
      0x15ecf0dc: 00000205 00000205 00130015 00000000
      0x15ecf0ec: 00000000 7680da19 0062074c 0000c09a
      0x15ecf0fc: 00000000 587145d6 64b216ef 00000205

      Instructions: (pc=0x64b3a084)
      0x64b3a064: 00 00 00 2b 44 24 1c 0f 48 c1 2b 44 24 0c 89 44
      0x64b3a074: 24 0c e8 95 f1 ff ff 8b 4f 04 8b f0 85 c9 74 05
      0x64b3a084: 8b 49 04 eb 02 33 c9 0f b6 c3 50 ff 74 24 1c ff
      0x64b3a094: 74 24 1c ff 74 24 1c ff 74 24 1c ff 35 6c bd b4


      Register to memory mapping:

      EAX=0x156bc140 is an unknown value
      EBX=0x00000200 is an unknown value
      ECX=0x004e0049 is an unknown value
      EDX=0x60d4b4a4 is an unknown value
      ESP=0x15ecf08c is pointing into the stack for thread: 0x156bc000
      EBP=0x00000000 is an unknown value
      ESI=0x156bc140 is an unknown value
      EDI=0x1a280d0c is an unknown value


      Stack: [0x15e80000,0x15ed0000], sp=0x15ecf08c, free space=316k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [glass.dll+0x1a084]

      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$148(ILjava/lang/Runnable;)V+8
      j com.sun.glass.ui.win.WinApplication$$Lambda$38.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 )
        0x1a460c00 JavaThread "Prism Font Disposer" daemon [_thread_blocked, id=8528, stack(0x1b290000,0x1b2e0000)]
        0x1a356800 JavaThread "Thread-3" daemon [_thread_in_native, id=8260, stack(0x1a770000,0x1a7c0000)]
        0x156c2400 JavaThread "JavaFX-Launcher" [_thread_blocked, id=7292, stack(0x1a800000,0x1a850000)]
      =>0x156bc000 JavaThread "JavaFX Application Thread" [_thread_in_native, id=3772, stack(0x15e80000,0x15ed0000)]
        0x1569c000 JavaThread "Thread-1" daemon [_thread_blocked, id=4224, stack(0x15df0000,0x15e40000)]
        0x15694800 JavaThread "QuantumRenderer-0" daemon [_thread_blocked, id=8664, stack(0x15c40000,0x15c90000)]
        0x15526800 JavaThread "Service Thread" daemon [_thread_blocked, id=1844, stack(0x15b20000,0x15b70000)]
        0x1551e400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5008, stack(0x15a90000,0x15ae0000)]
        0x1551d000 JavaThread "Attach Listener" daemon [_thread_blocked, id=10548, stack(0x15a00000,0x15a50000)]
        0x1551b400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1288, stack(0x15970000,0x159c0000)]
        0x15509400 JavaThread "Finalizer" daemon [_thread_blocked, id=6176, stack(0x157c0000,0x15810000)]
        0x154f3800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2740, stack(0x15730000,0x15780000)]
        0x0162c000 JavaThread "main" [_thread_blocked, id=4020, stack(0x015d0000,0x01620000)]

      Other Threads:
        0x02e8cc00 VMThread [stack: 0x154a0000,0x154f0000] [id=7140]
        0x1552a800 WatcherThread [stack: 0x15bb0000,0x15c00000] [id=4424]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap:
       def new generation total 4928K, used 748K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 7% used [0x05000000, 0x0504da58, 0x05450000)
        from space 512K, 85% used [0x054d0000, 0x0553d8a8, 0x05550000)
        to space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
       tenured generation total 10944K, used 2371K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 21% used [0x0a550000, 0x0a7a0fa0, 0x0a7a1000, 0x0b000000)
       Metaspace used 7967K, capacity 8442K, committed 8448K, reserved 8576K

      Card table byte_map: [0x04f10000,0x04fa0000] byte_map_base: 0x04ee8000

      Polling page: 0x01630000

      CodeCache: size=32768Kb used=1248Kb max_used=1258Kb free=31519Kb
       bounds [0x02e90000, 0x02fd0000, 0x04e90000]
       total_blobs=793 nmethods=397 adapters=327
       compilation: enabled

      Compilation events (10 events):
      Event: 1.337 Thread 0x1551e400 393 jdk.internal.org.objectweb.asm.ClassWriter::put122 (15 bytes)
      Event: 1.338 Thread 0x1551e400 nmethod 393 0x02fc9e48 code [0x02fc9f50, 0x02fca018]
      Event: 1.342 Thread 0x1551e400 394 sun.misc.VM::addFinalRefCount (24 bytes)
      Event: 1.342 Thread 0x1551e400 nmethod 394 0x02fca388 code [0x02fca480, 0x02fca520]
      Event: 1.454 Thread 0x1551e400 395 com.sun.javafx.css.StyleMap::isEmpty (36 bytes)
      Event: 1.454 Thread 0x1551e400 nmethod 395 0x02fca588 code [0x02fca6a0, 0x02fca788]
      Event: 1.454 Thread 0x1551e400 396 javafx.scene.CssStyleHelper::getStyle (162 bytes)
      Event: 1.454 Thread 0x1551e400 nmethod 396 0x02f6bb08 code [0x02f6bc90, 0x02f6bf60]
      Event: 1.763 Thread 0x1551e400 398 java.lang.invoke.MemberName::getReferenceKind (12 bytes)
      Event: 1.763 Thread 0x1551e400 nmethod 398 0x02f683c8 code [0x02f684c0, 0x02f68550]

      GC Heap History (10 events):
      Event: 0.151 GC heap before
      {Heap before GC invocations=0 (full 0):
       def new generation total 4928K, used 4416K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 100% used [0x05000000, 0x05450000, 0x05450000)
        from space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
        to space 512K, 0% used [0x054d0000, 0x054d0000, 0x05550000)
       tenured generation total 10944K, used 0K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 0% used [0x0a550000, 0x0a550000, 0x0a550200, 0x0b000000)
       Metaspace used 3208K, capacity 3439K, committed 3520K, reserved 4480K
      Event: 0.154 GC heap after
      Heap after GC invocations=1 (full 0):
       def new generation total 4928K, used 512K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 0% used [0x05000000, 0x05000000, 0x05450000)
        from space 512K, 100% used [0x054d0000, 0x05550000, 0x05550000)
        to space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
       tenured generation total 10944K, used 146K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 1% used [0x0a550000, 0x0a574b78, 0x0a574c00, 0x0b000000)
       Metaspace used 3208K, capacity 3439K, committed 3520K, reserved 4480K
      }
      Event: 0.226 GC heap before
      {Heap before GC invocations=1 (full 0):
       def new generation total 4928K, used 4928K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 100% used [0x05000000, 0x05450000, 0x05450000)
        from space 512K, 100% used [0x054d0000, 0x05550000, 0x05550000)
        to space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
       tenured generation total 10944K, used 146K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 1% used [0x0a550000, 0x0a574b78, 0x0a574c00, 0x0b000000)
       Metaspace used 4303K, capacity 4560K, committed 4608K, reserved 5504K
      Event: 0.229 GC heap after
      Heap after GC invocations=2 (full 0):
       def new generation total 4928K, used 243K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 0% used [0x05000000, 0x05000000, 0x05450000)
        from space 512K, 47% used [0x05450000, 0x0548cc48, 0x054d0000)
        to space 512K, 0% used [0x054d0000, 0x054d0000, 0x05550000)
       tenured generation total 10944K, used 1093K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 9% used [0x0a550000, 0x0a6616a0, 0x0a661800, 0x0b000000)
       Metaspace used 4303K, capacity 4560K, committed 4608K, reserved 5504K
      }
      Event: 0.308 GC heap before
      {Heap before GC invocations=2 (full 0):
       def new generation total 4928K, used 4659K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 100% used [0x05000000, 0x05450000, 0x05450000)
        from space 512K, 47% used [0x05450000, 0x0548cc48, 0x054d0000)
        to space 512K, 0% used [0x054d0000, 0x054d0000, 0x05550000)
       tenured generation total 10944K, used 1093K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 9% used [0x0a550000, 0x0a6616a0, 0x0a661800, 0x0b000000)
       Metaspace used 5449K, capacity 5752K, committed 5888K, reserved 6528K
      Event: 0.310 GC heap after
      Heap after GC invocations=3 (full 0):
       def new generation total 4928K, used 512K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 0% used [0x05000000, 0x05000000, 0x05450000)
        from space 512K, 100% used [0x054d0000, 0x05550000, 0x05550000)
        to space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
       tenured generation total 10944K, used 1627K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 14% used [0x0a550000, 0x0a6e6cf8, 0x0a6e6e00, 0x0b000000)
       Metaspace used 5449K, capacity 5752K, committed 5888K, reserved 6528K
      }
      Event: 0.424 GC heap before
      {Heap before GC invocations=3 (full 0):
       def new generation total 4928K, used 4928K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 100% used [0x05000000, 0x05450000, 0x05450000)
        from space 512K, 100% used [0x054d0000, 0x05550000, 0x05550000)
        to space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
       tenured generation total 10944K, used 1627K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 14% used [0x0a550000, 0x0a6e6cf8, 0x0a6e6e00, 0x0b000000)
       Metaspace used 6740K, capacity 7073K, committed 7168K, reserved 7552K
      Event: 0.427 GC heap after
      Heap after GC invocations=4 (full 0):
       def new generation total 4928K, used 274K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 0% used [0x05000000, 0x05000000, 0x05450000)
        from space 512K, 53% used [0x05450000, 0x05494b68, 0x054d0000)
        to space 512K, 0% used [0x054d0000, 0x054d0000, 0x05550000)
       tenured generation total 10944K, used 2131K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 19% used [0x0a550000, 0x0a764fc8, 0x0a765000, 0x0b000000)
       Metaspace used 6740K, capacity 7073K, committed 7168K, reserved 7552K
      }
      Event: 1.339 GC heap before
      {Heap before GC invocations=4 (full 0):
       def new generation total 4928K, used 4690K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 100% used [0x05000000, 0x05450000, 0x05450000)
        from space 512K, 53% used [0x05450000, 0x05494b68, 0x054d0000)
        to space 512K, 0% used [0x054d0000, 0x054d0000, 0x05550000)
       tenured generation total 10944K, used 2131K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 19% used [0x0a550000, 0x0a764fc8, 0x0a765000, 0x0b000000)
       Metaspace used 7922K, capacity 8397K, committed 8448K, reserved 8576K
      Event: 1.342 GC heap after
      Heap after GC invocations=5 (full 0):
       def new generation total 4928K, used 438K [0x05000000, 0x05550000, 0x0a550000)
        eden space 4416K, 0% used [0x05000000, 0x05000000, 0x05450000)
        from space 512K, 85% used [0x054d0000, 0x0553d8a8, 0x05550000)
        to space 512K, 0% used [0x05450000, 0x05450000, 0x054d0000)
       tenured generation total 10944K, used 2371K [0x0a550000, 0x0b000000, 0x15000000)
         the space 10944K, 21% used [0x0a550000, 0x0a7a0fa0, 0x0a7a1000, 0x0b000000)
       Metaspace used 7922K, capacity 8397K, committed 8448K, reserved 8576K
      }

      Deoptimization events (0 events):
      No events

      Internal exceptions (10 events):
      Event: 0.023 Thread 0x0162c000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x05007138) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\jni.cpp,
      Event: 0.087 Thread 0x0162c000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0516e180) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
      Event: 0.088 Thread 0x0162c000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0517a398) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
      Event: 0.100 Thread 0x0162c000 Exception <a 'java/security/PrivilegedActionException'> (0x051faa68) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.100 Thread 0x0162c000 Exception <a 'java/security/PrivilegedActionException'> (0x051fac68) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.100 Thread 0x0162c000 Exception <a 'java/security/PrivilegedActionException'> (0x051fed40) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.100 Thread 0x0162c000 Exception <a 'java/security/PrivilegedActionException'> (0x051fef40) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.100 Thread 0x0162c000 Exception <a 'java/lang/NullPointerException'> (0x051ff4a8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1178]
      Event: 0.282 Thread 0x156bc000 Exception <a 'java/lang/NullPointerException'> (0x053371c0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1178]
      Event: 0.282 Thread 0x156bc000 Exception <a 'java/lang/NullPointerException'> (0x053371c0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u112\7884\hotspot\src\share\vm\prims\jvm.cpp, line 1394]

      Events (10 events):
      Event: 1.763 loading class com/sun/javafx/tk/quantum/WindowStage
      Event: 1.763 loading class com/sun/javafx/tk/quantum/WindowStage done
      Event: 3.147 loading class com/sun/glass/ui/CommonDialogs$FileChooserResult
      Event: 3.147 loading class com/sun/glass/ui/CommonDialogs$FileChooserResult done
      Event: 3.148 loading class com/sun/javafx/scene/KeyboardShortcutsHandler$CopyOnWriteMap
      Event: 3.148 loading class com/sun/javafx/scene/KeyboardShortcutsHandler$CopyOnWriteMap done
      Event: 3.148 loading class com/sun/javafx/scene/KeyboardShortcutsHandler$CopyOnWriteMap$1
      Event: 3.148 loading class com/sun/javafx/scene/KeyboardShortcutsHandler$CopyOnWriteMap$1 done
      Event: 3.148 loading class com/sun/javafx/scene/KeyboardShortcutsHandler$CopyOnWriteMap$1$1
      Event: 3.148 loading class com/sun/javafx/scene/KeyboardShortcutsHandler$CopyOnWriteMap$1$1 done


      Dynamic libraries:
      0x00910000 - 0x00943000 C:\Program Files (x86)\Java\jdk1.8.0_112\bin\java.exe
      0x77cf0000 - 0x77e73000 C:\WINDOWS\SYSTEM32\ntdll.dll
      0x774b0000 - 0x77590000 C:\WINDOWS\System32\KERNEL32.DLL
      0x776e0000 - 0x77881000 C:\WINDOWS\System32\KERNELBASE.dll
      0x67e60000 - 0x67ef2000 C:\WINDOWS\system32\apphelp.dll
      0x77970000 - 0x779e7000 C:\WINDOWS\System32\ADVAPI32.dll
      0x76af0000 - 0x76bae000 C:\WINDOWS\System32\msvcrt.dll
      0x77920000 - 0x77961000 C:\WINDOWS\System32\sechost.dll
      0x76530000 - 0x765f1000 C:\WINDOWS\System32\RPCRT4.dll
      0x74790000 - 0x747ae000 C:\WINDOWS\System32\SspiCli.dll
      0x74780000 - 0x7478a000 C:\WINDOWS\System32\CRYPTBASE.dll
      0x76bb0000 - 0x76c0a000 C:\WINDOWS\System32\bcryptPrimitives.dll
      0x76800000 - 0x7695f000 C:\WINDOWS\System32\USER32.dll
      0x76610000 - 0x76625000 C:\WINDOWS\System32\win32u.dll
      0x76c10000 - 0x76c3b000 C:\WINDOWS\System32\GDI32.dll
      0x75ca0000 - 0x75dfb000 C:\WINDOWS\System32\gdi32full.dll
      0x73b40000 - 0x73d4a000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.447_none_89c64d28dafea4b9\COMCTL32.dll
      0x76e80000 - 0x77091000 C:\WINDOWS\System32\combase.dll
      0x76d10000 - 0x76df0000 C:\WINDOWS\System32\ucrtbase.dll
      0x77cc0000 - 0x77ce5000 C:\WINDOWS\System32\IMM32.DLL
      0x60990000 - 0x60a4f000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\msvcr100.dll
      0x60a50000 - 0x60e1e000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\client\jvm.dll
      0x776d0000 - 0x776d6000 C:\WINDOWS\System32\PSAPI.DLL
      0x73d80000 - 0x73d88000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
      0x610b0000 - 0x610d4000 C:\WINDOWS\SYSTEM32\WINMM.dll
      0x74360000 - 0x74368000 C:\WINDOWS\SYSTEM32\VERSION.dll
      0x778b0000 - 0x77913000 C:\WINDOWS\System32\WS2_32.dll
      0x01530000 - 0x01553000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
      0x77c80000 - 0x77cb6000 C:\WINDOWS\System32\cfgmgr32.dll
      0x61800000 - 0x6180c000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\verify.dll
      0x608f0000 - 0x60911000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\java.dll
      0x608d0000 - 0x608e3000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\zip.dll
      0x74840000 - 0x75c19000 C:\WINDOWS\System32\SHELL32.dll
      0x75fc0000 - 0x7652e000 C:\WINDOWS\System32\windows.storage.dll
      0x76c50000 - 0x76c95000 C:\WINDOWS\System32\powrprof.dll
      0x77c30000 - 0x77c76000 C:\WINDOWS\System32\shlwapi.dll
      0x76d00000 - 0x76d0d000 C:\WINDOWS\System32\kernel.appcore.dll
      0x747b0000 - 0x74838000 C:\WINDOWS\System32\shcore.dll
      0x76c40000 - 0x76c4f000 C:\WINDOWS\System32\profapi.dll
      0x64c00000 - 0x64cee000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\msvcr120.dll
      0x64b80000 - 0x64bf1000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\msvcp120.dll
      0x64b60000 - 0x64b7e000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\prism_d3d.dll
      0x6b840000 - 0x6b99f000 C:\WINDOWS\system32\d3d9.dll
      0x73050000 - 0x7306f000 C:\WINDOWS\SYSTEM32\dwmapi.dll
      0x74070000 - 0x740e5000 C:\WINDOWS\system32\uxtheme.dll
      0x68ba0000 - 0x6aff4000 C:\WINDOWS\SYSTEM32\igdumdim32.dll
      0x77b90000 - 0x77c24000 C:\WINDOWS\System32\OLEAUT32.dll
      0x75c20000 - 0x75c9b000 C:\WINDOWS\System32\msvcp_win.dll
      0x76a00000 - 0x76aea000 C:\WINDOWS\System32\ole32.dll
      0x770a0000 - 0x774ab000 C:\WINDOWS\System32\SETUPAPI.dll
      0x64b20000 - 0x64b53000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\glass.dll
      0x75e10000 - 0x75ef5000 C:\WINDOWS\System32\COMDLG32.dll
      0x77590000 - 0x776c5000 C:\WINDOWS\System32\MSCTF.dll
      0x680b0000 - 0x6897b000 C:\WINDOWS\SYSTEM32\igdusc32.dll
      0x64b00000 - 0x64b11000 C:\Program Files (x86)\Java\jdk1.8.0_112\jre\bin\javafx_font.dll
      0x6f150000 - 0x6f345000 C:\WINDOWS\SYSTEM32\dwrite.dll
      0x76df0000 - 0x76e74000 C:\WINDOWS\System32\clbcatq.dll
      0x606d0000 - 0x6083e000 C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
      0x6b670000 - 0x6b6b4000 C:\WINDOWS\system32\dataexchange.dll
      0x68a80000 - 0x68b93000 C:\WINDOWS\system32\dcomp.dll
      0x6b440000 - 0x6b66f000 C:\WINDOWS\system32\d3d11.dll
      0x6b0b0000 - 0x6b134000 C:\WINDOWS\system32\dxgi.dll
      0x68980000 - 0x68a71000 C:\WINDOWS\system32\twinapi.appcore.dll
      0x74310000 - 0x7432b000 C:\WINDOWS\system32\bcrypt.dll
      0x64ad0000 - 0x64af5000 C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\rtscom.dll
      0x73970000 - 0x73abf000 C:\WINDOWS\SYSTEM32\PROPSYS.dll
      0x60e90000 - 0x60f0b000 C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll
      0x5fec0000 - 0x5fefd000 C:\WINDOWS\SYSTEM32\edputil.dll
      0x611a0000 - 0x615dc000 C:\WINDOWS\system32\explorerframe.dll
      0x73d90000 - 0x73ef8000 C:\WINDOWS\system32\DUI70.dll
      0x64a50000 - 0x64acb000 C:\WINDOWS\system32\DUser.dll
      0x64a00000 - 0x64a43000 C:\Windows\System32\thumbcache.dll
      0x618c0000 - 0x619f6000 C:\Windows\System32\Windows.Globalization.dll
      0x61860000 - 0x618b2000 C:\Windows\System32\Bcp47Langs.dll
      0x61830000 - 0x61855000 C:\WINDOWS\SYSTEM32\globinputhost.dll
      0x5e370000 - 0x5e39e000 C:\WINDOWS\system32\xmllite.dll
      0x5f8b0000 - 0x5f935000 C:\WINDOWS\System32\StructuredQuery.dll
      0x64730000 - 0x64746000 C:\WINDOWS\SYSTEM32\MPR.dll
      0x64720000 - 0x64729000 C:\WINDOWS\SYSTEM32\atlthunk.dll
      0x64700000 - 0x64712000 C:\WINDOWS\System32\ntlanman.dll
      0x646f0000 - 0x646f9000 C:\WINDOWS\System32\drprov.dll
      0x73590000 - 0x735d3000 C:\WINDOWS\System32\WINSTA.dll
      0x67b50000 - 0x67b6a000 C:\WINDOWS\System32\davclnt.dll
      0x6f040000 - 0x6f04b000 C:\WINDOWS\System32\DAVHLPR.dll
      0x73570000 - 0x73580000 C:\WINDOWS\System32\wkscli.dll
      0x646e0000 - 0x646ef000 C:\WINDOWS\SYSTEM32\cscapi.dll
      0x73d70000 - 0x73d7b000 C:\WINDOWS\System32\netutils.dll
      0x64690000 - 0x646d2000 C:\Windows\System32\dlnashext.dll
      0x64630000 - 0x64688000 C:\Windows\System32\PlayToDevice.dll
      0x64610000 - 0x6462b000 C:\Windows\System32\DevDispItemProvider.dll
      0x60f10000 - 0x61096000 C:\Windows\System32\ActXPrxy.dll
      0x5f840000 - 0x5f8ac000 C:\Windows\System32\twinapi.dll
      0x76ca0000 - 0x76cfb000 C:\WINDOWS\System32\coml2.dll
      0x645b0000 - 0x64608000 C:\WINDOWS\System32\MMDevApi.dll
      0x737a0000 - 0x737c2000 C:\WINDOWS\System32\DEVOBJ.dll
      0x645a0000 - 0x645ad000 C:\WINDOWS\SYSTEM32\LINKINFO.dll
      0x64320000 - 0x643a3000 C:\Windows\System32\PortableDeviceApi.dll
      0x75f00000 - 0x75f44000 C:\WINDOWS\System32\WINTRUST.dll
      0x76600000 - 0x7660e000 C:\WINDOWS\System32\MSASN1.dll
      0x779f0000 - 0x77b6d000 C:\WINDOWS\System32\CRYPT32.dll
      0x64270000 - 0x6431f000 C:\WINDOWS\system32\Windows.Storage.Search.dll
      0x5e9f0000 - 0x5eb03000 C:\WINDOWS\SYSTEM32\MFPlat.DLL
      0x641a0000 - 0x641ca000 C:\WINDOWS\SYSTEM32\RTWorkQ.DLL
      0x5e920000 - 0x5e9e1000 C:\WINDOWS\SYSTEM32\ntshrui.dll
      0x73d50000 - 0x73d6c000 C:\WINDOWS\SYSTEM32\srvcli.dll
      0x5e770000 - 0x5e91b000 C:\Users\cfischer\AppData\Local\Microsoft\OneDrive\17.3.6517.0809\FileSyncShell.dll
      0x64150000 - 0x6419f000 C:\Users\cfischer\AppData\Local\Microsoft\OneDrive\17.3.6517.0809\Telemetry.dll
      0x67820000 - 0x67a4f000 C:\WINDOWS\SYSTEM32\WININET.dll
      0x64130000 - 0x64150000 C:\Users\cfischer\AppData\Local\Microsoft\OneDrive\17.3.6517.0809\LoggingPlatform.DLL
      0x5f950000 - 0x5f971000 C:\WINDOWS\SYSTEM32\Cabinet.dll
      0x72d70000 - 0x72e10000 C:\WINDOWS\SYSTEM32\WINHTTP.dll
      0x5e610000 - 0x5e765000 C:\Users\cfischer\AppData\Local\Microsoft\OneDrive\17.3.6517.0809\ClientTelemetry.dll
      0x74330000 - 0x7435f000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
      0x61bd0000 - 0x61be2000 C:\WINDOWS\system32\mssprxy.dll
      0x5ed60000 - 0x5ed9f000 C:\WINDOWS\SYSTEM32\policymanager.dll
      0x5e5a0000 - 0x5e607000 C:\WINDOWS\SYSTEM32\msvcp110_win.dll
      0x648d0000 - 0x649f4000 C:\WINDOWS\system32\NetworkExplorer.dll
      0x64780000 - 0x648c5000 C:\WINDOWS\SYSTEM32\dbghelp.dll

      VM Arguments:
      jvm_args: -Dfile.encoding=UTF-8
      java_command: javafxbug.RightClickMenuItemAndDialog
      java_class_path (initial): C:\Users\cfischer\Documents\repo\xxx\Editor\build\classes;C:\Users\cfischer\Documents\repo\xxx\Layout\build\classes;C:\Users\cfischer\Documents\NetBeansProjects\tmp\build\classes
      Launcher Type: SUN_STANDARD

      Environment Variables:
      PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\KDiff3;C:\Program Files (x86)\GNU Emacs 25.1\bin;C:\Users\cfischer\AppData\Local\Microsoft\WindowsApps;
      USERNAME=cfischer
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel



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

      OS: Windows 10.0 , 64 bit Build 14393 (10.0.14393.0)

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

      Memory: 4k page, physical 8305276k(4300040k free), swap 16693884k(12315156k free)

      vm_info: Java HotSpot(TM) Client VM (25.112-b15) for windows-x86 JRE (1.8.0_112-b15), built on Sep 22 2016 21:03:20 by "java_re" with MS VC++ 10.0 (VS2010)

      time: Thu Jan 05 10:32:32 2017
      elapsed time: 3 seconds (0d 0h 0m 3s)



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      public class RightClickMenuItemAndFileChooser extends Application {

          //Restart close and relaunch the app if jvm doesn't crash
          Stage stage;

          @Override
          public void start(Stage primaryStage) {

              Scene scene = new Scene(getRootNode(), 300, 250);

              stage = primaryStage;
              primaryStage.setTitle("RightClick MenuItem And Dialog");
              primaryStage.setScene(scene);
              primaryStage.show();

          }

          private void showdialog() {
              FileChooser fileChooser = new FileChooser();
              fileChooser.setTitle("Don't choose anything and cancel");
              fileChooser.showOpenDialog(stage);

              text.setText("CLOSE and Relaunch App until it fails ( ~10 times )");
              text.setContextMenu(null);

          }

          private Label text;

          private Parent getRootNode() {
              MenuItem rightClickItem = new MenuItem("RIGHT-CLICK On Me");
              rightClickItem.setOnAction(a -> {
                  showdialog();
              });
              ContextMenu menu = new ContextMenu(rightClickItem);

              text = new Label("Right Click on me");

              text.setContextMenu(menu);

              StackPane root = new StackPane(text);

              return root;

          }

          /**
           * @param args the command line arguments
           */
          public static void main(String[] args) {
              launch(args);
          }
      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aroy Abhijit Roy (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: