-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse crashes after upgrade of libwebkit2gtk to 2.44.x #1230
Comments
Thanks @4javier for the details summarized here, much appreciated. The fix will be included in the In the meantime, we also already run snapshot builds for the Eclipse 2024-06 milestone builds, so you can get an early snapshot build of Spring Tools 4 for Eclipse |
Unfortunately, nightly build kills the whole gnome-shell in the same situation
|
Does Eclipse 2024-06 M1 itself also crashes? |
Yes, same issue. |
Facing same issue with Spring Tool Suite 4 Version: 4.21.0.RELEASE |
@tntra-dhananjay The mentioned workaround works for you as well? |
Facing same issue. |
@martinlippert - following solution worked for me Added WEBKIT_DISABLE_COMPOSITING_MODE=1 in Exec |
Thank you! |
As expected, issue still present with STS 4.22.1 released two days ago. |
@4javier Can you give the latest early snapshot builds on Eclipse 2024-06 from https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html a try? |
I am facing the same issue, my STS keeps on crashing whenever I start typing something. My STS details :
Error Log file : |
Thanks for pointing that out, fixed with 1d927b7 (might take a little while until it promotes to the page) |
@akhil-finvasia Since this is an upstream issue in Eclipse/SWT, please join the discussion in the referenced issue and - if possible - provide your details over there. As soon as the fix becomes available, we can include that in the snapshot builds of the Spring Tools distribution builds. Until then, I hope that the mentioned workarounds work for you as well. |
I'm using wayland and |
This works for me, I'm using Fedora 39 Gnome, sts 4.22.1.RELEASE, java 17. |
Nevermind, crash when I open the marketplace windows |
That was the first thing I tried. I can successfully open the market place. Sorry to hear, Mike :(. Previously I also set Regards |
Just try the X11 backend |
Its working now, thanks! |
Just an update: |
@4javier Thanks for the update on this. With that, I will go ahead and close this issue as fixed. Would be great if people observing this issue could give the latest nightly builds on Eclipse 4.32 a try: https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html. That will turn into the next Spring Tools 4.23.0 release next week. |
Just remember that what made the difference for me, was the upgrade of wayland to 4.23.0. |
Version 2.44.0 of the lib gets shipped with the upgrade to Gnome 46 (more or less, maybe not a direct dependency).
This already happened on Arch, so it will be soon widespread on other distros.
Eclipse (and as a consequence STS) hangs then dump often, specifically when a popup is triggered by hovering on some elements and alike.
This is the typical hs_err_pidXXX.log confirming the issue after crash
The issue seems to be related to hardware acceleration in Wayland, so a suggested workaround is to use X server emulation, launching STS with
I can confirm it works, and that issue is still present in libwebkit2gtk 2.44.1 released a couple days ago.
The problem is tracked down upstream by Eclipse devs, but unfortunately it looks like a really old ghost-bug not even Gnome devs have been able to solve in years, so they decided to follow the same path of some official Gnome packages disabling hardware acceleration.
This is the fix pushed upstream
eclipse-platform/eclipse.platform.swt@d76f147
I'd suggest to realease a STS version based on a build including the fix.
Maybe latest milestone one?
https://github.com/eclipse-platform/eclipse.platform.swt/releases/tag/S4_32_0_M1
Cheers
The text was updated successfully, but these errors were encountered: