HLDSでSEGV

64bit環境で構築中のことでした。

Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5408)
scandir failed:/home/hlds/hlds/SAVE
scandir failed:/home/hlds/hlds/./valve/SAVE
scandir failed:/home/hlds/hlds/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 22:54:48 Aug 15 2011 (5408)
STEAM Auth Server
Server IP address 127.0.0.1:27015
scandir failed:/home/hlds/hlds/SAVE
scandir failed:/home/hlds/hlds/./valve/SAVE
scandir failed:/home/hlds/hlds/./platform/SAVE
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

couldn't exec listip.cfg
couldn't exec banned.cfg
ipcserver.cpp (956) : Assertion Failed: FD_ISSET( fd, (fd_set *)m_pfdset )
Assert( Assertion Failed: FD_ISSET( fd, (fd_set *)m_pfdset ) ):/home/VALVE/alfred/valve/steam3_rel_client/src/clientdll/../common/ipcserver.cpp:956

CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 0 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps
scandir failed:/home/hlds/hlds/SAVE
scandir failed:/home/hlds/hlds/./valve/SAVE
scandir failed:/home/hlds/hlds/./platform/SAVE
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20120108082923_1.dmp
threadtools.cpp (2624) : Assertion Failed: Tried to create a thread that has already been created!
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

success = yes
response: CrashID=bp-229ef518-c723-4380-9c88-a4e6e2120107

./hlds_run: line 321: 16739 セグメンテーション違反です $HL_CMD
email debug.log to linux@valvesoftware.com

結構調べてたけど、原因が全く分からなくて、半分投げてたが、
ふとデフォルトで入っていたserver.cfgをいじったら直った。
http://www.google.co.jp/search?q=%22response%3A%20CrashID%3D%22%20hlds_run で調べてみると、たくさん出てきた。
server.cfgに map de_dust とマップ指定をしているといけないらしい。
http://forums.steampowered.com/forums/showthread.php?p=25778973


デフォルト設定使ってるのにSEGV起きるなんてね・・・
今までは機械的にserver.cfgを差し替えてたから、この問題にぶつからなかっただけでした。