ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
785 stars 69 forks source link

Some custom maps crashing on Linux/Mac during loading/after picking team #1395

Open Vauff opened 7 years ago

Vauff commented 7 years ago

Your system information

Please describe your issue in as much detail as possible:

I've identified 3 custom maps that seem to crash every time upon loading on both Linux and Mac clients, these crashes do not happen on Windows. The maps crashing are ze_shroomforest_p6, ze_shroomforest2_p6, and ze_frozentemple_rc1_1. I've confirmed this issue myself on Linux and Mac as well by talking to multiple other players who experience the exact same issue on Mac. The only difference between the shroom and frozentemple crashes is that shroom crashes during the loading screen while frozentemple crashes after picking a team. There seems to be rare instances where I can get into the maps (only verified on Linux), but only when changing from a previous map, never on a fresh load in. It should be noted that all three of these maps were ports from CS:S too.

To clarify any confusion, shroom 1 and 2 are different maps, the 2nd is just the same style and a continuation of the first.

Map downloads

https://fastdlv2.gflclan.com/file/gflfastdlv2/csgo/maps/ze_shroomforest_p6.bsp.bz2 https://fastdlv2.gflclan.com/file/gflfastdlv2/csgo/maps/ze_shroomforest2_p6.bsp.bz2 https://fastdlv2.gflclan.com/file/gflfastdlv2/csgo/maps/ze_frozentemple_rc1_1.bsp.bz2

Steps for reproducing this issue:

  1. Play one of the maps listed as crashing
  2. Experience game crash
Vauff commented 4 years ago

Following the fixing of #2379, I went and setup a test Linux environment to make sure that this issue was still present.

From my testing, the crashing on the shroomforest maps seems to have been fixed. However I also tested this on the 1.37.4.6 branch and did not encounter crashes either, so this had already been fixed at some point prior to the Anubis crash fix.

The frozentemple crashing was a different issue I suppose (crashes at a different time too), since that map is still causing Linux clients to crash.

Some updated system info for good measure: https://gist.github.com/Vauff/1a47b4b4ea59eef3256d65828fd0d926

hcjordao commented 4 years ago

For macOS Catalina 10.15.3 this is still happening for ze_frozentemple_rc1_1, ze_shroomforest3_p and ze_shroomforest2_p6.

For shroom2 there are some instances where I can as said before go if I was previously connected to the server. However for frozentemple and shroom3 it crashes nevertheless, shroom 1 does not cause any crash what so ever.

rmoretto commented 4 years ago

I don't know what is the status of this issue, but I'll chip in to give some more information.

I'm indeed experiencing this same crash but on a different map (tbh, there are multiple maps that this is happening, but I'm putting only the last one that the crash happened). And the crash occurs during the load, I don't get to see the team selection screen.

Map link: bhop_shitmap (sorry about the map name).

FWIW I found a .dmp file that I think is the crash dump that was created when I tried to connect the server which was hosting the map.

Unfortunately, the github comment system won't allow me to add this file as an attachment so I uploaded the dump via google drive: crash_20200527213449_1.dmp.

System info:

OS: Ubuntu 20.04 focal
Kernel: x86_64 Linux 5.4.0-31-generic
CPU: AMD Ryzen 7 2700X Eight-Core @ 16x 3,7GHz
GPU: GeForce GTX 1070 Ti
RAM: 16010MiB
kisak-valve commented 4 years ago

For reference, the attached minidump is a SIGSEGV coming from filesystem_stdio_client.so.

fgf-2 commented 4 years ago

I confirm game instantly crashes in ze_frozentemple_rc1_1 when selecting a team.

OS: ArchLinux with latest updates
Kernel: 5.7.7-arch1-1 x86_64 GNU/Linux
CPU: AMD Ryzen 5 3500X
GPU: AMD RX5500 8G (SAPPHIRE PULSE)
RAM: G.Skill Aegis DIMM Kit 16GB, DDR4-3000, CL16-18-18-38 (F4-3000C16D-16GISB) 
Motherboard: MSI B450 TOMAHAWK
$ pacman -Qs mesa
local/lib32-mesa 20.1.2-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-vulkan-radeon 20.1.2-1
    Radeon's Vulkan mesa driver (32-bit)
local/mesa 20.1.2-1
    An open-source implementation of the OpenGL specification
local/vulkan-radeon 20.1.2-1
    Radeon's Vulkan mesa driver
$ pacman -Qs xf86
local/lib32-libxxf86vm 1.1.4-2
    X11 XFree86 video mode extension library (32-bit)
local/libxxf86vm 1.1.4-4
    X11 XFree86 video mode extension library
local/xf86-input-libinput 0.30.0-1 (xorg-drivers)
    Generic input driver for the X.Org server based on libinput
local/xf86-video-amdgpu 19.1.0-2 (xorg-drivers)
    X.org amdgpu video driver
local/xf86-video-ati 1:19.1.0-2 (xorg-drivers)
    X.org ati video driver
local/xf86-video-fbdev 0.5.0-2 (xorg-drivers)
    X.org framebuffer video driver
local/xf86-video-vesa 2.4.0-3 (xorg-drivers xorg)
    X.org vesa video driver
$ pacman -Qs steam
local/steam 1.0.0.63-1
    Valve's digital software delivery system
fgf-3 commented 4 years ago
Let me add the `$ steam` console output:

``` ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. assert_20200709105603_1.dmp[9226]: Uploading dump (out-of-process) /tmp/dumps/assert_20200709105603_1.dmp >>> Adding process 9225 for game ID 730 assert_20200709105603_1.dmp[9226]: Finished uploading minidump (out-of-process): success = yes assert_20200709105603_1.dmp[9226]: response: Discarded=1 assert_20200709105603_1.dmp[9226]: file ''/tmp/dumps/assert_20200709105603_1.dmp'', upload yes: ''Discarded=1'' pid 9226 != 9225, skipping destruction (fork without exec?) Game removed: AppID 730 "", ProcID 8631 Game 730 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList Game 730 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps Game 730 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / HTMLSurface Game 730 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP Game 730 created interface STEAMINVENTORY_INTERFACE_V001 / Inventory Game 730 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote Game 730 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music Game 730 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / Game 730 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage Game 730 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots Game 730 created interface STEAMUGC_INTERFACE_VERSION014 / UGC Game 730 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages Game 730 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / UserStats Game 730 created interface STEAMVIDEO_INTERFACE_V001 / Video Game 730 created interface SteamAppDisableUpdate001 / Game 730 created interface SteamController003 / Controller Game 730 created interface SteamController007 / Game 730 created interface SteamFriends017 / Friends Game 730 created interface SteamGameCoordinator001 / Game 730 created interface SteamGameStats001 / Game 730 created interface SteamInput001 / Game 730 created interface SteamMatchMaking009 / Matchmaking Game 730 created interface SteamMatchMakingServers002 / MatchmakingServers Game 730 created interface SteamNetworking005 / Networking Game 730 created interface SteamNetworkingSocketsSerialized003 / Game 730 created interface SteamUser020 / User Game 730 created interface SteamUser021 / User Game 730 created interface SteamUtils009 / Game 730 created interface SteamUtils009 / Utils Game 730 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1 Game 730 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1 Game 730 method call count for IClientUser::BSetDurationControlOnlineState : 1 Game 730 method call count for IClientUser::CancelAuthTicket : 1 Game 730 method call count for IClientUser::BLoggedOn : 23 Game 730 method call count for IClientUser::BIsSubscribedApp : 148 Game 730 method call count for IClientUser::GetUserDataFolder : 1 Game 730 method call count for IClientUser::GetAuthSessionTicket : 2 Game 730 method call count for IClientUser::GetSteamID : 9287 Game 730 method call count for IClientFriends::GetFriendRichPresenceKeyByIndex : 150 Game 730 method call count for IClientFriends::RequestFriendRichPresence : 14 Game 730 method call count for IClientFriends::HasFriend : 37831 Game 730 method call count for IClientFriends::GetSmallFriendAvatar : 109 Game 730 method call count for IClientFriends::GetMediumFriendAvatar : 109 Game 730 method call count for IClientFriends::GetLargeFriendAvatar : 37 Game 730 method call count for IClientFriends::GetFriendCount : 16 Game 730 method call count for IClientFriends::GetClanCount : 1 Game 730 method call count for IClientFriends::GetFriendRichPresenceKeyCount : 14 Game 730 method call count for IClientFriends::RequestUserInformation : 17 Game 730 method call count for IClientFriends::GetFriendPersonaState : 42 Game 730 method call count for IClientFriends::GetFriendRelationship : 1554 Game 730 method call count for IClientFriends::GetFriendGamePlayed : 50 Game 730 method call count for IClientFriends::SetRichPresence : 3620 Game 730 method call count for IClientFriends::GetFriendByIndex : 48 Game 730 method call count for IClientFriends::GetPersonaName : 1 Game 730 method call count for IClientFriends::GetFriendRichPresence : 150 Game 730 method call count for IClientFriends::GetFriendPersonaName_Public : 26 Game 730 method call count for IClientUtils::GetImageRGBA : 227 Game 730 method call count for IClientUtils::IsSteamChinaLauncher : 2 Game 730 method call count for IClientUtils::InitFilterText : 1 Game 730 method call count for IClientUtils::GetServerRealTime : 21 Game 730 method call count for IClientUtils::GetImageSize : 227 Game 730 method call count for IClientUtils::GetAppID : 258 Game 730 method call count for IClientUtils::GetAPICallResult : 35 Game 730 method call count for IClientUtils::GetCSERIPPort : 1 Game 730 method call count for IClientUtils::GetConnectedUniverse : 38005 Game 730 method call count for IClientUtils::RecordSteamInterfaceCreation : 217 Game 730 method call count for IClientUtils::GetIPCountry : 1 Game 730 method call count for IClientMatchmaking::EnsureFavoriteGameAccountsUpdated : 2 Game 730 method call count for IClientMatchmaking::GetFavoriteGameCount : 3 Game 730 method call count for IClientMatchmaking::AddFavoriteGame : 3 Game 730 method call count for IClientMatchmaking::GetFavoriteGame : 10 Game 730 method call count for IClientMatchmaking::GetLobbyOwner : 4 Game 730 method call count for IClientAppManager::GetActiveBeta : 1 Game 730 method call count for IClientAppManager::GetAppStateInfo : 145 Game 730 method call count for IClientAppManager::GetCurrentLanguage : 2 Game 730 method call count for IClientUserStats::RequestCurrentStats : 1 Game 730 method call count for IClientUserStats::StoreStats : 2 Game 730 method call count for IClientUserStats::GetStat : 289 Game 730 method call count for IClientUserStats::SetStat : 15 Game 730 method call count for IClientUserStats::GetAchievement : 501 Game 730 method call count for IClientNetworking::AllowP2PPacketRelay : 2 Game 730 method call count for IClientRemoteStorage::GetQuota : 3 Game 730 method call count for IClientRemoteStorage::EnumerateUserSubscribedFiles : 1 Game 730 method call count for IClientRemoteStorage::FileWrite : 3 Game 730 method call count for IClientRemoteStorage::FileRead : 6 Game 730 method call count for IClientRemoteStorage::GetFileSize : 6 Game 730 method call count for IClientRemoteStorage::FileExists : 1 Game 730 method call count for IClientConfigStore::GetInt : 2 Game 730 method call count for IClientConfigStore::GetString : 2 Game 730 method call count for IClientGameCoordinator::SendMessage : 7 Game 730 method call count for IClientGameCoordinator::IsMessageAvailable : 14 Game 730 method call count for IClientGameCoordinator::RetrieveMessage : 7 Game 730 method call count for IClientGameStats::GetNewSession : 3 Game 730 method call count for IClientGameStats::EndSession : 2 Game 730 method call count for IClientGameStats::CommitRow : 5 Game 730 method call count for IClientGameStats::AddSessionAttributeInt : 10 Game 730 method call count for IClientGameStats::AddSessionAttributeString : 8 Game 730 method call count for IClientGameStats::AddRowAttributeInt : 67 Game 730 method call count for IClientGameStats::AddRowAttributeString : 7 Game 730 method call count for IClientGameStats::AddNewRow : 5 Game 730 method call count for IClientGameStats::AddRowAttributeInt64 : 26 Game 730 method call count for IClientGameStats::AddSessionAttributeInt64 : 2 Game 730 method call count for IClientGameStats::AddRowAttributeFloat : 32 Game 730 method call count for IClientHTTP::GetHTTPResponseBodyData : 28 Game 730 method call count for IClientHTTP::ReleaseHTTPRequest : 28 Game 730 method call count for IClientHTTP::SendHTTPRequest : 28 Game 730 method call count for IClientHTTP::GetHTTPResponseBodySize : 26 Game 730 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 7 Game 730 method call count for IClientHTTP::GetHTTPResponseHeaderValue : 1 Game 730 method call count for IClientHTTP::CreateHTTPRequest : 28 Game 730 method call count for IClientControllerSerialized::HasGameMapping : 51 Game 730 method call count for IClientControllerSerialized::GetActionSetHandle : 16 Game 730 method call count for IClientAppDisableUpdate::SetAppUpdateDisabledSecondsRemaining : 1 Uploaded AppInterfaceStats to Steam Exiting app 730 No cached sticky mapping in ActivateActionSet. ```

The Arch wiki says Wrong ELF class can be ignored.

I found another error in console which also happens not only on `ze_frozentemple_rc1_1` but on any map only on a certain ze server (maybe due to certain character skins/classes being used?):

``` [...] Game 730 method call count for IClientControllerSerialized::GetActionSetHandle : 4 Game 730 method call count for IClientAppDisableUpdate::SetAppUpdateDisabledSecondsRemaining : 1 Uploaded AppInterfaceStats to Steam Exiting app 730 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) crash_20200709105516_34.dmp[8564]: Uploading dump (out-of-process) /tmp/dumps/crash_20200709105516_34.dmp crash_20200709105516_34.dmp[8564]: Finished uploading minidump (out-of-process): success = yes crash_20200709105516_34.dmp[8564]: response: CrashID=bp-b3c4d2eb-4f2f-457d-91c2-b6ca12200709 crash_20200709105516_34.dmp[8564]: file ''/tmp/dumps/crash_20200709105516_34.dmp'', upload yes: ''CrashID=bp-b3c4d2eb-4f2f-457d-91c2-b6ca12200709'' ```

It's the Assertion Failed: Unknown version 0 for Mesa cache entry! error. I tried disabling Shader Pre-Caching in Steam->Settings, and also deleting the contents of /home/user/.cache/mesa_shader_cache, but this unfortunately didn't help. Both of these errors appear with today's latest mesa updates:

$ pacman -Qs mesa

``` local/glu 9.0.1-2 Mesa OpenGL Utility library local/lib32-glu 9.0.1-1 Mesa OpenGL utility library (32 bits) local/lib32-mesa 20.1.3-1 An open-source implementation of the OpenGL specification (32-bit) local/lib32-vulkan-radeon 20.1.3-1 Radeon's Vulkan mesa driver (32-bit) local/mesa 20.1.3-1 An open-source implementation of the OpenGL specification local/vulkan-radeon 20.1.3-1 Radeon's Vulkan mesa driver ```

PeakKS commented 2 years ago

Seems to be fixed when running with -vulkan

844E commented 2 years ago

Bump!

This bug exists since the April 2017 (the Negev lasergun update). It was fine before the update. And whereas the ze_shroomforest maps has since been loadable, "ze_frozentemple" is still not yet loadable.

All I want for Christmas, plz. 🤗🤗

ghost commented 2 years ago

It's not fixed even with -vulkan for me.

BRINGit34 commented 1 year ago

Yeah this is still broken as of right now. Seems like something valve would want to fix

NickTheOnlyNeko commented 6 months ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/1395#issuecomment-654788421

could you please tell me how much FPS do you have because i have the same GPU(AMD RX5500 (XT) 8GB Gigabyte) and the same CPU but for some reason i'm getting unstable framerate going and varrying from ~30FPS to ~120FPS with all settings set to the lowest possible option meanwhile i had ~300FPS to ~400FPS on CSGO with all settings set to the lowest possible option, i've tried different variations for example the Flatpak version, i've also tried different Distro's like Arch Linux, Linux Mint(Currently using it), Fedora, OpenSUSE (Tumbleweed), etc and on pretty much all of the Distro's i've had similar Performance, is the AMD RX5500 just cursed and hated by Valve or am i just doing something wrong??

(also why does CSGO and CS2 load slower on Linux? does anyone have an answer to that??)

as for context on a clean Windows 10 LTSC install CS2 runs smoothly with stable ~60FPS to ~120FPS it's still not great cause i basically lost about 300FPS from the CSGO to CS2 update but could someone at Valve have a look on what's going on with the Rendering Engine part atleast?? because i've been playing games with 10 times better graphics and i still had atleast minimum 200FPS on the Lowest settings