Skip to content
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

bloop run not killing processes when exited #2398

Open
kubukoz opened this issue Aug 13, 2024 · 0 comments
Open

bloop run not killing processes when exited #2398

kubukoz opened this issue Aug 13, 2024 · 0 comments
Labels
bug A defect or misbehaviour. needs reproduction

Comments

@kubukoz
Copy link
Contributor

kubukoz commented Aug 13, 2024

This is a bit of a flaky / hard to reproduce issue (by nature), so I apologize upfront for the lack of a reliable reproduction.

Every now and then, after using a bloop (usually started by Metals for an sbt+bloop project) for some time, when I use bloop run <proj>, it will no longer kill processes it starts.

I always interrupt these bloop run calls with ctrl+c, and it does exit pretty much immediately, but on the rare occasion it'll keep the application running. Usually there's an HTTP server in the app, and the outcome showcases as "Address already in use" when I make another attempt to bloop run. This can also be detected with lsof -i :8080 (for example).

Worth noting: once this "happens once", I believe any further attempt to bloop run will not exit properly, i.e. this is something that persists until the server is killed itself - it's not random in that sense.

I just wanted to document this issue (and possibly find out if it's a duplicate), until I have a proper reproduction I don't expect it to be easily fixable.

@tgodzik tgodzik added bug A defect or misbehaviour. needs reproduction labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect or misbehaviour. needs reproduction
Projects
None yet
Development

No branches or pull requests

2 participants