Community
Participate
Working Groups
Webkit1 is notorious for crashing a lot. There appears to be various reasons. This bug is to keep track of them. One pattern I noticed is that webkit will often crash if OS.g_main_context_iteration is called in java while webkit is doing something. A common pattern seen in crash dumps is as following: Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libwebkitgtk-3.0.so.0+0xc7ece0] C [libwebkitgtk-3.0.so.0+0x43eddb] .... C [libglib-2.0.so.0+0x468e7] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 920 org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z (0 bytes) <<<< common pattern. ... j org.eclipse.swt.widgets.Shell.setVisible(Z)V+302 .... At present I'm working on Webkit2 port, where crashes mostly resolved. So I may not work on fixing webkit1 bugs (at least for now). But I think it's useful to keep track of them.
*** Bug 460459 has been marked as a duplicate of this bug. ***
Status update: SWT's support for Webkit2is complete and Webkit2 is default: 528844 – [Webkit2] Make webkit2 default. https://bugs.eclipse.org/bugs/show_bug.cgi?id=528844 (For use in 4.8) Currently there is no man-power to provide support for SWT's Webkit1 support. The reason is that webkit1 is deprecated (On my Fedora 27, I can't even install Webkit1 anymore..). It's deprecated because it's internals are known to be unstable/insecure and causing crashes/freezes in Eclipse. I.e, clients who experience issues with webkit1 are advised to move to webkit2 as soon as possible. Webkit2 being available in most recent Linux distributions. In general we'd like to see it removed eventually, but for the time being SWT's Webkit1 support will still be available for some time for backwards compatibility, but clients are strongly advised to move to Webkit2 as soon as possible. As a note about your system packages, (depending on your distro), they usually mean: webkitgtk = Gtk2 with webkit1 bindings webkitgtk3 = Gtk3 with Webkit1 bindings webkitgtk4 = Gtk3 with Webkit2 bindings <<< This is what you want. (but naming may vary) To see which webkit version is used for your eclipse: export SWT_LIB_VERSIONS=1 ./eclipse and search for LIB_SWT * lines in your console. Feel free to ask away if you have questions.
*** Bug 354842 has been marked as a duplicate of this bug. ***
*** Bug 370215 has been marked as a duplicate of this bug. ***
*** Bug 527098 has been marked as a duplicate of this bug. ***
*** Bug 514484 has been marked as a duplicate of this bug. ***
*** Bug 510000 has been marked as a duplicate of this bug. ***
*** Bug 509658 has been marked as a duplicate of this bug. ***
Adding some keywords that help me identify this issue into subject, to make it easier for users to find this bug.
*** Bug 458128 has been marked as a duplicate of this bug. ***
(In reply to Leo Ufimtsev from comment #2) > To see which webkit version is used for your eclipse: > export SWT_LIB_VERSIONS=1 > ./eclipse > > and search for LIB_SWT * lines in your console. Shouldn't we just add this to the system properties, similar to what we already do for SWT GTK version? I doubt user will ever find this instruction above and do this before reporting bugs :-)
(In reply to Andrey Loskutov from comment #11) > Shouldn't we just add this to the system properties, similar to what we > already do for SWT GTK version? I doubt user will ever find this instruction > above and do this before reporting bugs :-) Thanks for mentioning this. Yea, actually webkitgtk version is already printed in system properties, just below gtk: org.eclipse.swt.internal.gtk.version=3.22.26 org.eclipse.swt.internal.webkitgtk.version=2.18.3 (Help -> about > installation details -> configuration. Search for 'webkitgtk') The versioning is a bit hard to understand thou. Translation: webkitgtk up to 2.4 = Webkit1. webkitgtk 2.5 and above = Webkit2. I should probably add it to "Copy build info" from help about right-click bit.
*** Bug 433570 has been marked as a duplicate of this bug. ***
*** Bug 410847 has been marked as a duplicate of this bug. ***
There is no WebKit1 support anymore, closing this ticket now.