SRCDS Steam group


Illegal Instruction
#1
Server OS: Ubuntu Server 9.10
Ram: 0.25GB
Game(s): Counter-Strike Source
Start Up Command: ./srcds_run -console -game cstrike -port 27015 +ip 173.206.243.207 +map cs_office +maxplayers 2

I haven't gotten the server to run yet, so this is a fresh install. When I run the above command, I get 'Illegal Instruction' and the core gets dumped. This is what I see...

Code:
Auto detecting CPU
Using AMD Optimised binary.
Enabling debug mode
Server will auto-restart if there is a crash.
Illegal instruction (core dumped)
BFD: Warning: /root/srcds/core is truncated: expected core file size >= 1376256, found: 1064960.
email debug.log to linux@valvesoftware.com
Tue Jan  5 20:08:10 EST 2010: Server restart in 10 seconds

I'm not even sure about the processor so I don't even know if it is AMD. The debug.log says...

Code:
CRASH: Tue Jan  5 19:41:00 EST 2010
Start Line: ./srcds_amd -console -game cstrike -debug -port 27015 +ip 173.206.243.207 +map cs_office +maxplayers 2
Core was generated by `./srcds_amd -console -game cstrike -debug -port 27015 +ip 173.206.243.207 +map'.
Program terminated with signal 4, Illegal instruction.
#0  0x0091e913 in ?? ()
#0  0x0091e913 in ?? ()
#1  0x00000000 in ?? ()
No symbol table info available.
From        To          Syms Read   Shared Object Library
0x002a8830  0x002be69f  Yes (*)     /lib/ld-linux.so.2
(*): Shared library is missing debugging information.
Stack level 0, frame at 0x4d31c8:
eip = 0x91e913; saved eip 0x0
called by frame at 0x9253f0
Arglist at 0x4d31c0, args:
Locals at 0x4d31c0, Previous frame's sp is 0x4d31c8
Saved registers:
  ebp at 0x4d31c0, eip at 0x4d31c4
End of Source crash report

I haven't gotten it to run and I had to install gdb originally, but I have no idea why this error would happen.

EDIT: Would it make a problem because I installed it as root?
Reply
#2
(01-06-2010, 11:11 AM)GolemdX Wrote:  EDIT: Would it make a problem because I installed it as root?

servers running as root should not crash. but you take a severe security risk if you do so.

if you want to find out what cpu you have, run:
Code:
cat /proc/cpuinfo
(and post the whole output here if you don't understand it)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
Apparently it is an AMD processor.

Code:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 4
cpu MHz         : 1009.940
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow up
bogomips        : 2019.88
clflush size    : 32
power management:

Also, searching 'Warning: /root/srcds/core is truncated' on Google doesn't help much because the first listing is my topic. I'll try re-installing as a normal user and see if it helps...
Reply
#4
I have seen related problems with old AMD's and linux, there is other "unsolved" threads about this.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#5
(01-07-2010, 09:33 AM)GolemdX Wrote:  Also, searching 'Warning: /root/srcds/core is truncated' on Google doesn't help much because the first listing is my topic. I'll try re-installing as a normal user and see if it helps...

I don't really understand this message, but it is not related to game servers. the "core" file is created by linux when a process crashes and will contain a snapshot of the processes memory etc. it can be used e.g. for debugging.

try loading it with gdb (the linux debugger), i.e.:
Code:
gdb /root/srcds/srcds_amd /root/srcds/core
then, at the gdb command prompt run the "backtrace" command and post the output here. "quit" will exit the debugger.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#6
Well, there is no core after the process has been terminated, and I have to if I want to be able to enter more commands...
Running backtrace on srcds/srcds_amd comes up with 'No stack.'.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)