Community
Participate
Working Groups
Build Identifier: I20110613-1736 Eclipse sometimes (seemingly randomly) crashes when rendering the Javadoc tooltip that appears when mouse hovering over an item (variable, class, etc). It doesn't happen always, nor is it consistently reproducible. At the very least I haven't been able to trigger it manually. I'll attach the 3 hs_err logfiles I got so far. Reproducible: Couldn't Reproduce Steps to Reproduce: 1. Hover the mouse pointer over an item with Javadoc 2. Eclipse crashes 3.
Created attachment 201780 [details] hs_err log 1/3
Created attachment 201781 [details] hs_err 2/3
Created attachment 201782 [details] hs_err log 3/3
What versions of WebKit GTK+ do you have installed?
org.eclipse.swt.gtk.linux.x86_64 (3.7.0.v3735b) "Standard Widget Toolkit for GTK 2.0"
(In reply to comment #5) > org.eclipse.swt.gtk.linux.x86_64 (3.7.0.v3735b) "Standard Widget Toolkit for > GTK 2.0" That would be SWT. Not WebKit GTK+.
(In reply to comment #6) > (In reply to comment #5) > > org.eclipse.swt.gtk.linux.x86_64 (3.7.0.v3735b) "Standard Widget Toolkit for > > GTK 2.0" > > That would be SWT. Not WebKit GTK+. Hmm... Sorry. That's the only reasonable reference I could find to GTK in the Eclipse configuration, so I figured that it would have to be this one. I have a libwebkit package installed with version 1.2.4-ubuntu1 (and I can upgrade to 1.2.5, apparently.) If that's not the one you mean, please give me a pointer to where I have to look :)
I haven't heard of a crash at this location before, and all of the pointer sizes in the native call look correct. Can you see if upgrading to WebKitGTK 1.2.5 helps? And, which Ubuntu release are you using? Relevant stack: j org.eclipse.swt.internal.webkit.WebKitGTK._JSEvaluateScript(JJJJI[J)J+0 j org.eclipse.swt.internal.webkit.WebKitGTK.JSEvaluateScript(JJJJI[J)J+17 j org.eclipse.swt.browser.WebKit.execute(Ljava/lang/String;)Z+123 j org.eclipse.swt.browser.WebKit.addEventHandlers(Z)V+120 j org.eclipse.swt.browser.WebKit.webkit_window_object_cleared(JJJJ)J+145 j org.eclipse.swt.browser.WebKit.webViewProc(JJJJJ)J+42 j org.eclipse.swt.browser.WebKit.Proc(JJJJJ)J+58
(In reply to comment #8) > Can you see if upgrading to WebKitGTK 1.2.5 helps? Sure, I'll give it a try. I don't upgrade at every opportunity, but this sounds like a good time :) I'll report back if the issue persists after upgrading. > And, which Ubuntu release are you using? Linux Mint 10, so that would be Maverick Meerkat, 10.10.
(In reply to comment #9) > Sure, I'll give it a try. I don't upgrade at every opportunity, but this sounds > like a good time :) > I'll report back if the issue persists after upgrading. As promised: I updated my libwebkit (to 1.2.7-0ubuntu0.10.10.1) just over a week ago, didn't have the crash for a while, but today it happened again. Same stack from WebKit.Proc up to WebKitGTK._JSEvaluateScript.
I Installed Indigo on 9/7/11 and have had eclipse crash 20 times since then. Digging into the logs I find that almost all the crashes reports start... J org.eclipse.swt.internal.webkit.WebKitGTK._JSEvaluateScript(JJJJI[J)J J org.eclipse.swt.internal.webkit.WebKitGTK.JSEvaluateScript(JJJJI[J)J J org.eclipse.swt.browser.WebKit.execute(Ljava/lang/String;)Z j org.eclipse.swt.browser.WebKit.addEventHandlers(Z)V+120 j org.eclipse.swt.browser.WebKit.webkit_window_object_cleared(JJJJ)J+145 j org.eclipse.swt.browser.WebKit.webViewProc(JJJJJ)J+42 j org.eclipse.swt.browser.WebKit.Proc(JJJJJ)J+58 I notice these are missing the +17 and +123 suffixes from the second and third lines compared to the stack posted by Grant. I also have a couple that are the same as the one Grant posted. Not sure if that's relevant. I'm using Ubuntu 10.10, and have libwebkit-1.0.2 version 1.2.7-0ubuntu0.10.10.1 installed. Sometimes this doesn't happen for a few days at a time. Today it's happened a few times in the last hour or so. I found Helios to be completely stable. Never had any crashes with it. Any suggestions besides going back to Helios?
This unfortunately happened to me, too. As the last update was back in 2011, this doesn't seem to be too promising. I'm running Ubuntu Lucid Lynx, and the libwebkit version that it's using is 1.2.7-0ubuntu0.10.04.1. I can try switching it to another version to see if that helps. One oddity that I've been using is: export GDK_NATIVE_WINDOWS=1 I'm now trying Eclipse without that environment variable set. I think that was being used for an earlier problem years ago, and not having it might (hopefully) fix this latest issue.
Created attachment 227310 [details] JVM crash log for Eclipse Juno
As an update, I haven't had a single crash since I removed "export GDK_NATIVE_WINDOWS=1" from my environment when starting Eclipse, and I've hovered over a lot of items to see JavaDoc tooltips to see if I can get it to crash, too. This may be an effective workaround..
(In reply to Steven Lawrance from comment #14) > As an update, I haven't had a single crash since I removed "export > GDK_NATIVE_WINDOWS=1" from my environment when starting Eclipse, and I've > hovered over a lot of items to see JavaDoc tooltips to see if I can get it > to crash, too. This may be an effective workaround.. As per this report I'm closing the bug as it seems to been caused by your env. Plus GDK_NATIVE_WINDOWS is not supported anymore in GTK3.
Please reopen this bug. I do not use GDK_NATIVE_WINDOWS and I have exactly the same problems since I switched from Helios to Juno. The other reporters on this bug also did not mention having used GDK_NATIVE_WINDOWS, so this is not INVALID.