[Bug]: CS2 is giving in dmesg an segfault error because of empty LD_LIBRARY_PATH
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず cs2server の起動コマンドと LSGM の設定パス、特に /home/cs2server/lgsm/config-lgsm/cs2server/cs2server.cfg を追跡します。LD_LIBRARY_PATH がどのように設定されているかを確認しながら、起動を再現して sudo dmesg を調査します。CS2 サーバーが正しいライブラリパスを自動的に受け取り、libtier0.so のセグメンテーションフォルトなしで起動すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Shell
- スター
- 4.9k
- フォーク
- 870
- 平均マージ
- 22時間 21分
- マージ済み PR(30日)
- 93
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GameServerManagers/LinuxGSM のほかの issue
-
type: bug
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5048 ·
メンテナーはふだん 1 日以内に返信
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
GameServerManagers/LinuxGSM#5047 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: libstdc++5:i386 is not available on Debian 13 or Ubuntu 26.04 (cod, cod2, coduo, mohaa)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdistro: Debian distro: Ubuntu engine: idtech3 engine: iw2.0 engine: refractor game: Battlefield: Vietnam game: Call of Duty game: Call of Duty 2 game: Call of Duty: United Offensive game: Medal of Honor: Allied Assault info: dependency info: docker status: fixed in develop type: bug
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5026 ·
メンテナーはふだん 1 日以内に返信
-
command: monitor type: feature
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#4995 ·
メンテナーはふだん 1 日以内に返信
-
feat(core): report a clear error when the configured branch doesn't exist対応中かも @dgibbs64 が 3 日前に担当しました。 オープンtype: feature
難易度 3/5 半日 初心者へのやさしさ 45/100
GameServerManagers/LinuxGSM#4994 ·
メンテナーはふだん 1 日以内に返信
GameServerManagers/LinuxGSM の issue をすべて見る
似ている issue
-
documentation needs-triage priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
yeongseon/azure-functions-validation-python#546 ·
メンテナーはふだん 1 日以内に返信
-
help wanted new command
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tldr-pages/tldr#24755 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
elliotchance/vsql#244 ·
-
typos再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 2 日以内に返信
-
afk-ok area:agents size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
enorm-labs/event-junkie#3523 ·
メンテナーはふだん 1 日以内に返信