JDK-8095518 : MAC / HTMLEditor / pasting a text from terminal leads to a crash of the JVM
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u45
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-05-26
  • Updated: 2015-06-12
  • Resolved: 2015-05-29
Related Reports
Duplicate :  
Description
shortcup used: SHIFT + CMD  +V
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Stack :
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff9c08f286 __pthread_kill + 10
1   libsystem_c.dylib             	0x00007fff9bbedb53 abort + 129
2   libjvm.dylib                  	0x0000000107da322f os::abort(bool) + 25
3   libjvm.dylib                  	0x0000000107ec3c8c VMError::report_and_die() + 2250
4   libjvm.dylib                  	0x0000000107da4e5a JVM_handle_bsd_signal + 1131
5   libjvm.dylib                  	0x0000000107da1137 signalHandler(int, __siginfo*, void*) + 47
6   libsystem_platform.dylib      	0x00007fff99cd7f1a _sigtramp + 26
7   libjfxwebkit.dylib            	0x000000017d1767a6 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2136198
8   libjfxwebkit.dylib            	0x000000017d17bdf3 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2158291
9   libjfxwebkit.dylib            	0x000000017d17c71d Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2160637
10  libjfxwebkit.dylib            	0x000000017d1828ca Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2185642
11  libjfxwebkit.dylib            	0x000000017d17621a Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2134778
12  libjfxwebkit.dylib            	0x000000017d1895c1 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2213537
13  libjfxwebkit.dylib            	0x000000017d1910d5 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2245045
14  libjfxwebkit.dylib            	0x000000017d1fbacc Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2681772
15  libjfxwebkit.dylib            	0x000000017d1f8832 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2668818
16  libjfxwebkit.dylib            	0x000000017d194a4c Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2259756
17  libjfxwebkit.dylib            	0x000000017d1b8a3d Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2407197
18  libjfxwebkit.dylib            	0x000000017d1bbabf Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2419615
19  libjfxwebkit.dylib            	0x000000017d433520 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 5006848
20  libjfxwebkit.dylib            	0x000000017d13e79a Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1906810
21  libjfxwebkit.dylib            	0x000000017d1210f7 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1786327
22  libjfxwebkit.dylib            	0x000000017d11fc0c Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1780972
23  libjfxwebkit.dylib            	0x000000017d11f7b8 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1779864
24  libjfxwebkit.dylib            	0x000000017d11f8ff Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1780191
25  libjfxwebkit.dylib            	0x000000017d13d9c4 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1903268
26  libjfxwebkit.dylib            	0x000000017d128773 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1816659
27  libjfxwebkit.dylib            	0x000000017d1ba23e Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2413342
28  libjfxwebkit.dylib            	0x000000017d1ba5db Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2414267
29  libjfxwebkit.dylib            	0x000000017d1bab9c Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2415740
30  libjfxwebkit.dylib            	0x000000017d1be318 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2429944
31  libjfxwebkit.dylib            	0x000000017d1bc695 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2422645
32  libjfxwebkit.dylib            	0x000000017d1bc6c5 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 2422693
33  libjfxwebkit.dylib            	0x000000017d4d2586 Java_com_sun_webkit_ContextMenu_twkHandleItemSelected + 16662
34  libjfxwebkit.dylib            	0x000000017d4d2782 Java_com_sun_webkit_ContextMenu_twkHandleItemSelected + 17170
35  libjfxwebkit.dylib            	0x000000017d434ec5 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 5013413
36  libjfxwebkit.dylib            	0x000000017d13e697 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1906551
37  libjfxwebkit.dylib            	0x000000017d1210f7 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1786327
38  libjfxwebkit.dylib            	0x000000017d11fc0c Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1780972
39  libjfxwebkit.dylib            	0x000000017d11f7b8 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1779864
40  libjfxwebkit.dylib            	0x000000017d11f8ff Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1780191
41  libjfxwebkit.dylib            	0x000000017d13d9c4 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1903268
42  libjfxwebkit.dylib            	0x000000017d128773 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 1816659
43  libjfxwebkit.dylib            	0x000000017d434162 Java_com_sun_webkit_dom_EventListenerImpl_twkDispatchEvent + 5009986
44  libjfxwebkit.dylib            	0x000000017d4ed1b2 Java_com_sun_webkit_WebPage_twkBeginPrinting + 802
45  libjfxwebkit.dylib            	0x000000017d4ed332 Java_com_sun_webkit_WebPage_twkProcessKeyEvent + 98
46  ???                           	0x0000000108a0b954 0 + 4439718228
47  ???                           	0x00000001089fd420 0 + 4439659552
48  ???                           	0x00000001089fd420 0 + 4439659552
49  ???                           	0x00000001089fdc4d 0 + 4439661645
50  ???                           	0x00000001089fdc4d 0 + 4439661645
51  ???                           	0x000000010956ea8c 0 + 4451658380
Comments
This must be resolved with RT-40330. I can't reproduce it since 8u60b13. Previously, the stack was this: Stack: [0x00007fff503aa000,0x00007fff50baa000], sp=0x00007fff50ba3a00, free space=8166k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libjfxwebkit.dylib+0xa82743] WebCore::Pasteboard::html() const+0x33 C [libjfxwebkit.dylib+0xa82582] WebCore::Pasteboard::documentFragment(WebCore::Frame&, WebCore::Range&, bool, bool&)+0x32 C [libjfxwebkit.dylib+0x720e41] WebCore::Editor::pasteWithPasteboard(WebCore::Pasteboard*, bool)+0x61 C [libjfxwebkit.dylib+0x725c85] WebCore::Editor::paste(WebCore::Pasteboard&)+0xb5 C [libjfxwebkit.dylib+0x725b9e] WebCore::Editor::paste()+0x1e C [libjfxwebkit.dylib+0x735e96] WebCore::executePaste(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&)+0x36 C [libjfxwebkit.dylib+0x732f54] WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const+0xb4 C [libjfxwebkit.dylib+0x99895a] WebCore::ContextMenuController::contextMenuItemSelected(WebCore::ContextMenuItem*)+0x4ca C [libjfxwebkit.dylib+0xa70a1d] Java_com_sun_webkit_ContextMenu_twkHandleItemSelected+0xad j com.sun.webkit.ContextMenu.twkHandleItemSelected(JI)V+0 (The Pasteboard::html() method is no longer in the code.)
29-05-2015

Assign to Anton to evaluate. I cannot reproduce this, either with 8u45 or with 8u60 EA. @Anton: can you reproduce it? If not, then we will need ore information in order to do anything with this bug.
28-05-2015