[Bug]: Dystopia segfaults on start: missing 32-bit libcurl
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #5160 来自 @dgibbs64 —— 已合并
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Shell
- 星标
- 4.9k
- 派生
- 870
- 平均合并
- 20 小时 11 分钟
- 30 天内合并 PR
- 135
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GameServerManagers/LinuxGSM 的其他 Issue
-
bug(ins): server fails to start, srcds_run has CRLF line endings and needs bash可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭distro: Ubuntu engine: source game: Insurgency
难度 2/5 1-3 小时 新手友好度 72/100
GameServerManagers/LinuxGSM#5153 ·
维护者通常 1 天内回复
-
[Bug]: cs2server ignores the GSLT entered during install可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭command: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
难度 2/5 1-3 小时 新手友好度 82/100
GameServerManagers/LinuxGSM#5106 ·
维护者通常 1 天内回复
-
[Bug]: jc2, pvr, rwr and zps fail to start (library errors)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭distro: 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
难度 4/5 3-5 天 新手友好度 25/100
GameServerManagers/LinuxGSM#5163 ·
维护者通常 1 天内回复
-
[Bug]: GoldSrc update or validate can uninstall the shared Half-Life content可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭distro: Ubuntu engine: goldsrc game: Action Half-Life info: docker info: steamcmd status: fixed in develop type: bug
难度 4/5 3-5 天 新手友好度 25/100
GameServerManagers/LinuxGSM#5161 ·
维护者通常 1 天内回复
-
[Bug]: Ballistic Overkill ignores boserver.txt and reads config.txt可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭command: start engine: unity3d game: Ballistic Overkill status: fixed in develop type: bug
难度 3/5 1-2 天 新手友好度 25/100
GameServerManagers/LinuxGSM#5157 ·
维护者通常 1 天内回复
查看 GameServerManagers/LinuxGSM 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
Frogging-Family/linux-tkg#1265 ·
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
community-scripts/core#217 ·
维护者通常 1 天内回复
-
known-red S3: friction & debt
难度 2/5 1-3 小时 新手友好度 82/100
MedakaLang/medaka#4969 ·
维护者通常 1 天内回复
-
enhancement needs:sonnet ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/tooling contribfest No AI type/cleanup type/feature
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复