splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

Segmentation fault when using csgo-retakes #225

Closed caioquirino closed 4 years ago

caioquirino commented 4 years ago

Expected behavior

The server to work normally and to open in retake mode when I join the game

Actual behavior

When I try to use the plugin with a fresh new server, it starts normally, but when I try to enter in the server, it crashes with the following log:

L 12/08/2019 - 22:14:27: "BOT Finn<2><STEAM_1:0:xxxxx><>" connected, address ""
Client "BOT Finn" connected (xxxxx:9903).
RecordSteamInterfaceCreation (PID 8059): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 8059): SteamUtils008 / Utils
RecordSteamInterfaceCreation (PID 8059): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 8059): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 8059): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 8059): STEAMINVENTORY_INTERFACE_V001 / Inventory
RecordSteamInterfaceCreation (PID 8059): STEAMUGC_INTERFACE_VERSION008 / UGC
RecordSteamInterfaceCreation (PID 8059): STEAMAPPS_INTERFACE_VERSION008 / Apps
L 12/08/2019 - 22:14:27: server_cvar: "sm_nextmap" "de_dust"
L 12/08/2019 - 22:14:28: "BOT Finn<2><STEAM_1:0:xxxxx><>" STEAM USERID validated
PutClientInServer: no info_player_start on level
L 12/08/2019 - 22:14:29: "BOT Finn<2><STEAM_1:0:xxxxx><>" entered the game
L 12/08/2019 - 22:14:29: World triggered "Round_Start"
ConVarRef sv_voice_proximity_minvolume doesn't point to an existing ConVar
Segmentation fault (core dumped)
"/home/steam/serverfiles/core" is not a core dump: File format not recognized
debug.cmds:1: Error in sourced command file:
No stack.
email debug.log to linux@valvesoftware.com
Sun Dec  8 22:14:31 UTC 2019: Server restart in 10 seconds
LD_LIBRARY_PATH=/home/steam/serverfiles/bin:/home/steam/serverfiles:/home/steam/serverfiles/bin:

When I move the retakes.smx file to addons/disabled/ directory, the server start and it's possible to play with bots.

Steps to reproduce

splewis commented 4 years ago

You should try updating sourcemod to a newer build.

caioquirino commented 4 years ago

Exactly :) I've updated to a dev build (instead of the latest stable build) and it worked. Thank you @splewis ! 👍

shmidtelson commented 4 years ago

Nice! I many time find the solution! Thanks @splewis