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 is crashing in SUSE platform #212
Comments
You would have to tell us a lot more before your report could be actionable at least in theory. |
Also SLES 15 has been released 4 years ago and 12 is no longer on our target env list https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_25.xml#target_environments%20plan |
When the JVM crashes you should report it to the JVM vendor and hope you got a service contract. |
The eclipse was crashing when we are opening a workspace, sorry I missed to add the step. Ok anyways thanks for the info you shared. |
@jukzi JVM crash happens more often due to bugs in SWT than bugs in the JVM itself. |
Thats sounds perfect! Thanks @akurtakov I will try with latest eclipse and update. |
I tried with the latest eclipse (2022-09, platform 4.25) and I am getting the same crash.
Platform details below: The log says : JVM terminated, Exit code=127 |
SLES 12 is not supported, see above |
I too face the same issue in SLES 12, sorry to hear that we don't have support for that. |
@iloveeclipse @akurtakov @jonahgraham @jukzi I had to build the .so files used for gtk.linux locally for this. When I was doing that I created the .so files using
|
@vishnusarathashling I wanted to let you know that I saw your comment/questions. But I don't have anything really to offer here. The mentioned commit did indeed make the min version 3.22 nearly 7 years after GTK 3.22 was released. As you can see from the commit, the reason for doing this was in part to remove lots of special case code. All I can recommend is if you need GTK < 3.22 that you continue to use SWT / Platform that was released before this change. Of course if you want to rebuilt SWT for your own use as you have started to do, you are welcome to. But I don't think there is time from the people you tagged to support this old version of GTK with a new version of Eclipse. |
Thanks @jonahgraham I got your point, but I am in real need of latest eclipse support with GTK3.20. So I have no way other than going with the build. Actually I am able to build it and it's working fine in 3.20. But I have a question like I built the .so files using
|
@vishnusarathashling maybe it would help to open a PR with the changes you made? Maybe they are simple enough to be included in the current SWT code, I assume it is not required to redo the whole commit but just adjust some code pathes? |
@laeubi We were planning to go for reverting almost all the JNI call areas in the above mentioned commit, since in one way or another it might cause an issue for us since we need to support 3.20 GTK version. So basically it would be complete revert of the that commit. Anyway I will try to raise a PR ASAP. It would be really helpful if someone could answer me on this, Are the current gtk built .so files built just for GTK3 ( I mean the seven .so files in org.eclipse.swt.gtk.linux.x86_64 including libswt-pi3-gtk-4960r6.so) or latest SWT will work on a platform running with GTK4 also? I am a bit confused on this. Basically I want to confirm whether how we will be able to support in GTK4 platform also, with the .so file built for GTK3 (using -gtk3 command)? |
@laeubi As per Jonah's comment above it is evident that we have removed the special case codes intentionally. What I did is just bringing back those portion of codes and the JNI function involved in that (in our latest swt code). I think in a framework perspective, those may not be relevant, so I think there is no point in me raising a PR with those special case codes reverted. I will just go with the swt patch for my product. |
Eclipse is crashing in SUSE platform.
NAME="SLES"
VERSION="12-SP5"
VERSION_ID="12.5"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP5"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp5"
The text was updated successfully, but these errors were encountered: