protonscr

Steam does not shut down properly in KDE

steamclosed
ValveSoftware/steam-for-linux#7233 · opened 2020-06-30 by amitavmohanty01 · updated 2021-08-09 · 4 comments · github
Aamitavmohanty01 2020-06-30 github

Your system information

  • Steam client version (build number or date): June 4, 2020
  • Distribution (e.g. Ubuntu): Arch linux
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

In KDE Plasma, Steam was having shut down problems. The steps are described below. After step #5, steam is supposed to quit gracefully but it became a defunct process.

To dig deeper, I ran it from command line. I got the following log.

Game 570 method call count for IClientHTTP::SetHTTPRequestContextValue : 4
Game 570 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
Game 570 method call count for IClientHTTP::GetHTTPResponseHeaderValue : 3
Game 570 method call count for IClientHTTP::GetHTTPResponseHeaderSize : 3
Game 570 method call count for IClientHTTP::CreateHTTPRequest : 6
Game 570 method call count for IClientUGC::SendQueryUGCRequest : 12
Game 570 method call count for IClientUGC::GetQueryUGCPreviewURL : 486
Game 570 method call count for IClientUGC::GetQueryUGCNumKeyValueTags : 484
Game 570 method call count for IClientUGC::GetQueryUGCKeyValueTag : 1058
Game 570 method call count for IClientUGC::ReleaseQueryUGCRequest : 12
Game 570 method call count for IClientUGC::SetReturnKeyValueTags : 12
Game 570 method call count for IClientUGC::SetReturnLongDescription : 12
Game 570 method call count for IClientUGC::CreateQueryUserUGCRequest : 12
Game 570 method call count for IClientUGC::GetQueryUGCResult : 486
Game 570 method call count for IClientUGC::GetQueryUGCStatistic : 1458
Game 570 method call count for IClientAppDisableUpdate::SetAppUpdateDisabledSecondsRemaining : 1
Uploaded AppInterfaceStats to Steam
Exiting app 570
No cached sticky mapping in ActivateActionSet./data/src/common/pipes.cpp (774) : Assertion Failed: stalled cross-thread pipe
/data/src/common/pipes.cpp (774) : Assertion Failed: stalled cross-thread pipe
Installing breakpad exception handler for appid(steam)/version(1591251555)
crash_20200630154923_76.dmp[3233]: Uploading dump (out-of-process)
/tmp/dumps/crash_20200630154923_76.dmp
/data/src/clientdll/steamclient.cpp (793) : Assertion Failed: bufRet.TellPut() == sizeof(uint8)
/data/src/clientdll/steamclient.cpp (793) : Assertion Failed: bufRet.TellPut() == sizeof(uint8)
crash_20200630154923_76.dmp[3233]: Finished uploading minidump (out-of-process): success = yes
crash_20200630154923_76.dmp[3233]: response: CrashID=bp-74f08ebb-4540-4cb1-aa25-e9b5b2200630
crash_20200630154923_76.dmp[3233]: file ''/tmp/dumps/crash_20200630154923_76.dmp'', upload yes: ''CrashID=bp-74f08ebb-4540-4cb1-aa25-e9b5b2200630''
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
/data/src/clientdll/shadercachemanager/shadercacheimplmesa.cpp (203) : Assertion Failed: Unknown version 0 for Mesa cache entry!
/data/src/clientdll/shadercachemanager/shadercacheimplmesa.cpp (203) : Assertion Failed: Unknown version 0 for Mesa cache entry!
Installing breakpad exception handler for appid(steam)/version(1591251555)
crash_20200630154949_78.dmp[3274]: Uploading dump (out-of-process)
/tmp/dumps/crash_20200630154949_78.dmp
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
crash_20200630154949_78.dmp[3274]: Finished uploading minidump (out-of-process): success = yes
crash_20200630154949_78.dmp[3274]: response: CrashID=bp-6d30e7c2-7e44-4fe1-a62b-e4b8a2200630
crash_20200630154949_78.dmp[3274]: file ''/tmp/dumps/crash_20200630154949_78.dmp'', upload yes: ''CrashID=bp-6d30e7c2-7e44-4fe1-a62b-e4b8a2200630''
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
^CThread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
^C^CThread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
[2020-06-30 15:57:47] Background update loop checking for update. . .
[2020-06-30 15:57:47] Checking for available updates...
[2020-06-30 15:57:47] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Thread "CJobMgr::m_WorkThreadPool:3" (ID 2989) failed to shut down
Exiting workitem thread
[2020-06-30 15:58:55] Shutdown
[2020-06-30 15:58:56] Error: Download failed: http error 0

I am also attaching the crash dumps herewith.
kde.zip

Steps for reproducing this issue:

  1. Start steam
  2. Log in
  3. Start Dota
  4. Close Dota
  5. Quit steam
Aamitavmohanty01 2020-06-30 github

Please let me know if this will help.

Aamitavmohanty01 2020-06-30 github

I tried using the file associations as suggested in the link in the previous comment and instead of two crash dumps I got one.

Game 570 method call count for IClientUGC::SetReturnKeyValueTags : 12
Game 570 method call count for IClientUGC::SetReturnLongDescription : 12
Game 570 method call count for IClientUGC::CreateQueryUserUGCRequest : 12
Game 570 method call count for IClientUGC::GetQueryUGCResult : 486
Game 570 method call count for IClientUGC::GetQueryUGCStatistic : 1458
Game 570 method call count for IClientAppDisableUpdate::SetAppUpdateDisabledSecondsRemaining : 1
Uploaded AppInterfaceStats to Steam
Exiting app 570
No cached sticky mapping in ActivateActionSet./data/src/clientdll/shadercachemanager/shadercacheimplmesa.cpp (203) : Assertion Failed: Unknown version 0 for Mesa cache entry!
/data/src/clientdll/shadercachemanager/shadercacheimplmesa.cpp (203) : Assertion Failed: Unknown version 0 for Mesa cache entry!
Installing breakpad exception handler for appid(steam)/version(1591251555)
assert_20200630163942_30.dmp[5007]: Uploading dump (out-of-process)
/tmp/dumps/assert_20200630163942_30.dmp
assert_20200630163942_30.dmp[5007]: Finished uploading minidump (out-of-process): success = yes
assert_20200630163942_30.dmp[5007]: response: CrashID=bp-aeb757ff-b381-45bd-9c3d-b50af2200630
assert_20200630163942_30.dmp[5007]: file ''/tmp/dumps/assert_20200630163942_30.dmp'', upload yes: ''CrashID=bp-aeb757ff-b381-45bd-9c3d-b50af2200630''
Exiting workitem thread
[2020-06-30 16:39:49] Shutdown

Attaching the dump here.
kde1.zip

Kkisak-valve maintainer 2020-06-30 github

Hello @amitavmohanty01, you've described the issue being tracked at #6811. Steam is processing shaders seen during the game session in the post-game-run. If you were to wait a while, Steam should close after finishing this work. Also, disabling shader pre-caching should avoid this issue.

Closing as a duplicate.

LlifeModder19135 2021-08-09 github

Get rid of cjobmgr. Its polling a nonexistent process.

Nothing extracted yet.