Steam will not shut down after exiting

Hi all!

As of a couple of days I have had an issue with steam not wanting to shut down properly. So to reproduce, you start steam, close the window, right click the steam icon and press “exit steam”. From here it will not shut down. I have got the logs from the terminal that runs when I shut it down.

bin_steam.sh[2045]: Repairing installation, linking /home/user/.steam/steam to /home/user/.local/share/Steam
steam.sh[2045]: Running Steam on endeavouros rolling 64-bit
steam.sh[2045]: STEAM_RUNTIME is enabled automatically
setup.sh[2124]: Steam runtime environment up-to-date!
steam.sh[2045]: Steam client's requirements are satisfied
max open descriptors set to 9216
[2022-02-13 14:20:01] Startup - updater built Jan 16 2022 17:34:43
Installing breakpad exception handler for appid(steam)/version(1642451672)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2022-02-13 14:20:02] Loading cached metrics from disk (/home/user/.local/share/Steam/package/steam_client_metrics.bin)
[2022-02-13 14:20:02] Using the following download hosts for Public, Realm steamglobal
[2022-02-13 14:20:02] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-02-13 14:20:02] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-02-13 14:20:02] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1642451672)
[2022-02-13 14:20:02] Checking for update on startup
[2022-02-13 14:20:02] Checking for available updates...
[2022-02-13 14:20:02] Downloading manifest: https://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1642451672)
[2022-02-13 14:20:02] Download skipped: /client/steam_client_ubuntu12 version 1642451672, installed version 1642451672, existing pending version 0
[2022-02-13 14:20:02] Nothing to do
[2022-02-13 14:20:02] Verifying installation...
[2022-02-13 14:20:02] Performing checksum verification of executable files
[2022-02-13 14:20:03] Verification complete
Loaded SDL version 2.0.20-7009179
Gtk-Message: 14:20:03.454: Failed to load module "appmenu-gtk-module"
Gtk-Message: 14:20:03.458: Failed to load module "appmenu-gtk-module"
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'

(steam:2196): Gtk-WARNING **: 14:20:03.465: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
Installing breakpad exception handler for appid(steam)/version(1642451672)
steamwebhelper.sh[2210]: Runtime for steamwebhelper: defaulting to /home/user/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
CAppInfoCacheReadFromDiskThread took 33 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
Opted-in Controller Mask for AppId 0: 0
Installing breakpad exception handler for appid(steam)/version(1642451672)

(steam:2196): Gtk-WARNING **: 14:20:29.111: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1642451672)
Installing breakpad exception handler for appid(steam)/version(1642451672)
roaming config store loaded successfully - 433 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 6ms
Installing breakpad exception handler for appid(steam)/version(1642451672)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/user/.local/share/Steam/ubuntu12_32/steam'"
System startup time: 28.35 seconds
BuildCompleteAppOverviewChange: 123
RegisterForAppOverview 1: 5ms
RegisterForAppOverview 2: 5ms
Installing breakpad exception handler for appid(steam)/version(1642451672)
src/common/pipes.cpp (885) : stalled cross-thread pipe.
src/common/pipes.cpp (885) : stalled cross-thread pipe.
Installing breakpad exception handler for appid(steam)/version(1642451672)
assert_20220213142144_30.dmp[2770]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220213142144_30.dmp
src/clientdll/steamclient.cpp (854) : bufRet.TellPut() == sizeof(uint8)
src/clientdll/steamclient.cpp (854) : bufRet.TellPut() == sizeof(uint8)
assert_20220213142144_30.dmp[2770]: Finished uploading minidump (out-of-process): success = yes
assert_20220213142144_30.dmp[2770]: response: CrashID=bp-06e5a7c1-6907-4eb8-8d49-0d33f2220213
assert_20220213142144_30.dmp[2770]: file ''/tmp/dumps/assert_20220213142144_30.dmp'', upload yes: ''CrashID=bp-06e5a7c1-6907-4eb8-8d49-0d33f2220213''
Thread "CJobMgr::m_WorkThreadPool:2" (ID 2316) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:2" (ID 2316) failed to shut down

I have tried googling the issue of course, most of the problem would be caused by pre-shader caching, but turning that option on or off doesn’t do anything to solve this issue. Does anyone know a solution to this problem?

I also want to note some behavior of steam I have found to be quite interesting trying to solve this issue by myself. When re-installing steam, and by re-installing I mean purging everything steam related, even “all” hidden folders/files on my laptop and re-installing it, it still has some persistent storage somewhere on my device which I do not quite enjoy.

What happens is the following, I have like 3 games on my laptop, when purging steam, I expect every single one of those games to be removed. I made sure this happens because I removed the “.steam” folder in my home directory where these games are supposed to be stored. However, after re-installing steam, they immediately re-appear, along with the “.steam” folder, which I made sure was completely gone. So I looked up ways to completely remove steam from my system and basically every single one of them is doing the same thing as I am.

So does anyone know why this is happening? Does anyone know a way I can “nuke” steam from my device such that when I install it again it is as clean as it can get?

I had the same yesterday, steam would’t close properly after gaming and did not investigate yet. Gaming so occasionally, also need to update this eos install.

What concerns your folder, when you reinstall steam you select what will be installed or updated in steam. If you delete your games it needs to redownload them first. You should be able to make this selection in steam itself.

Thats the thing, when I redownload steam and run it, it doesn’t need to redownload anything. All files just pop up out of nowhere including all the games. Thats what I find weird, it keeps a copy somewhere but I cannot figure out where

Ok will check where I can find them. Must be somewhere in your home folder.

Probably here:

Mine defaults to ~/.steam.

1 Like

If i am not completely wrong, downloaded games are not deleted when uninstalling steam.
So, as long as you stick with the default library path, steam will always find the library at first startup; in case you added a custom path, you just add this library path to your freshly installed client and the games are available.

Yeah I know they are not deleted. Thats why I purge every directory that has anything to do with steam. Yet it still finds it somewhere and moves it to /.local/share/steam.

I don’t know what happened, but somehow the reappearing stopped happening, so I guess I scrubbed my drive good.

Just to come to a conclusion for everyone reading this, it turns out that my optimus-manager just had to be rebuilt. Everything works fine now.

If you wonder how to rebuild optimus-manager there is a post about it on the EOS website.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.