-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
Spring version 2.7.8 : Deadlock when the application context is closed and System.exit(int) is then called #35854
Comments
Thanks for the report. It sounds very similar to #27049 but it's hard to be certain with only a thread dump to look at. I suspect there must be some subtle difference as #27049 should not occur with Spring Boot 2.7.8. First of all, please try upgrading to the latest 2.7.x release. If the problem still occurs and you would like us to spend some more time investigating, please spend some time creating a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Hi team, we are using Spring 2.7.8 version. Our application is going in deadlock state after System.exit(1) is called as part of handling exception.
package com.example.demo;
Below is the threaddump of the application for reference.
2023-06-08 19:38:55
Full thread dump OpenJDK 64-Bit Server VM (11.0.15+10-LTS mixed mode):
It's SpringApplicationShutdownHook and main that are deadlocked.
The text was updated successfully, but these errors were encountered: