Page 1 of 1

segfault on 1.3

PostPosted: Wed Sep 15, 2010 8:47 pm
by Kissaki
the dystopia server will segfault for me, on my x64 Debian server; TF2 does work
Code: Select all
pub/orangebox# ./srcds_i486 -console -game dystopia -port 27020 +map dys_vaccine

Console initialized.
Segmentation fault
Where pub is the folder I installed -game orangebox into, and pub/orangebox the folder I installed -game dystopia into.

I also now tried it exactly with the 2 commands on the wiki page, using that folder structure (apart from the user)
http://www.dystopia-game.com/wiki/index ... ough#Linux
still, same problem; ./srcds_run -game dystopia will die with a segfault.

Re: segfault on 1.3

PostPosted: Thu Sep 16, 2010 5:31 am
by Shaft 6
me to. did you move your 1.2 dystopia and hl2 folders to the orangebox folder?
Code: Select all
philip@philip-mythbuntu:~/srcds_l/orangebox$ ./srcds_run -game dystopia -ip 192.168.1.2 -port 27015 +map dys_vaccine -debug
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
Segmentation fault (core dumped)
BFD: Warning: /home/philip/srcds_l/orangebox/core is truncated: expected core file size >= 42680320, found: 12324864.
Cannot access memory at address 0xf77958f0
Cannot access memory at address 0xffc618dc
/home/philip/srcds_l/orangebox/debug.cmds:4: Error in sourced command file:
Cannot access memory at address 0xf77958f0
email debug.log to linux@valvesoftware.com
Thu Sep 16 22:29:21 NZST 2010: Server restart in 10 seconds
Thu Sep 16 22:29:23 NZST 2010: Server Quit
Code: Select all
----------------------------------------------
CRASH: Thu Sep 16 22:29:20 NZST 2010
Start Line: ./srcds_linux -game dystopia -ip 192.168.1.2 -port 27015 +map dys_vaccine -debug
[New Thread 3756]
#0 0x00000000 in ?? ()
No symbol table info available.
eax 0xf70042f8 -150977800
ecx 0x4e 78
edx 0x0 0
ebx 0xf6f98038 -151420872
esp 0xffc618dc 0xffc618dc
ebp 0xffc61958 0xffc61958
esi 0x0 0
edi 0x81645a0 135677344
eip 0x0 0
eflags 0x10202 [ IF RF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
End of Source crash report
----------------------------------------------

Re: segfault on 1.3

PostPosted: Thu Sep 16, 2010 5:53 am
by Fruchtzwerg
You can't mix HL2 and Orange Box engine files by moving it. It will not work, different engines...

Re: segfault on 1.3

PostPosted: Thu Sep 16, 2010 5:30 pm
by Atomy
make sure u guys arent using orangebox of tf2, since orangebox != orangebox - the mods got a different version of orangebox(-game orangebox) then cssbeta and tf2 uses

in your orangebox/bin/ dir should be, engine_amd.so, engine_i486.so, engine_i686.so, afaik the tf2 orangebox just has engine.so in its orangebox/bin/

Re: segfault on 1.3

PostPosted: Thu Sep 16, 2010 6:45 pm
by Kissaki
make sure u guys arent using orangebox of tf2, since orangebox != orangebox - the mods got a different version of orangebox(-game orangebox) then cssbeta and tf2 uses
As I said I followed the wiki.
I ran those 2 update commands, orangebox and dystopia,
and then tried to run it from within the orangebox folder, which segfaulted.
in your orangebox/bin/ dir should be, engine_amd.so, engine_i486.so, engine_i686.so, afaik the tf2 orangebox just has engine.so in its orangebox/bin/
Indeed. It is.

Re: segfault on 1.3

PostPosted: Thu Jan 27, 2011 1:00 pm
by !Boot
I also receive a segmentation fault when starting srcds, after following the wiki article. Did anybody find a fix to this?
Code: Select all
./srcds_run -game dystopia -ip 192.168.0.254 -port 27015 +map dys_vaccine
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Segmentation fault
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Thu Jan 27 17:53:42 GMT 2011: Server restart in 10 seconds

Re: segfault on 1.3

PostPosted: Fri Jan 28, 2011 9:04 am
by Atomy
I've been getting them randomly sometimes, but yeah cant help here that much, you could try debugging with the help of gdb, retry it to see if its happens randomly.

Re: segfault on 1.3

PostPosted: Fri Feb 04, 2011 11:10 am
by Atomy
when you are still trying, here's another hint, go into the orangebox/ dir of your server installation, do a ldd dystopia/bin/server_i486.so and look for any "=> not found" errors, we dont really depend on anything but maybe you are missing some libs on your machine (ignore the tier0, vsdlib, steam_api stuff, its in orangebox/bin and will be loaded on server start)

let me know if that helps!

Re: segfault on 1.3

PostPosted: Wed Apr 27, 2011 6:08 am
by Symphona
I have had this problem and followed some vaguely related advice in a another thread which pointed out that 1) the two updates should be run in a certain order and 2) you can use a -verify_all tag on the orangbox install to check it.

After running the two in order, then running the verify seperately, it downloaded a lot of different files, and the game now runs seamlessly. It might be an idea to update the wiki instructions? I know I am not the only one to have seg faults when following those instructions

Thanks, Sym

Re: segfault on 1.3

PostPosted: Thu Apr 28, 2011 9:42 am
by Atomy
I think I tried the wiki steps a while ago on a clean box and it worked, the order is indeed important since the game "dystopia" overwrites some orangebox files with wrong versions of them