[Bug]: CS2 is giving in dmesg an segfault error because of empty LD_LIBRARY_PATH
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách truy vết lệnh khởi động cs2server và đường dẫn cấu hình LSGM, đặc biệt là /home/cs2server/lgsm/config-lgsm/cs2server/cs2server.cfg. Tái hiện quá trình khởi động và kiểm tra sudo dmesg đồng thời kiểm tra cách LD_LIBRARY_PATH được thiết lập. Được xem là hoàn tất khi máy chủ CS2 tự động nhận đúng đường dẫn thư viện và khởi động mà không gặp lỗi phân đoạn libtier0.so.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Shell
- Star
- 4.9k
- Fork
- 870
- Merge trung bình
- 14 giờ 50 phút
- Pull request đã merge (30 ngày)
- 109
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GameServerManagers/LinuxGSM
-
command: start engine: unity3d game: Assetto Corsa priority: high scope: single game type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#5099 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
GameServerManagers/LinuxGSM#5094 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#5048 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
GameServerManagers/LinuxGSM#5047 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor type: feature
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#4995 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GameServerManagers/LinuxGSM
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
YunoHost-Apps/plakar_ynh#34 ·
-
[Bug] 容器无法优雅关闭Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NapNeko/NapCat-Docker#140 · 1 bình luận ·
-
Screensaver picked up transparency setting from GhosttyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Link Checker ReportĐang mởautomated issue report
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
a2aproject/A2A#2387 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
bug mac-app
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tw93/Mole#1845 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày