• [Linux]Dedicated server failed to run, again
    29 replies, posted
  • Avatar of SysAdmin
  • Well, hello. Some time much of linux users knew "[I][B]Segmentation fault[/B][/I]" error.. But tooday, when new update is done, servers was updated and... Sucessfully broken. Again... Yeah, there is log: [HR][/HR] [CODE]gmod@back:~/orangebox$ ./run.sh ==================================== Starting up Garry's Mod 10 server. ==================================== f2f7c000-f2f7d000 ---p 00000000 00:00 0 f2f7d000-f307d000 rwxp 00000000 00:00 0 f307d000-f3fff000 r-xp 00000000 09:02 237652429 /home/gmod/orangebox/garrysmod/bin/server.so f3fff000-f4180000 rw-p 00f81000 09:02 237652429 /home/gmod/orangebox/garrysmod/bin/server.so f4180000-f4e0d000 rw-p 00000000 00:00 0 f4e0d000-f4e23000 r-xp 00000000 09:02 237652194 /home/gmod/orangebox/bin/shaderapiempty.so f4e23000-f4e25000 rw-p 00016000 09:02 237652194 /home/gmod/orangebox/bin/shaderapiempty.so f4e25000-f4e90000 r-xp 00000000 09:02 237652167 /home/gmod/orangebox/bin/datacache.so f4e90000-f4e9a000 rw-p 0006a000 09:02 237652167 /home/gmod/orangebox/bin/datacache.so f4e9a000-f4e9d000 rw-p 00000000 00:00 0 f4e9d000-f5060000 r-xp 00000000 09:02 237652455 /home/gmod/orangebox/bin/vphysics.so f5060000-f5061000 ---p 001c3000 09:02 237652455 /home/gmod/orangebox/bin/vphysics.so f5061000-f5066000 r--p 001c3000 09:02 237652455 /home/gmod/orangebox/bin/vphysics.so f5066000-f506b000 rw-p 001c8000 09:02 237652455 /home/gmod/orangebox/bin/vphysics.so f506b000-f507b000 rw-p 00000000 00:00 0 f507b000-f5154000 r-xp 00000000 09:02 237652454 /home/gmod/orangebox/bin/studiorender.so f5154000-f5157000 rw-p 000d8000 09:02 237652454 /home/gmod/orangebox/bin/studiorender.so f5157000-f650e000 rw-p 00000000 00:00 0 f650e000-f664e000 r-xp 00000000 09:02 237652191 /home/gmod/orangebox/bin/materialsystem.so f664e000-f6658000 rw-p 0013f000 09:02 237652191 /home/gmod/orangebox/bin/materialsystem.so f6658000-f6675000 rw-p 00000000 00:00 0 f6675000-f66a8000 r-xp 00000000 09:02 237652196 /home/gmod/orangebox/bin/soundemittersystem.soPreMinidumpCallback: updating dump comment Uploading dump (in-process) [proxy ''] [B]/tmp/dumps/crash_20120424222955_1.dmp success = no error: Failed to open/read local data from file/application[/B] Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Втр Апр 24 22:29:55 MSK 2012: Server restart in 10 seconds[/CODE] [HR][/HR] That's only a part, can't view all the code through PuTTY :C OS: Debian 6 64x AMD. Yes, i tried to fix myself, but not sucessed. No, i can't use -debug, cause don't have module 2x :C [B]OLOLO, HELP!!11[/B]
  • Avatar of Drakehawke
  • Same problem [code] [New Thread 12739] [New Thread 12740] Core was generated by `./srcds_linux -console -debug -nocrashdialog -game garrysmod +ip 216.245.199.2'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () #0 0x00000000 in ?? () No symbol table info available. eax 0xf6d8f194 -153554540 ecx 0x4e 78 edx 0x0 0 ebx 0xf6d1d3a0 -154020960 esp 0xfff67ecc 0xfff67ecc ebp 0xfff67f48 0xfff67f48 esi 0x0 0 edi 0xfff68028 -622552 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 From To Syms Read Shared Object Library 0xf7702830 0xf77198af Yes (*) /lib/ld-linux.so.2 (*): Shared library is missing debugging information. End of Source crash report [/code] Using -debug, that was in debug.log. Message I get in the server console is different, will try and get it now.
  • Avatar of Ninja101
  • [code][Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/srcds/srcds/orangebox/srcds_linux -pidfile /home/srcds/srcds/orangebox/gs'. Program terminated with signal 6, Aborted. #0 0xf7759430 in __kernel_vsyscall () #0 0xf7759430 in __kernel_vsyscall () #1 0xf74b6c01 in raise () from /lib32/libc.so.6 #2 0xf74ba022 in abort () from /lib32/libc.so.6 #3 0xf74f0e7d in ?? () from /lib32/libc.so.6 #4 0xf7572f30 in __fortify_fail () from /lib32/libc.so.6 #5 0xf7572e9a in ?? () from /lib32/libc.so.6 #6 0xf7572e09 in __longjmp_chk () from /lib32/libc.so.6 #7 0xf7650e08 in Internal_Coroutine_Continue(int, char const*, char const*) () from bin/libvstdlib.so #8 0xf7651220 in Coroutine_Continue () from bin/libvstdlib.so #9 0xeb2b57d3 in ?? () from bin/steamclient.so #10 0xeb2bb50e in ?? () from bin/steamclient.so #11 0xeb2bf394 in ?? () from bin/steamclient.so #12 0xeb2c130f in ?? () from bin/steamclient.so #13 0xeb28e40e in ?? () from bin/steamclient.so #14 0xeaef73e3 in ?? () from bin/steamclient.so #15 0xeaef7de6 in ?? () from bin/steamclient.so #16 0xec1fb128 in SteamThreadTools::CThread::ThreadExceptionWrapper(void*) () from bin/libtier0_s.so #17 0xec1f9d3e in ?? () from bin/libtier0_s.so #18 0xec1f9f12 in CatchAndWriteMiniDumpExForVoidPtrFn () from bin/libtier0_s.so #19 0xec1f9f59 in CatchAndWriteMiniDumpForVoidPtrFn () from bin/libtier0_s.so #20 0xec1fc3c8 in SteamThreadTools::CThread::ThreadProc(void*) () from bin/libtier0_s.so #21 0xf75eec39 in start_thread (arg=0xeadeab70) at pthread_create.c:304 #22 0xf755e3ce in clone () from /lib32/libc.so.6[/code] gdb'd
  • Avatar of Drakehawke
  • Bit long so I thought I'd pastebin it. [url=http://pastebin.com/05Xt9Cys]Complete output from server console[/url] when trying to start it. Lua does load, gamemode registers and everything, seems to be happening as soon as it's finished starting up.
  • Avatar of garry
  • It seems to be a problem with Steam. Can someone experiment with replacing the libsteam/crashhandler .so's with older versions? Python tells me its exactly the same crashlog as in GM13 - and the only things that have changed since the last version is an engine update and the build server. I'm building on the latest ubuntu right now - which might not be a good idea - but would it cause this behaviour?
  • Avatar of Drakehawke
  • [QUOTE=garry;35700452]It seems to be a problem with Steam. Can someone experiment with replacing the libsteam/crashhandler .so's with older versions? Python tells me its exactly the same crashlog as in GM13 - and the only things that have changed since the last version is an engine update and the build server. I'm building on the latest ubuntu right now - which might not be a good idea - but would it cause this behaviour?[/QUOTE] Copied over orangebox/bin/libsteam.so and crashhandler.so from an old version, still not working, unless I did something wrong.
  • I've just decided to restart my server in hope for it to update, it seems to start perfectly fine and tells me there aren't any updates available and isn't letting updated clients connect.
  • Avatar of Drakehawke
  • [QUOTE=munch;35700605]I've just decided to restart my server in hope for it to update, it seems to start perfectly fine and tells me there aren't any updates available and isn't letting updated clients connect.[/QUOTE] Restarting wont update, you need to run a Steam update I think.
  • Avatar of Ninja101
  • Replace libvstdlib with the old bin for a temporary fix. Garry said he's going to update after he's sure there aren't any other bugs.
  • Avatar of lorde banana
  • hey garry do you think when you submit the Linux patch you could also remove pixel render and IPs being sent to clients on connect? [editline]24th April 2012[/editline] [QUOTE=Ninja101;35700636]Replace libvstdlib with the old bin for a temporary fix. Garry said he's going to update after he's sure there aren't any other bugs.[/QUOTE] being the idiot I am (and not learning) I don't have a copy of the old bin - if you (or anyone else) has a copy, could you upload it?
  • Avatar of Drakehawke
  • [QUOTE=Ninja101;35700636]Replace libvstdlib with the old bin for a temporary fix. Garry said he's going to update after he's sure there aren't any other bugs.[/QUOTE] Worked, thanks a lot.
  • Avatar of AlexALX
  • [QUOTE=Ninja101;35700636]Replace libvstdlib with the old bin for a temporary fix. Garry said he's going to update after he's sure there aren't any other bugs.[/QUOTE] Can you give link to old file please?
  • Avatar of lorde banana
  • [QUOTE=Tessius;35700833]Should we still use the linux 131 binaries?[/QUOTE] I don't think you need to
  • Avatar of lorde banana
  • [QUOTE=garry;35701027]Does the libvstdlib.so from tf2 crash too?[/QUOTE] testing now [editline]24th April 2012[/editline] no, my server booted fine with the tf2 copy of libvstdlib.so
  • Avatar of TweaK2007
  • [QUOTE=Guewen;35700795][url]http://95.130.9.118/lib/libvstdlib.so[/url] :)[/QUOTE] confirming this fixed it. thanks
  • Avatar of Bandit Kitteh
  • The provided libvstdlib.so Guewen supplied allows the server to boot properly, but I'm having troubles with joining the server itself. I'm getting a "Server uses different class tables" error. I've already tried copying some of the server's bin files over for a temporary fix, but to no avail. Perhaps somebody could share some insight? I'm using CentOS 6 on a linux machine.
  • Avatar of SysAdmin
  • Yeah, that helped! [B]BUT![/B] Much of ID's were banned permanently (wO_Ot?) [editline]25th April 2012[/editline] [QUOTE=Bandit Kitteh;35707334]The provided libvstdlib.so Guewen supplied allows the server to boot properly, but I'm having troubles with joining the server itself. I'm getting a "Server uses different class tables" error. I've already tried copying some of the server's bin files over for a temporary fix, but to no avail. Perhaps somebody could share some insight? I'm using CentOS 6 on a linux machine.[/QUOTE] Umm... Nope. Try to rename [B][I]/garrysmod/bin[/I][/B] into [B]bin__[/B] And rename [B][I]/bin[/I][/B] into [B]/bin__[/B] Then update and replace in [B]/bin[/B] [I](new)[/I] [B]libvstdlib.so[/B]
  • Avatar of Juze
  • Confirmed, had the same issue on CentOS6. The old binary above worked, thanks!
  • Avatar of Dark Herald
  • [QUOTE=Guewen;35700795][url]http://95.130.9.118/lib/libvstdlib.so[/url] :)[/QUOTE] Thanks, it's work.
  • Avatar of Tessius
  • So Garry do you want us to use the previous libvstdlib or the one from tf2 as an official patch?
  • Avatar of Drakehawke
  • [QUOTE=Tessius;35712814]So Garry do you want us to use the previous libvstdlib or the one from tf2 as an official patch?[/QUOTE] GMod updated again about half an hour ago, when I updated my server it replaced (or maybe Valve updated it) libvstdlib and it worked without me having to use the older version.
  • Avatar of SysAdmin
  • [QUOTE=Drakehawke;35713093]GMod updated again about half an hour ago, when I updated my server it replaced (or maybe Valve updated it) libvstdlib and it worked without me having to use the older version.[/QUOTE] Same. For next readers: Just run update (./steam -command update -game garrysmod -dir <directory>) #LOLO
  • [QUOTE=SysAdmin;35713246]Same. For next readers: Just run update (./steam -command update -game garrysmod -dir <directory>) #LOLO[/QUOTE] Sorry to bump this, but i'm having a bit of trouble. I know to use ./steam -command update -game garrysmod -dir <dir> in srcds folder, but when what im confused about is what to put for the directory in the command line? I've tried multiple directories & wording, but it has repeatedly created new orangebox folders and began installing new games. Thanks.