-
Notifications
You must be signed in to change notification settings - Fork 123
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
[Wayland] Eclipse crashes on latest Ubuntu #158
Comments
Please attach /home/vogella/dev/eclipse-2022-05-05/eclipse/hs_err_pid6457.log and exact versions of gtk / cairo libraries. |
Note that the latest 17.x version is currently 17.0.3+7 though it's unlikely a bug in the JVM.... |
It seems this is the same crash. Eclipse is very unstable, it also exhibits jittery display in the Project Explorer, triggered by mouse moves. Crashes often when code assist popups Are shown. Behaviour was the same on JDK17. |
@mutatrum : Is the crash reproducible? If yes, please provide steps to reproduce. Looks like you are using wayland. Can you please switch to X11? |
Sorry was on holiday. Cairo library:
Here is the log (can't attach all was it is too long)
|
Way to reproduce:
Bye bye Eclipse |
@vogella : are you also using wayland? If yes, can you please switch to X11 & check if that will still crash? |
@nnemkin @akurtakov @niraj-modi FYI this bugs makes Eclipse impossible to use with latest Ubuntu. |
Works fine with X11. Still a critial bug as Ubuntus deault is Wayland. |
Couple of queries: @sravanlakkimsetti @joel-majano |
Is your ubuntu fully uptodate? |
Same on Debian 10 Eclipse crashes frequently and unpredictably under Debian 10. It could not be reproduced yet. In a forum there was a tip to start Eclipse with the command line option -Djdk.gtk.version=2. But that does not help. Eclipse is therefore no longer usable under Debian, which is very regrettable. Please check one of the crash-reports: Operating System: Debian GNU/Linux 10 (buster) Output of "Help->About Eclipse-> "Copy build Id informatin to clipboard": Eclipse IDE for Java Developers (includes Incubating components) My Eclipse is running with openjdk version "11.0.15" 2022-04-19. |
This is a different crash related to webkit. Please open this as a separate issue. |
OK, sorry. I did open a new issue. |
I tried to reproduce this problem on Ubuntu 22.04 Cannot reproduce this problem. Tried using gnome and Ubuntu desktop environments. From the description I think the help web app is not getting launched. |
@sravanlakkimsetti : have you tried with Wayland or X11? It crashes on Wayland only, at least for Lars, see above. |
I used wayland |
Note, that there are few bugs reporting same crash in I wonder if there is some additional precondition for the crash. |
I have some feeling it could be even driver specific issue. |
For me It started on Ubuntu 21.10/JDK 17.0.3+7, Eclipse 4.23. It also occured on 4.22M3: The steps above (Welcome -> Migrate -> Eclipse platform) seem to trigger it. Other than that, I have no clear reproduction steps, but the first sign is flickering of the text in the project view. Flickering is triggered by cursor and mouse movement, however, the flickering is not there on startup. The use of a console or terminal view seems to initiate the flickering. One side-effect I sometimes see: after a refactoring, the edit pane is briefly showing colored diagonal lines. Screenshot of the edit pane, this flashes for a few 100ms, after a refactor: Not sure if this is related, but I can't remember this seeing before. |
Yes |
Yes. Ubuntu 22.04, gnome 42.1, libgtk-3-0:amd64 3.24.33-1ubuntu2 |
I tried to reproduce. |
For those who can reproduce it:
I never tried these steps myself (with Eclipse), hopefully it will work as intended. |
Note that the dump will likely contain all memory of eclipse's process, which may include sources you opened, password, etc. So it's a good idea to reproduce with a clean workspace. |
I got a similar issue with Eclipse 2022-03 on Ubuntu 2204 Jammy Jellyfish. After one or more class, method, or variable renamings, the Java editor window becomes the same as the screenshot of the post of mutatrum above for a couple of seconds. Then, the memory usage of Eclipse starts growing until Eclipse crashes. Didn't observe the same behavior on Ubuntu 2004 Focal Fossa. |
@AmiDavidW could you please follow steps from #158 (comment) to capture a core dump? |
The issue originally reported on this ticket has nothing to do with current problem we're all facing. |
@BrotherPatrix As far as I know the issue should be fixed already and that fix would be included in 2024-06. See this comment for example. See this for installing a release candidate if you want to test it. |
Original issue involved Ubuntu, then people realized it's something more specific and agrees which I assume is the reason why this is still open. I don't see a mistake here.
Cool, the version I downloaded today was 2024-03 so maybe it's just around the corner. Will be looking forward to it. Thanks for the heads up! |
The original issue has nothing to do with the current one. |
As a general remarks, even though the state of the original issue seems to be not absolutely clear: |
So basically what you are saying is that you don't see this as an important issue so you're going to work on something you think is important. I might not have a good demographic about the situation, like how many users are affected because of this, and judging by the number of comments here, you are probably right, also a lot of people that probably don't like Wayland and would like to stick to X11. I'm just stating my two cents, that this is bad not only for me, I am happy though that I did find a temporary solution. That's it!
But this?! And I want to emphasize on the contributing to a quality solution statement. Are you telling me that this issue requires a quality fix? Listen, I do programming, and I can understand the technical complications that can arise Here is my reality: |
Other Eclipse-based software, such as Talend Open Studio, are affected by the bug and cannot run on Wayland. |
Wayland has more than an issue with libwebkit2gtk. |
It's sad, but after ~20 years using Eclipse as my main IDE, I finally moved to IntelliJ Idea because of this bug. |
Good news! Just to clarify Eclipse 4.32 is already in RC1 and should reach stable soon. |
It's not that I don't think it is important, but at least I personally can't work on this since I lack the knowledge about the SWT native part especially on Wayland because I'm mainly on Windows. And for others it might be the same or maybe they have things to do that are more important for them. As said we are a community and we cannot force anybody to work on any specific topic. Maybe one day some employer instructs an employee to work on this or somebody hires a contractor or someone whose capable just fixes it because it's annoying to that person: Since you asked why this is not resolved I just wanted to explain the situation.
This statement's intend was to encourage you or anyone else interested in this to contribute to a solution that solves the issue, ideally in a sustainable and durable way (as everyone is interested in such solutions). If this was ambiguous, I'm sorry. |
Thank you for reporting back good news.
Yes the 4.32 release general availability is planned for Wednesday next week, June 12th: But everyone can already test RC1 from: |
@HannesWell |
@HannesWell we moved to the I-Build with one of our Ubuntu installations in which the Eclipse IDE constantly crashes whenever we try to open a JS or css file. So far so good, we did not had a crash for 10 minutes now. A new record on this machine. |
@vogella |
At least it does not happen anymore with the latest I-build. I think we saw this issue with and without WWD but as it does no happen anymore, I cannot be 100% sure. |
For me it works with the 2024-06 release candidate while 2024-03 crashes with the |
@danthe1st |
I am using EDIT:
|
I'm hitting this problem even on Eclipse 2024-06 RC1, and I have to use the GDK_BACKEND=x11 workaround. |
I downloaded the last Eclipse IDE 2024-06 yesterday (Version 4.32.0).
|
The RC1 is crashing too, but it seems from different reason (I have same lib versions as @gustabart ). Also sometimes context menus are lagging for a minute, but that happens on Thunderbird too, so maybe that is something between Wayland and GTK. I also noticed that I was able to restart kwin when running X11 with |
Sadly, after upgrading to Ubuntu 24.04 & Eclipse 2024-06, the Wayland session restarts without any warning, |
I can see it on the Kubuntu 22.04.4 too with the latest final Eclipse IDE version:
With |
I had a similar issue with the latest release (startup takes some time while resolving OSGi modules) though reinstalling Eclipse worked for me. You can try using the
Is that the same error as above?
This may be a GTk bug IIRC. |
@vogella can we assume that the original issue has been resolved and can close this one? |
Eclipse runs fine for me on latest Ubuntu. Feel free to close |
Thanks for the update. Ok, closing this. |
I ended up here recently after searching the very generic error message at the top. It's worth emphasising for anyone else that gets here now that if you're still getting the issue with eclipse, it's worth trying to |
Eclipse IDE frequently crashs for me on the latest Ubuntu release.
Eclipse SDK
Version: 2022-06 (4.24)
Build id: I20220512-1800
OS: Linux, v.5.15.0-27-generic, x86_64 / gtk 3.24.33, WebKit 2.36.0
Java vendor: Eclipse Adoptium
Java runtime version: 17.0.1+12
Java version: 17.0.1
Error:
The text was updated successfully, but these errors were encountered: