Skip to content

Eclipse STS standalone crashing on macos 15.4.1 #1551

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

Closed
MarcelHaldimann opened this issue Apr 25, 2025 · 8 comments
Closed

Eclipse STS standalone crashing on macos 15.4.1 #1551

MarcelHaldimann opened this issue Apr 25, 2025 · 8 comments
Labels
for: eclipse something that is specific for Eclipse status: waiting-for-feedback type: bug

Comments

@MarcelHaldimann
Copy link

Describe the bug
My STS Eclipse (standalone) keeps crashing on my Macbook air 15 M2 since I updated to macos Sequoia 15.4.1.

STS Version: 4.30.0 (4.30.0.202504180233)

Image

I have not found anything about this in the official Eclipse bugs.
https://bugs.eclipse.org

To Reproduce
I don't know how to reproduce it. It looks arbitrary to me.

Sample

I have attached the crash report.

crash-report.log

@martinlippert
Copy link
Member

I am running macOS 15.4.1 as well, but I haven't seen this crash yet, so let's try to figure out what is going wrong here and what is causing the crash. I have a few questions:

  • does it happen every time you start your Spring Tools 4.30.0 installation?
  • does it happen with a fresh install of Spring Tools 4.30.0 as well?
  • does it happen with a vanilla install of a pure Eclipse 2025-03 JEE package as well?

Would be awesome if you could walk through those items, hope that this points us in the right direction.

@MarcelHaldimann
Copy link
Author

Thank you for your feedback. Interesting.

  • does it happen every time you start your Spring Tools 4.30.0 installation?
    • Yes, sometimes after 5 minutes and sometimes ‘only’ after 30 minutes.
  • does it happen with a fresh install of Spring Tools 4.30.0 as well?
    • Yes, after the first 2-3 crashes I switched from an older version of STS to the latest one (same migrated workspace)
  • does it happen with a vanilla install of a pure Eclipse 2025-03 JEE package as well?
    • I can't say yet. But I will try to test it in the next few days. We programme RCP internally and I am always dependent on a specific version.

I will test whether it also crashes when no Spring server is started. We are still using JDK 17 internally.

openjdk 17.0.7 2023-04-18
OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)

@martinlippert
Copy link
Member

@MarcelHaldimann Running the latest versions of the Spring Tools (e.g. 4.30.0) requires a JDK 21 to run on, which comes included in the distribution, if you download that from https://spring.io/tools and run that and you should usually not change that, especially not reset that to a JDK 17.

But that is totally independent of the JDK that you can use to run your projects with - which can be anything between Java 5 and Java 24, I think.

You mentioned that you develop RCP applications, so I guess your target platform is a very specific version - but that - again - should be independent of the version of the IDE that you run.

Another question would be whether this happens if you install a fresh, but older version of the Spring Tools (e.g. 4.29.1). It sounds like you were using an older version initially. that crashed as well. Which version was that?

@martinlippert
Copy link
Member

I will test whether it also crashes when no Spring server is started. We are still using JDK 17 internally.

I am not exactly sure what you mean by this. Which Spring server? The IDE internal language server process? Or something else?

@MarcelHaldimann
Copy link
Author

I'll give you feedback as soon as I have time. Basically, I can work. I just have to reopen the IDE from time to time.

@martinlippert
Copy link
Member

In case you have an idea what exactly triggers the crash, let us know. From the crash log, it looks like some web technology is involved, so maybe some usage of the embedded browser control in popups (showing doc) or something like that. But this is just me guessing...

@MarcelHaldimann
Copy link
Author

I wasn’t very clear in my previous wording — sorry about that.

@MarcelHaldimann Running the latest versions of the Spring Tools (e.g. 4.30.0) requires a JDK 21 to run on, which comes included in the distribution, if you download that from https://spring.io/tools and run that and you should usually not change that, especially not reset that to a JDK 17.

Of course, STS is running with Java 21. I haven’t changed anything there, and any change would have to be done in the STS .ini file anyway.

What I actually meant to say is that our Spring services themselves are running with Java 17.

You mentioned that you develop RCP applications, so I guess your target platform is a very specific version - but that - again - should be independent of the version of the IDE that you run.

I only mentioned RCP because our client application is currently still implemented and released with RCP 2024-06. I can’t simply switch to a newer version for testing — I’d need to take some time, download Eclipse 2025-03, and write some code. As long as I’m not actively coding, nothing seems to happen.

My feeling is that the crash also occurs with version 4.29.1. Before updating to 4.30.0 on April 24, I was using 4.22.1.RELEASE, and that version also crashed for me.

In case you have an idea what exactly triggers the crash, let us know. From the crash log, it looks like some web technology is involved, so maybe some usage of the embedded browser control in popups (showing doc) or something like that. But this is just me guessing...

Based on the crash report, I’m also suspecting the internal browser to be the cause. I first tried disabling it via the .ini file using the following argument: -Dorg.eclipse.swt.browser.DefaultType=none Unfortunately, that didn’t help — and it also seems like the browser wasn’t actually disabled, as I was still able to launch the internal web browser from within STS.

  • This afternoon I worked more intensively with STS again, and I noticed a few things:
    • The crash also happens even when no Java application is launched from within STS — just editing code, without debugging.
  • I can’t shake the feeling that it always happens when I press Ctrl + Space (code completion).

I’ll try again over the weekend with Eclipse 2025-03 and implement something for testing.

More Logs.

hs_err_pid917.log
.log

@martinlippert
Copy link
Member

I think the issue as filed and discussed over here: eclipse-platform/eclipse.platform.swt#1978

Maybe the workaround mentioned here works for you, too: eclipse-platform/eclipse.platform.swt#1978 (comment)

I will close this one here as a duplicate of the one at Eclipse/SWT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse status: waiting-for-feedback type: bug
Projects
None yet
Development

No branches or pull requests

2 participants