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

The JVM crashes when toString() method is called on the clone of a WebEngine's Document

    XMLWordPrintable

    Details

    • Subcomponent:
      web
    • CPU:
      generic
    • OS:
      generic

      Description

      FULL PRODUCT VERSION :
      All the platforms this was tried on have different Java versions.

      Linux:
      java version "1.8.0_141"
      Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)

      Windows 7:
      Java HotSpot(TM) 64-Bit Server VM (25.151-b12) for windows-amd64 JRE (1.8.0_151-b12), built on Sep 5 2017 19:33:46 by "java_re" with MS VC++ 10.0 (VS2010)

      Windows 10:
      JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
      Java VM: Java HotSpot(TM) 64-Bit Server VM (25.151-b12 mixed mode windows-amd64 compressed oops)

      ADDITIONAL OS VERSION INFORMATION :
      Linux (note this was running on VM):
      Linux nice03.ncnr.nist.gov 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 13 10:46:25 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

      Windows 7:
      [Version 6.1.7601]

      Windows 10:
      Version unknown (sorry not my computer)

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      This seems to crash on 3 different platforms so I don't think the configuration is relevant.

      A DESCRIPTION OF THE PROBLEM :
      Problem occurs after creating a WebEngine (JavaFX) and loading initial content, from a string. Once content is loaded, if the root Document object, attached to the web engine, is copied and the toString() method is called on it, then the JVM crashes.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the provided program. This appears to fail on multiple operating systems and Java versions.

      Note: in testing, this was run from Eclipse environment, but I don't think that is relevant.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      At this point, I distilled the crash down to a simple test program. In the real use case I was trying to view the state of a copied document node for debugging purposes when I 1st encountered the crash.

      I actually, don't have any interest in the toString() value of the Node object. My program actual program runs fine, but will crash in the debugger if I stop and inspect copied nodes (because the debugger invokes toString()).
      ACTUAL -
      The JVM crashes. This is consistent on all platforms I have tried.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000002bf0cf36, pid=15212, tid=0x0000000000002174
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.151-b12 mixed mode windows-amd64 compressed oops)
      # Problematic frame:
      # C [jfxwebkit.dll+0x84cf36]
      #
      # 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 (0x00000000294e4800): JavaThread "JavaFX Application Thread" [_thread_in_native, id=8564, stack(0x0000000029fe0000,0x000000002a0e0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000330

      Registers:
      RAX=0x000000002b287600, RBX=0x0000000000000000, RCX=0x000000002b2874d0, RDX=0x000000002b2874d0
      RSP=0x000000002a0dc770, RBP=0x0000000000000001, RSI=0x000000002b2874d0, RDI=0x0000000000000000
      R8 =0x0000000000000001, R9 =0x000000002a0dc800, R10=0x0000000000000001, R11=0x000000007011b4d0
      R12=0x0000000000000000, R13=0x000000002fe3e290, R14=0x000000002a0dc7f0, R15=0x000000002a0dc800
      RIP=0x000000002bf0cf36, EFLAGS=0x0000000000010297

      Top of Stack: (sp=0x000000002a0dc770)
      0x000000002a0dc770: 00000000294e4800 000000002946f070
      0x000000002a0dc780: 000000002fe3e290 000000002a0dc8d0
      0x000000002a0dc790: 00000000294a02b0 000000006ffab546
      0x000000002a0dc7a0: 00000000294e4800 000000002a0dc8d0
      0x000000002a0dc7b0: 0000000000000002 000000002bf0e33e
      0x000000002a0dc7c0: 000000002fe3e290 000000002fe3e290
      0x000000002a0dc7d0: 000000002a0dc8a0 00000000294e49f8
      0x000000002a0dc7e0: 000000002a0dc7f8 0000000003237e06
      0x000000002a0dc7f0: 00000000294a0200 00000000294e4800
      0x000000002a0dc800: 000000002fe3e290 000009a52fde150e
      0x000000002a0dc810: 0000000000000148 0000000003237f74
      0x000000002a0dc820: 0000000000000002 000000002fe3e290
      0x000000002a0dc830: 00000000294e4800 000000002fe3e290
      0x000000002a0dc840: 0000000000000148 00000000294e4800
      0x000000002a0dc850: 000000002a0dc928 0000000003237ca2
      0x000000002a0dc860: 000000002a0dc860 000000002fe3e290

      Instructions: (pc=0x000000002bf0cf36)
      0x000000002bf0cf16: 48 8b ca e8 72 65 c1 ff 48 8b 98 28 01 00 00 eb
      0x000000002bf0cf26: 0f 48 8b 42 20 48 8b 48 08 48 8b 99 28 01 00 00
      0x000000002bf0cf36: 48 8b 8b 30 03 00 00 48 8d 54 24 50 4c 8b c3 e8
      0x000000002bf0cf46: d6 04 84 ff 48 8b 38 48 c7 00 00 00 00 00 48 8b


      Register to memory mapping:

      RAX=0x000000002b287600 is an unknown value
      RBX=0x0000000000000000 is an unknown value
      RCX=0x000000002b2874d0 is an unknown value
      RDX=0x000000002b2874d0 is an unknown value
      RSP=0x000000002a0dc770 is pointing into the stack for thread: 0x00000000294e4800
      RBP=0x0000000000000001 is an unknown value
      RSI=0x000000002b2874d0 is an unknown value
      RDI=0x0000000000000000 is an unknown value
      R8 =0x0000000000000001 is an unknown value
      R9 =0x000000002a0dc800 is pointing into the stack for thread: 0x00000000294e4800
      R10=0x0000000000000001 is an unknown value
      R11=0x000000007011b4d0 is an unknown value
      R12=0x0000000000000000 is an unknown value
      R13={method} {0x000000002fe3e298} 'toStringImpl' '(JI)Ljava/lang/String;' in 'com/sun/webkit/dom/JSObject'
      R14=0x000000002a0dc7f0 is pointing into the stack for thread: 0x00000000294e4800
      R15=0x000000002a0dc800 is pointing into the stack for thread: 0x00000000294e4800


      Stack: [0x0000000029fe0000,0x000000002a0e0000], sp=0x000000002a0dc770, free space=1009k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [jfxwebkit.dll+0x84cf36]
      C [jfxwebkit.dll+0x84e33e]
      C 0x0000000003237f74

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.sun.webkit.dom.JSObject.toStringImpl(JI)Ljava/lang/String;+0
      j com.sun.webkit.dom.JSObject.toString()Ljava/lang/String;+14
      j com.sun.webkit.dom.NodeImpl.toString()Ljava/lang/String;+1
      j nice.client.javafx.example.crash.Crash.lambda$1(Ljavafx/scene/web/WebEngine;Ljavafx/beans/value/ObservableValue;Ljavafx/concurrent/Worker$State;Ljavafx/concurrent/Worker$State;)V+21
      j nice.client.javafx.example.crash.Crash$$Lambda$70.changed(Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V+13
      j com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent()V+71
      j com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Lcom/sun/javafx/binding/ExpressionHelper;)V+5
      j javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent()V+4
      j javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent()V+15
      j javafx.beans.property.ObjectPropertyBase.markInvalid()V+17
      j javafx.beans.property.ObjectPropertyBase.set(Ljava/lang/Object;)V+106
      j javafx.scene.web.WebEngine$LoadWorker.updateState(Ljavafx/concurrent/Worker$State;)V+8
      j javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(JILjava/lang/String;Ljava/lang/String;DI)V+203
      j javafx.scene.web.WebEngine$LoadWorker.access$1200(Ljavafx/scene/web/WebEngine$LoadWorker;JILjava/lang/String;Ljava/lang/String;DI)V+11
      j javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(JILjava/lang/String;Ljava/lang/String;DI)V+32
      j com.sun.webkit.WebPage.fireLoadEvent(JILjava/lang/String;Ljava/lang/String;DI)V+45
      j com.sun.webkit.WebPage.fwkFireLoadEvent(JILjava/lang/String;Ljava/lang/String;DI)V+94
      v ~StubRoutines::call_stub
      j com.sun.webkit.Timer.twkFireTimerEvent()V+0
      j com.sun.webkit.Timer.fireTimerEvent(J)V+45
      j com.sun.webkit.Timer.notifyTick()V+25
      j javafx.scene.web.WebEngine$PulseTimer.lambda$null$49()V+3
      j javafx.scene.web.WebEngine$PulseTimer$$Lambda$85.run()V+0
      j com.sun.javafx.application.PlatformImpl.lambda$null$172(Ljava/lang/Runnable;)Ljava/lang/Void;+1
      j com.sun.javafx.application.PlatformImpl$$Lambda$51.run()Ljava/lang/Object;+4
      v ~StubRoutines::call_stub
      j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
      j com.sun.javafx.application.PlatformImpl.lambda$runLater$173(Ljava/lang/Runnable;Ljava/security/AccessControlContext;)V+7
      j com.sun.javafx.application.PlatformImpl$$Lambda$50.run()V+8
      j com.sun.glass.ui.InvokeLaterDispatcher$Future.run()V+4
      v ~StubRoutines::call_stub
      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$39.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 )
        0x0000000029749000 JavaThread "Disposer" daemon [_thread_blocked, id=8592, stack(0x0000000030880000,0x0000000030980000)]
        0x000000002972b800 JavaThread "Prism Font Disposer" daemon [_thread_blocked, id=16304, stack(0x000000002fc70000,0x000000002fd70000)]
        0x0000000029531800 JavaThread "Thread-3" daemon [_thread_in_native, id=16380, stack(0x000000002b5c0000,0x000000002b6c0000)]
        0x00000000029f8000 JavaThread "DestroyJavaVM" [_thread_blocked, id=15616, stack(0x0000000002e50000,0x0000000002f50000)]
      =>0x00000000294e4800 JavaThread "JavaFX Application Thread" [_thread_in_native, id=8564, stack(0x0000000029fe0000,0x000000002a0e0000)]
        0x00000000294a2000 JavaThread "Thread-1" daemon [_thread_blocked, id=9580, stack(0x0000000029e70000,0x0000000029f70000)]
        0x0000000029456000 JavaThread "QuantumRenderer-0" daemon [_thread_blocked, id=14272, stack(0x0000000029be0000,0x0000000029ce0000)]
        0x0000000027556000 JavaThread "Service Thread" daemon [_thread_blocked, id=14656, stack(0x0000000029120000,0x0000000029220000)]
        0x00000000274fc000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=13684, stack(0x0000000028d70000,0x0000000028e70000)]
        0x00000000274c1800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=10680, stack(0x0000000028eb0000,0x0000000028fb0000)]
        0x00000000274a9800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=14804, stack(0x0000000028c60000,0x0000000028d60000)]
        0x000000002749f800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=14600, stack(0x0000000028a50000,0x0000000028b50000)]
        0x000000002749e000 JavaThread "Attach Listener" daemon [_thread_blocked, id=14016, stack(0x0000000028940000,0x0000000028a40000)]
        0x000000002749d000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=16300, stack(0x0000000028620000,0x0000000028720000)]
        0x00000000262df000 JavaThread "Finalizer" daemon [_thread_blocked, id=10728, stack(0x0000000028740000,0x0000000028840000)]
        0x00000000262d7000 JavaThread "Reference Handler" daemon [_thread_blocked, id=15476, stack(0x00000000283c0000,0x00000000284c0000)]

      Other Threads:
        0x0000000027451800 VMThread [stack: 0x00000000284c0000,0x00000000285c0000] [id=16260]
        0x000000002756a800 WatcherThread [stack: 0x00000000292a0000,0x00000000293a0000] [id=16040]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap:
       PSYoungGen total 152576K, used 26215K [0x0000000716000000, 0x0000000720a00000, 0x00000007c0000000)
        eden space 131072K, 20% used [0x0000000716000000,0x0000000717999e90,0x000000071e000000)
        from space 21504K, 0% used [0x000000071f500000,0x000000071f500000,0x0000000720a00000)
        to space 21504K, 0% used [0x000000071e000000,0x000000071e000000,0x000000071f500000)
       ParOldGen total 348160K, used 0K [0x00000005c2000000, 0x00000005d7400000, 0x0000000716000000)
        object space 348160K, 0% used [0x00000005c2000000,0x00000005c2000000,0x00000005d7400000)
       Metaspace used 10135K, capacity 10488K, committed 10624K, reserved 1058816K
        class space used 1227K, capacity 1342K, committed 1408K, reserved 1048576K

      Card table byte_map: [0x00000000125e0000,0x00000000135e0000] byte_map_base: 0x000000000f7d0000

      Marking Bits: (ParMarkBitMap*) 0x000000007070d850
       Begin Bits: [0x0000000014a00000, 0x000000001c980000)
       End Bits: [0x000000001c980000, 0x0000000024900000)

      Polling page: 0x0000000000280000

      CodeCache: size=245760Kb used=2482Kb max_used=2492Kb free=243277Kb
       bounds [0x0000000003220000, 0x0000000003490000, 0x0000000012220000]
       total_blobs=1056 nmethods=582 adapters=387
       compilation: enabled

      Compilation events (10 events):
      Event: 0.576 Thread 0x00000000274fc000 nmethod 578 0x0000000003489010 code [0x00000000034891a0, 0x0000000003489758]
      Event: 0.576 Thread 0x00000000274fc000 579 3 java.lang.StringBuilder::append (8 bytes)
      Event: 0.576 Thread 0x00000000274fc000 nmethod 579 0x0000000003489890 code [0x0000000003489a00, 0x0000000003489b88]
      Event: 0.576 Thread 0x00000000274fc000 581 3 java.lang.Integer::getChars (131 bytes)
      Event: 0.577 Thread 0x00000000274fc000 nmethod 581 0x0000000003489c10 code [0x0000000003489da0, 0x000000000348a210]
      Event: 0.577 Thread 0x00000000274fc000 580 3 java.lang.AbstractStringBuilder::append (62 bytes)
      Event: 0.577 Thread 0x00000000274fc000 nmethod 580 0x000000000348a650 code [0x000000000348a840, 0x000000000348b178]
      Event: 0.578 Thread 0x00000000274fc000 582 3 java.util.HashSet::add (20 bytes)
      Event: 0.578 Thread 0x00000000274fc000 nmethod 582 0x000000000348b690 code [0x000000000348b800, 0x000000000348ba88]
      Event: 0.579 Thread 0x00000000274c1800 nmethod 576 0x000000000348f390 code [0x000000000348f500, 0x000000000348f948]

      GC Heap History (0 events):
      No events

      Deoptimization events (3 events):
      Event: 0.295 Thread 0x00000000294e4800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000033c7ff4 method=java.lang.String.replace(CC)Ljava/lang/String; @ 26
      Event: 0.318 Thread 0x00000000294e4800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000033c0da0 method=java.lang.String.indexOf([CII[CIII)I @ 3
      Event: 0.567 Thread 0x00000000294e4800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003422890 method=java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; @ 1

      Internal exceptions (10 events):
      Event: 0.128 Thread 0x00000000029f8000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0000000716199030) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
      Event: 0.130 Thread 0x00000000029f8000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x00000007161a6400) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
      Event: 0.279 Thread 0x00000000029f8000 Exception <a 'java/lang/NullPointerException'> (0x000000071676d618) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1183]
      Event: 0.298 Thread 0x00000000294e4800 Exception <a 'java/security/PrivilegedActionException'> (0x0000000716ba19b8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.298 Thread 0x00000000294e4800 Exception <a 'java/security/PrivilegedActionException'> (0x0000000716ba1db0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.310 Thread 0x00000000294e4800 Exception <a 'java/security/PrivilegedActionException'> (0x0000000716bf94d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.310 Thread 0x00000000294e4800 Exception <a 'java/security/PrivilegedActionException'> (0x0000000716bf98c8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
      Event: 0.558 Thread 0x00000000294e4800 Exception <a 'sun/nio/fs/WindowsException'> (0x00000007177b8bf8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jni.cpp, line 709]
      Event: 0.562 Thread 0x00000000294e4800 Exception <a 'sun/nio/fs/WindowsException'> (0x00000007177ba910) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u151\9699\hotspot\src\share\vm\prims\jni.cpp, line 709]
      Event: 0.567 Thread 0x00000000294e4800 Implicit null exception at 0x00000000034224d6 to 0x0000000003422879

      Events (10 events):
      Event: 0.579 loading class org/w3c/dom/xpath/XPathEvaluator
      Event: 0.579 loading class org/w3c/dom/xpath/XPathEvaluator done
      Event: 0.579 loading class org/w3c/dom/views/DocumentView
      Event: 0.579 loading class org/w3c/dom/views/DocumentView done
      Event: 0.579 loading class org/w3c/dom/events/DocumentEvent
      Event: 0.579 loading class org/w3c/dom/events/DocumentEvent done
      Event: 0.581 loading class com/sun/webkit/dom/HTMLDocumentImpl
      Event: 0.581 loading class com/sun/webkit/dom/HTMLDocumentImpl done
      Event: 0.581 loading class org/w3c/dom/html/HTMLDocument
      Event: 0.581 loading class org/w3c/dom/html/HTMLDocument done


      Dynamic libraries:
      0x000000013fd20000 - 0x000000013fd57000 C:\Program Files\Java\jdk1.8.0_151\bin\javaw.exe
      0x0000000077310000 - 0x00000000774ba000 C:\Windows\SYSTEM32\ntdll.dll
      0x00000000770f0000 - 0x000000007720f000 C:\Windows\system32\kernel32.dll
      0x000007fefd040000 - 0x000007fefd0aa000 C:\Windows\system32\KERNELBASE.dll
      0x000007fefdee0000 - 0x000007fefdfbb000 C:\Windows\system32\ADVAPI32.dll
      0x000007fefdc80000 - 0x000007fefdd1f000 C:\Windows\system32\msvcrt.dll
      0x000007fefdc60000 - 0x000007fefdc7f000 C:\Windows\SYSTEM32\sechost.dll
      0x000007fefd3c0000 - 0x000007fefd4ed000 C:\Windows\system32\RPCRT4.dll
      0x0000000077210000 - 0x000000007730a000 C:\Windows\system32\USER32.dll
      0x000007fefe060000 - 0x000007fefe0c7000 C:\Windows\system32\GDI32.dll
      0x000007fefded0000 - 0x000007fefdede000 C:\Windows\system32\LPK.dll
      0x000007fefdac0000 - 0x000007fefdb8b000 C:\Windows\system32\USP10.dll
      0x000007fefb3d0000 - 0x000007fefb5c4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
      0x000007fefdb90000 - 0x000007fefdc01000 C:\Windows\system32\SHLWAPI.dll
      0x000007fefe0d0000 - 0x000007fefe0fe000 C:\Windows\system32\IMM32.DLL
      0x000007fefddc0000 - 0x000007fefdec9000 C:\Windows\system32\MSCTF.dll
      0x000007fefc170000 - 0x000007fefc21c000 C:\Windows\system32\tmumh\20019\AddOn\7.0.0.1137\TmUmEvt64.dll
      0x00000000774d0000 - 0x00000000774d7000 C:\Windows\system32\PSAPI.DLL
      0x0000000074c50000 - 0x0000000074d67000 C:\Windows\system32\tmumh\20019\TmMon\2.5.0.2061\tmmon64.dll
      0x000007fefc420000 - 0x000007fefc42c000 C:\Windows\system32\VERSION.dll
      0x0000000077830000 - 0x0000000077902000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\msvcr100.dll
      0x000000006fef0000 - 0x000000007078d000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\server\jvm.dll
      0x000007fef5340000 - 0x000007fef5349000 C:\Windows\system32\WSOCK32.dll
      0x000007fefdc10000 - 0x000007fefdc5d000 C:\Windows\system32\WS2_32.dll
      0x000007feff610000 - 0x000007feff618000 C:\Windows\system32\NSI.dll
      0x000007fefa640000 - 0x000007fefa67b000 C:\Windows\system32\WINMM.dll
      0x000000005bb90000 - 0x000000005bb9f000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\verify.dll
      0x000000005b0d0000 - 0x000000005b0f9000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\java.dll
      0x0000000059f60000 - 0x0000000059f76000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\zip.dll
      0x000007fefe6f0000 - 0x000007feff47b000 C:\Windows\system32\SHELL32.dll
      0x000007fefd7c0000 - 0x000007fefd9bc000 C:\Windows\system32\ole32.dll
      0x000007fefd010000 - 0x000007fefd01f000 C:\Windows\system32\profapi.dll
      0x0000000077690000 - 0x0000000077828000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\awt.dll
      0x000007fefe100000 - 0x000007fefe1da000 C:\Windows\system32\OLEAUT32.dll
      0x000007feedbe0000 - 0x000007feedbe3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-console-l1-1-0.dll
      0x000007feedbd0000 - 0x000007feedbd3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-datetime-l1-1-0.dll
      0x000007feed600000 - 0x000007feed603000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-debug-l1-1-0.dll
      0x000007feed1f0000 - 0x000007feed1f3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-errorhandling-l1-1-0.dll
      0x000007feed190000 - 0x000007feed194000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-file-l1-1-0.dll
      0x000007feed180000 - 0x000007feed183000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-file-l1-2-0.dll
      0x000007feed170000 - 0x000007feed173000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-file-l2-1-0.dll
      0x000007feed160000 - 0x000007feed163000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-handle-l1-1-0.dll
      0x000007feed100000 - 0x000007feed103000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-heap-l1-1-0.dll
      0x000007feec310000 - 0x000007feec313000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-interlocked-l1-1-0.dll
      0x000007feec1e0000 - 0x000007feec1e3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-libraryloader-l1-1-0.dll
      0x000007feec1d0000 - 0x000007feec1d3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-localization-l1-2-0.dll
      0x000007feec1c0000 - 0x000007feec1c3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-memory-l1-1-0.dll
      0x000007feec1b0000 - 0x000007feec1b3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-namedpipe-l1-1-0.dll
      0x000007feec1a0000 - 0x000007feec1a3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-processenvironment-l1-1-0.dll
      0x000007feec190000 - 0x000007feec193000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-processthreads-l1-1-0.dll
      0x000007feec180000 - 0x000007feec183000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-processthreads-l1-1-1.dll
      0x000007feec170000 - 0x000007feec173000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-profile-l1-1-0.dll
      0x000007feec160000 - 0x000007feec163000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
      0x000007feec150000 - 0x000007feec153000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-string-l1-1-0.dll
      0x000007feec140000 - 0x000007feec143000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-synch-l1-1-0.dll
      0x000007feec130000 - 0x000007feec133000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-synch-l1-2-0.dll
      0x000007feec0f0000 - 0x000007feec0f3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-sysinfo-l1-1-0.dll
      0x000007feec0e0000 - 0x000007feec0e3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-timezone-l1-1-0.dll
      0x000007feec0d0000 - 0x000007feec0d3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-core-util-l1-1-0.dll
      0x000007feec0c0000 - 0x000007feec0c3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-conio-l1-1-0.dll
      0x000007feec030000 - 0x000007feec034000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-convert-l1-1-0.dll
      0x000007feec020000 - 0x000007feec023000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-environment-l1-1-0.dll
      0x000007feec010000 - 0x000007feec013000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-filesystem-l1-1-0.dll
      0x000007feec000000 - 0x000007feec003000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-heap-l1-1-0.dll
      0x000007feebff0000 - 0x000007feebff3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-locale-l1-1-0.dll
      0x000007feeb160000 - 0x000007feeb165000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-math-l1-1-0.dll
      0x000007feeb150000 - 0x000007feeb155000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-multibyte-l1-1-0.dll
      0x000007feeb140000 - 0x000007feeb150000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-private-l1-1-0.dll
      0x000007feeb130000 - 0x000007feeb133000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-process-l1-1-0.dll
      0x000007feeb120000 - 0x000007feeb124000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-runtime-l1-1-0.dll
      0x000007feeb0f0000 - 0x000007feeb0f4000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-stdio-l1-1-0.dll
      0x000007feeb0e0000 - 0x000007feeb0e4000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-string-l1-1-0.dll
      0x000007feead70000 - 0x000007feead73000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-time-l1-1-0.dll
      0x000007feead60000 - 0x000007feead63000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\api-ms-win-crt-utility-l1-1-0.dll
      0x000007fee0260000 - 0x000007fee0356000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\ucrtbase.dll
      0x000007feead00000 - 0x000007feead51000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\concrt140.dll
      0x000007feed3d0000 - 0x000007feed46c000 C:\Windows\system32\MSVCP140.dll
      0x000007fef4db0000 - 0x000007fef4dc6000 C:\Windows\system32\VCRUNTIME140.dll
      0x000007feeace0000 - 0x000007feeacf6000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\vcruntime140.dll
      0x000007fee2530000 - 0x000007fee25cc000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\msvcp140.dll
      0x00000000582c0000 - 0x00000000582e3000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\prism_d3d.dll
      0x000007fef0d30000 - 0x000007fef0f2f000 C:\Windows\system32\d3d9.dll
      0x000007fef2030000 - 0x000007fef2037000 C:\Windows\system32\d3d8thk.dll
      0x000007fefa0f0000 - 0x000007fefa108000 C:\Windows\system32\dwmapi.dll
      0x000007fefa6d0000 - 0x000007fefa726000 C:\Windows\system32\uxtheme.dll
      0x000007fedebe0000 - 0x000007fedfc96000 C:\Windows\system32\nvd3dumx.dll
      0x0000000051980000 - 0x00000000519c9000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\glass.dll
      0x0000000002b70000 - 0x0000000002c07000 C:\Windows\system32\COMDLG32.dll
      0x000007fefce40000 - 0x000007fefce4f000 C:\Windows\system32\CRYPTBASE.dll
      0x000007fefbd60000 - 0x000007fefbd8c000 C:\Windows\system32\powrprof.dll
      0x000007fefe1e0000 - 0x000007fefe3b7000 C:\Windows\system32\SETUPAPI.dll
      0x000007fefd380000 - 0x000007fefd3b6000 C:\Windows\system32\CFGMGR32.dll
      0x000007fefd350000 - 0x000007fefd36a000 C:\Windows\system32\DEVOBJ.dll
      0x000000002b6c0000 - 0x000000002e73d000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\jfxwebkit.dll
      0x000007fefca20000 - 0x000007fefca38000 C:\Windows\system32\CRYPTSP.dll
      0x000007fefc560000 - 0x000007fefc5a7000 C:\Windows\system32\rsaenh.dll
      0x0000000059df0000 - 0x0000000059e04000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\javafx_font.dll
      0x000007feed860000 - 0x000007feed9f7000 C:\Windows\system32\dwrite.dll
      0x0000000056360000 - 0x000000005637a000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\net.dll
      0x000007fefc8d0000 - 0x000007fefc925000 C:\Windows\system32\mswsock.dll
      0x000007fefc8c0000 - 0x000007fefc8c7000 C:\Windows\System32\wship6.dll
      0x00000000583c0000 - 0x00000000583d1000 C:\Program Files\Java\jdk1.8.0_151\jre\bin\nio.dll
      0x000007fef98e0000 - 0x000007fef9a05000 C:\Windows\system32\dbghelp.dll

      VM Arguments:
      jvm_args: -Djava.library.path=C:\Users\pheiffer\git\NICE\lib\javaxcomm -Dfile.encoding=UTF-8
      java_command: nice.client.javafx.example.crash.Crash
      java_class_path (initial): C:\Users\pheiffer\git\NICE\bin;C:\Users\pheiffer\git\NICE\lib\org.hamcrest.core_1.1.0.v20090501071000.jar;C:\Users\pheiffer\git\NICE\lib\slf4j-api-1.6.1.jar;C:\Users\pheiffer\git\NICE\lib\junit-4.8.2.jar;C:\Users\pheiffer\git\NICE\lib\jgrapht-jdk1.6.jar;C:\Users\pheiffer\git\NICE\lib\jscience.jar;C:\Users\pheiffer\git\NICE\lib\email\dsn.jar;C:\Users\pheiffer\git\NICE\lib\email\imap.jar;C:\Users\pheiffer\git\NICE\lib\email\mailapi.jar;C:\Users\pheiffer\git\NICE\lib\email\pop3.jar;C:\Users\pheiffer\git\NICE\lib\email\smtp.jar;C:\Users\pheiffer\git\NICE\lib\commons-logging-1.1.1.jar;C:\Users\pheiffer\git\NICE\lib\l2fprod-common-all.jar;C:\Users\pheiffer\git\NICE\lib\forms-1.3.0.jar;C:\Users\pheiffer\git\NICE\lib\simple-xml-2.6.1.jar;C:\Users\pheiffer\git\NICE\lib\commons-lang3-3.0.1.jar;C:\Users\pheiffer\git\NICE\lib\findbugs\annotations.jar;C:\Users\pheiffer\git\NICE\lib\findbugs\jsr305.jar;C:\Users\pheiffer\git\NICE\lib\RXTXcomm.jar;C:\Users\pheiffer\git\NICE\lib\jcommon-1.0.18.jar;C:\Users\pheiffer\git\NICE\lib\logback-classic-1.0.0.jar;C:\Users\pheiffer\git\NICE\lib\logback-core-1.0.0.jar;C:\Users\pheiffer\git\NICE\lib\jopt-simple-4.3.jar;C:\Users\pheiffer\git\NICE\lib\commons-io-2.4.jar;C:\Users\pheiffer\git\NICE\lib\commons-collections-3.2.1.jar;C:\Users\pheiffer\git\NICE\lib\commons-math-3.0-r1373782.jar;C:\Users\pheiffer\git\NICE\lib\commons-codec-1.6.jar;C:\Users\pheiffer\git\NICE\lib\commons-compress-1.4.1.jar;C:\Users\pheiffer\git\NICE\lib\jfreechart\jfreechart-1.0.15.jar;C:\Users\pheiffer\git\NICE\lib\autocomplete-2.0.3.jar;C:\Users\pheiffer\eclipse\plugins\org.junit_4.12.0.v201504281640\junit.jar;C:\Users\pheiffer\eclipse\plugins\org.hamcrest.core_1.3.0.v201303031735.jar;C:\Users\pheiffer\git\NICE\lib\jcifs-1.3.18.jar;C:\Program Files (x86)\ZeroC\Ice-3.6.2\lib\ice-3.6.2.jar;C:\Program Files (x86)\ZeroC\Ice-3.6.2\lib\glacier2-3.6.2.jar;C:\Program Files (x86)\ZeroC\Ice-3.6.2\lib\icebox-3.6.2.jar;C:\Program Files (x86)\ZeroC\Ice-3
      Launcher Type: SUN_STANDARD

      Environment Variables:
      PATH=C:/Program Files/Java/jdk1.8.0_131/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_131/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_131/bin/../jre/lib/amd64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ActivIdentity\ActivClient\;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files (x86)\ZeroC\Ice-3.6.2\bin;C:\Users\pheiffer\WinPython-64bit-3.4.4.2\python-3.4.4.amd64;C:\Program Files\Java\jdk1.8.0_131\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\pheiffer\eclipse;
      USERNAME=pheiffer
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel



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

      OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23864)

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

      Memory: 4k page, physical 33415748k(21102012k free), swap 67136836k(52297560k free)

      vm_info: Java HotSpot(TM) 64-Bit Server VM (25.151-b12) for windows-amd64 JRE (1.8.0_151-b12), built on Sep 5 2017 19:33:46 by "java_re" with MS VC++ 10.0 (VS2010)

      time: Tue Dec 19 18:47:41 2017
      elapsed time: 0 seconds (0d 0h 0m 0s)



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import org.w3c.dom.Node;

      import javafx.application.Platform;
      import javafx.concurrent.Worker.State;
      import javafx.embed.swing.JFXPanel;
      import javafx.scene.web.WebEngine;

      public class Crash
      {
          public static void main(final String[] args)
          {
              // Initialize FX
              new JFXPanel();

              Platform.runLater(() -> {
                  WebEngine engine = new WebEngine();

                  // Listen for when document has loaded successfully
                  engine.getLoadWorker().stateProperty().addListener((observed, oldValue, newValue) -> {
                      if (newValue == State.SUCCEEDED)
                      {
                          // Clone the web engine's document
                          Node cloneNode = engine.getDocument().cloneNode(false);

                          try
                          {
                              // This line crashes the VM
                              cloneNode.toString();
                          }
                          catch (Throwable e)
                          {

                          }
                      }
                  });

                  // Load any content
                  engine.loadContent("<body></body>");

                  // Note: Program runs forever without crash
              });
          }
      }

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              arajkumar Arunprasad Rajkumar
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: