[Bug]: CS2 is giving in dmesg an segfault error because of empty LD_LIBRARY_PATH
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza rastreando el comando de inicio de cs2server y la ruta de configuración de LSGM, especialmente /home/cs2server/lgsm/config-lgsm/cs2server/cs2server.cfg. Reproduce el inicio e inspecciona sudo dmesg mientras compruebas cómo se establece LD_LIBRARY_PATH. Se considera terminado cuando el servidor de CS2 recibe automáticamente la ruta correcta de las bibliotecas y se inicia sin el fallo de segmentación de libtier0.so.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
User story
I would like to see that the LSGM configuration is filling automatically the LD_LIBRARY_PATH to the correct path.
Game
CS2 (CSGO)
Linux distro
Ubuntu 24.04, Ubuntu 22.04
Command
command: start
Further information
CS2 is giving the following error when it is starting the server: segfault at 0 ip 00007c1776e7a3f8 sp 00007ffd7d9ef0c0 error 6 in libtier0.so[7c1776d26000+37c000] likely on CPU 1 (core 1, socket 0)
This can be found in sudo dmesg
You can solve this to fill the variable: LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/cs2server/serverfiles/game/bin/linuxsteamr
Workaround for now:
If you add this export to /home/cs2server/lgsm/config-lgsm/cs2server/cs2server.cfg (when you connect with SSH still the echo $LD_LIBRARY_PATH is then empty but for the server start it isn't).
Or you add Environment="LD_LIBRARY_PATH=/home/cs2server/serverfiles/game/bin/linuxsteamrt64” in the systemd unit file as a systemwide solution
If you done one of the above workarounds then the segfault error is solved.
My friend and I had the same issue with different hardware. Both we are using a VM in Proxmox. This issue is also to help others who might experiencing the same behaviour and don't understand why their server is not starting.
Relevant log output
segfault at 0 ip 00007c1776e7a3f8 sp 00007ffd7d9ef0c0 error 6 in libtier0.so[7c1776d26000+37c000] likely on CPU 1 (core 1, socket 0)
Steps to reproduce
- Start the cs2server ./cs2server start
- check the details ./cs2server details
- sudo dmesg
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 870
- Merge medio
- 17 h 33 min
- PR fusionados (30 d)
- 104
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
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
GameServerManagers/LinuxGSM#5094 ·
Los mantenedores suelen responder en 1 día
-
type: bug
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#5048 ·
Los mantenedores suelen responder en 1 día
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
GameServerManagers/LinuxGSM#5047 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
command: monitor type: feature
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#4995 ·
Los mantenedores suelen responder en 1 día
-
feat(core): report a clear error when the configured branch doesn't existPosiblemente ocupada @dgibbs64 la tomó hace 6 días. Abiertotype: feature
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
GameServerManagers/LinuxGSM#4994 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
Negative subscript on a sparse array counts from the number of elements, not from the highest indexAbiertoarea: compat bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
reubeno/brush#1570 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
platform-mesh/helm-charts#2569 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
kunchenguid/firstmate#7604 ·
Los mantenedores suelen responder en 1 día
-
product-to-storybook is skipped silently by npx skills add because its frontmatter is invalid YAMLAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día