[Bug]: Dystopia segfaults on start: missing 32-bit libcurl
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #5160 de @dgibbs64 — fusionado
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading the dys dependency row in lgsm/data/*.csv and compare it with the missing libcurl-gnutls.so.4 reported by ldd -r. Check the dependency conventions for 32-bit packages and confirm the fix installs the required libcurl package; done means the server starts and answers queries with the dependency listed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Severity
High: the server does not start
Reproducibility
Always
Regression
Not a regression: the dependency has never been listed
Affects latest release
Yes
User story
As a Dystopia server owner, I want the server to start, so that players can join.
Script name
dysserver
Game
Dystopia
Linux distro
Ubuntu 26.04 (the gameserver:dys docker image). Any distro that installs only the listed dependencies is affected.
Command
start
Expected behavior
The server loads its map and answers queries.
Actual behavior
srcds crashes in a loop straight after breakpad init, with no error message. The kernel logs a NULL function call: srcds_linux: segfault at 0 ip 0000000000000000.
Further information
Backtrace under gdb:
#0 0x00000000 in ?? ()
#1 CModAppSystemGroup::Create() () from bin/linux32/engine_srv.so
#2 CAppSystemGroup::OnStartup() () from bin/linux32/engine_srv.so
#3 CAppSystemGroup::Run() () from bin/linux32/engine_srv.so
#4 CDedicatedServerAPI::ModInit(ModInfo_t&) () from bin/linux32/engine_srv.so
ServerDLL_Load returns, then the engine calls the server factory, which is NULL because bin/linux32/server_srv.so failed to load:
$ ldd -r bin/linux32/server_srv.so
libcurl-gnutls.so.4 => not found
undefined symbol: curl_global_init, version CURL_GNUTLS_3
The dys row in the dependency lists (lgsm/data/*.csv) is empty, so 32-bit libcurl is never installed. Installing libcurl4-gnutls-dev:i386 makes the server start and answer queries.
Relevant log output
Using breakpad minidump system. Version: 1 AppID: 17580
Setting breakpad minidump AppID = 17580
Using breakpad crash handler
./srcds_run.sh: line 62: Segmentation fault (core dumped) ${DEBUGGER} "${GAMEROOT}"/bin/${PLATFORMDIR}/${GAMEEXE} "$@"
Steps to reproduce
- Install
dysserveron Ubuntu 26.04 with only the listed dependencies. - Run
./dysserver start. - The console shows a segfault after
Using breakpad crash handler, and the server never answers a query.
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 870
- Merge medio
- 20 h 11 min
- PR fusionados (30 d)
- 135
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GameServerManagers/LinuxGSM
-
distro: Ubuntu engine: source game: Insurgency
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
GameServerManagers/LinuxGSM#5153 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: cs2server ignores the GSLT entered during installPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertocommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
GameServerManagers/LinuxGSM#5106 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: jc2, pvr, rwr and zps fail to start (library errors)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodistro: Ubuntu engine: avalanche2.0 engine: rwr engine: source engine: unreal5 game: Just Cause 2 game: Pavlov VR game: Running With Rifles game: Zombie Panic! Source info: dependency info: docker status: fixed in develop type: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
GameServerManagers/LinuxGSM#5163 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: GoldSrc update or validate can uninstall the shared Half-Life contentPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodistro: Ubuntu engine: goldsrc game: Action Half-Life info: docker info: steamcmd status: fixed in develop type: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
GameServerManagers/LinuxGSM#5161 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Ballistic Overkill ignores boserver.txt and reads config.txtPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertocommand: start engine: unity3d game: Ballistic Overkill status: fixed in develop type: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
GameServerManagers/LinuxGSM#5157 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
package-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
oSoWoSo/oco#889 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fish-shell/fish-shell#13084 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
good first issue priority:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
crazy-goat/fdb-php#182 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
elhajahmadj/offline-emergency-library#157 ·
Los mantenedores suelen responder en 1 día
-
idea-scout idea:245
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
jeanibarz/agent-notebook#245 ·
Los mantenedores suelen responder en 1 día