osu icon indicating copy to clipboard operation
osu copied to clipboard

Closing the game keeps process open

Open wballeko opened this issue 6 months ago • 7 comments

Type

Other

Bug description

It appeared after a recent update within like a month or so from day of reporting, I'm using Windows 11. Discovered by opening task manager seeing: "osu!(lazer)" still there using up system resources after closing.

Steps to reproduce (on my machine):

  1. Open game;
  2. Close game; Inspect Task Manager for "osu!(lazer)"

I can provide a memory dump file of the process that stays open

Screenshots or videos

https://github.com/user-attachments/assets/620deb54-ecb3-44a4-906e-a2da486b92ce

Version

Tachyon 2026.509.0

Logs

compressed-logs.zip

wballeko avatar May 11 '26 10:05 wballeko

It also happens in linux

Neon095 avatar May 11 '26 17:05 Neon095

Needs further investigation. Can't replicate myself, but maybe related to SDL3.

peppy avatar May 18 '26 09:05 peppy

It seems to correspond to my XInput Controller that I purchased a month ago, if I unplug the controller (it's a Azeron Cyborg 2) the game seems to close without keeping anything open.

Edit: Going to do some more testing:

  • Behavior with the controller plugged in
  • Behavior without the controller plugged in
  • Behavior unplugging the controller while the game is open
  • Behavior plugging in the controller while the game is open

wballeko avatar May 18 '26 12:05 wballeko

Results of my tests:

Scenario Result
Controller plugged in from the start Game stays open after closing
Controller unplugged from the start Game closes properly
Controller plugged in from the start, then unplugged in-game Game freezes
Controller unplugged from the start, then plugged in in-game Game stays open after closing

https://github.com/user-attachments/assets/6be2cd9a-8a53-4477-9a37-8a2fcde9d15b

https://github.com/user-attachments/assets/b0ca0960-4745-40a4-881f-07400a14c0cc

https://github.com/user-attachments/assets/56b94e51-378c-4812-8e54-9699423b1b1c

https://github.com/user-attachments/assets/59810cb1-aab4-4123-a10f-7fe530dda48d

wballeko avatar May 18 '26 13:05 wballeko

cc @Susko3 (sdl probably borked here)

peppy avatar May 18 '26 14:05 peppy

Also not able to replicate. Tried on windows and linux.

We're using an older version of SDL3: https://github.com/libsdl-org/SDL/commit/550394eecdc250c7ce542a99f0c2b55683521656. Recent changelogs mention fixes for controllers, so let's try updating and see if this issue is fixed.

Susko3 avatar May 18 '26 15:05 Susko3

My issues seem to be resolved with: Tachyon 2026.522.1

Quickly tested the following

Scenario Result
Controller plugged in from the start Game closes properly
Controller unplugged from the start Game closes properly
Controller plugged in from the start, then unplugged in-game Game keeps working, closes properly
Controller unplugged from the start, then plugged in in-game Game keeps working, closes properly

Thanks!

wballeko avatar May 23 '26 07:05 wballeko