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

Minecraft process doesn't completely exit on some linux setups #853

Open
RyanTheAllmighty opened this issue Nov 23, 2023 · 3 comments
Open
Labels
bug Confirmed bugs or reports that are very likely to be bugs. low-priority Low priority to be addressed.

Comments

@RyanTheAllmighty
Copy link
Member

RyanTheAllmighty commented Nov 23, 2023

What happened?

After exiting Minecraft from within the game, the process stays around and the launcher doesn't show again (because the process is still active according to the operating system).

Kill Minecraft button does nothing. Likely process has been sent a kill signal, but is hung or otherwise not responding.

Have seen this with 3 users:

  1. Installed through deb file on Pop!_OS 22.04
  2. Installed through flatpak on Linux Mint (unknown version)
  3. Installed through deb file on Linux Mint (unknown version)

Need to see if it's something we can reproduce and understand what's going on, and maybe also see if we can send custom kill signals to the MC process on linux for these cases if we cannot determine any other cause

@RyanTheAllmighty RyanTheAllmighty added bug Confirmed bugs or reports that are very likely to be bugs. triage Issue has not been looked at to classify and validate. low-priority Low priority to be addressed. and removed triage Issue has not been looked at to classify and validate. labels Nov 23, 2023
@Doomsdayrs
Copy link
Collaborator

I've seen this happened in other programs too.

The way to solve it is to forcefully kill a process, using kill -9 PID

@CoolCat467
Copy link

I have also seen this on my system using java -jar ATLauncher.jar, and my current workaround is to always launch ATLauncher manually from the terminal and if it ever hangs with Logging in to Minecraft or Minecraft itself won't close with the Kill Minecraft button, I can just control+C in the terminal that's running ATLauncher and everything closes.

@DanQuin9
Copy link

DanQuin9 commented Dec 1, 2023

Just to add to this, it is also happening on my EndeavorOS system with atlauncher installed through the AUR.

Log shows minecraft hanging at

Shutting down map thread

This happens on Prism launcher as well where the game will not fully shutdown but the Kill button in Prism Launcher does kill minecraft once it hangs unlike ATlauncher. Some modpacks close fine.

Current workaround for me is to use the Kill Minecraft option instead of hitting Quit from in game. I'll see if I can upload some logs later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs. low-priority Low priority to be addressed.
Development

No branches or pull requests

4 participants