SRCDS Steam group


./srcds_run: line 344: 23178 Segmentation fault
#1
Question 
Hello everybody,

I have slackware - lastest version
my CPU is intel Celeron 3.ghz
and i want to start my own CS:SOURCE server.
I do everything from this post Install linux quickly


my server conf is: copied in bin directory on cstrike like server.cfg
PHP Code:
// server name
hostname "<your hostname> DoD Source Server"
// rcon passsword
rcon_password "<your rcon password>"

// Advanced RCON
sv_rcon_banpenalty 20
sv_rcon_maxfailures 10
sv_rcon_minfailures 5
sv_rcon_minfailuretime 30

// server cvars
mp_friendlyfire 0
mp_autokick 145
mp_flashlight 0
mp_forcecamera 0
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 1
sv_voiceenable 1
mp_allowspectators 1
mp_chattime 10
sv_timeout 65
mp_timelimit 45

// bandwidth rates/settings
sv_minrate 0
sv_maxrate 640000
decalfrequency 60
sv_maxupdaterate 100
sv_minupdaterate 0

// server logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// operation
sv_lan 0
sv_region 
<your region>
sv_contact <your email address contact>
exec autoexec.cfg
// execute ban files
exec banned_user.cfg
exec banned_ip
.cfg 

I also have L4D_full but i only download him, i dont know how to configure it.

i start server with this command:

./srcds_run -game cstrike -port 27015 + ip xx,xxxx.xxxx.xxx +map de_dust +maxplayers 14 -nomaster -insecure +sv_lan 1

and got error:
PHP Code:
Console initialized.
./
srcds_runline 34423178 Segmentation fault      (core dumped$HL_CMD
Cannot access memory at address 0xb7f9b650
Cannot access memory at address 0xbf99805c
/root/srcds/debug.cmds:3Error in sourced command file:
Cannot access memory at address 0xb7f9b650 

with -debug is:

PHP Code:
CRASHWed Feb  4 07:50:26 GMT+2 2009
Start Line
: ./srcds_i686 -game cstrike -port 27015 ip xx.xx.xxx.xxx +map de_dust +maxplayers 14 -nomaster -insecure +sv_lan 1 -debug
[?1034h#0  0xb6a2c240 in ?? ()
No symbol table info available.
End of Source crash report 

Please tell me how to fix it?

Thank you.
Reply
#2
If your Celeron is *really* old it might be impossible to get CS:S server working. They say you need SSE2 in the CPU. Do following command:

Code:
cat /proc/cpuinfo | grep -i sse2

If you see nothing after the command, your CPU is too old. If you see bunch of weird words you have SSE2 and it's not the problem.

PS. Slackware is too advanced for you. Install Debian and try again. I believe you can get it working.
Reply
#3
css Wrote:If your Celeron is *really* old it might be impossible to get CS:S server working. They say you need SSE2 in the CPU. Do following command:

Code:
cat /proc/cpuinfo | grep -i sse2

If you see nothing after the command, your CPU is too old. If you see bunch of weird words you have SSE2 and it's not the problem.

PS. Slackware is too advanced for you. Install Debian and try again. I believe you can get it working.

i got this line after command.
PHP Code:
flags           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts                               acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pebs bts pni monitor ds_cpl tm2 cid cx16 xtp                                       r 

so it is my CPU 2 old ?
You think its better way to install Debian and try again ?
Reply
#4
Ever since I updated TF2, I am having the same issue:
Quote:/usr/local/games/tf2dev/orangebox$ ./srcds_run -game tf +map cp_gravelpit +hostname "test" -ip 207.192.70.31 -port 27015
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Team Fortress"
./srcds_run: line 352: 15046 Segmentation fault $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Feb 4 20:03:06 EST 2009: Server restart in 10 seconds
Wed Feb 4 20:03:09 EST 2009: Server Quit

cat /proc/cpuinfo | grep -i sse2
Quote:flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc pni
flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc pni
flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc pni
flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc pni

CPU Information:
Quote:processor : 0
model name : Intel® Xeon® CPU L5420 @ 2.50GHz
processor : 1
model name : Intel® Xeon® CPU L5420 @ 2.50GHz
processor : 2
model name : Intel® Xeon® CPU L5420 @ 2.50GHz
processor : 3
model name : Intel® Xeon® CPU L5420 @ 2.50GHz


Any ideas what may have caused this?
Reply
#5
I don't know what causes the error.
Reply
#6
Anyone have this fixed yet? I have two servers, one wont run srcds_run due to the above segfault error. I have another that is running somewhat, meaning its a pain to start but once its running it works okay. One server is debian 5.0, the other is debian 4.0. I copied over a list of installed packages, from one server to the other and no go. I've tried debian(etch and lenny), centos, arch, and ubuntu and no go. This is really frustrating. I'm not sure what to try next. This is a backtrace, from gdb and strace.

Code:
(gdb) bt
#0  0xb5233114 in ModelSoundsCacheInit () from /srv/srcd/server/orangebox/tf/bin/server_i486.so
#1  0xb552eb05 in CServerGameDLL::DLLInit () from /srv/srcd/server/orangebox/tf/bin/server_i486.so
#2  0xb766536a in SV_InitGameDLL () from /srv/srcd/server/orangebox/bin/engine_i486.so
#3  0xb772cca5 in Host_Init () from /srv/srcd/server/orangebox/bin/engine_i486.so
#4  0xb77ba613 in Sys_InitGame () from /srv/srcd/server/orangebox/bin/engine_i486.so
#5  0xb77bde85 in CEngine::Load () from /srv/srcd/server/orangebox/bin/engine_i486.so
#6  0xb77bb16e in CModAppSystemGroup::Main () from /srv/srcd/server/orangebox/bin/engine_i486.so
#7  0xb7821685 in CAppSystemGroup::Run () from /srv/srcd/server/orangebox/bin/engine_i486.so
#8  0xb77bb38f in CDedicatedServerAPI::ModInit () from /srv/srcd/server/orangebox/bin/engine_i486.so
#9  0xb793f20a in CDedicatedAppSystemGroup::Main () from bin/dedicated_i486.so
#10 0xb799eba5 in CAppSystemGroup::Run () from bin/dedicated_i486.so
#11 0xb79990db in CSteamApplication::Main () from bin/dedicated_i486.so
#12 0xb799eba5 in CAppSystemGroup::Run () from bin/dedicated_i486.so
#13 0xb793f78b in main () from bin/dedicated_i486.so
#14 0xb7937b83 in DedicatedMain () from bin/dedicated_i486.so
#15 0x0804949d in main ()
(gdb) x/5i 0xb5233114
0xb5233114 <_Z20ModelSoundsCacheInitv@plt>:     jmp    *0x72ec(%ebx)
0xb523311a <_Z20ModelSoundsCacheInitv@plt+6>:   push   $0xe5c0
0xb523311f <_Z20ModelSoundsCacheInitv@plt+11>:  jmp    0xb5216584 <_init+24>
0xb5233124 <_Z11DataMapInitI15CTeamRoundTimerEP9datamap_tPT_@plt>:      jmp    *0x72f0(%ebx)
0xb523312a <_Z11DataMapInitI15CTeamRoundTimerEP9datamap_tPT_@plt+6>:    push   $0xe5c8
(gdb)

What im wondering is how game servers, is handling this, since they are running nix as well.
Reply
#7
If you have any addons try running the server without them
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#8
Should have said i tried different installs. Anyhow, i changed the kernel from 2.6.18 to 2.6.26 and that did the trick for some reason
Reply
#9
apt-get install linux-image-2.6.26-1-686

did the trick, thanks.
Reply
#10
Ive been getting this error alot since the February 1st update. My Dedi box has an Athlon 3500+. Although my servers normally have uptimes of ~3-5 days without restart so not a huge issue. Check in the hl2 folder and delete and .pid files that pop up there.
Reply
#11
Updating the kernel fixed this issue for me too. We went from 2.6.18 to 2.6.27 and it hasn't segfaulted on launch since.
knoid || Admin, joe.to gaming community
tf2.joe.to - challenge maps
tf4.joe.to - custom maps
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)