1. Post #1
    SysAdmin's Avatar
    April 2012
    31 Posts
    Well, hello.

    Some time much of linux users knew "Segmentation fault" 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 '']
    /tmp/dumps/crash_20120424222955_1.dmp
    success = no
    error:  Failed to open/read local data from file/application
    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
    [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

    OLOLO, HELP!!11
    Reply With Quote Edit / Delete Reply Windows 7 Russian Federation Show Events Informative Informative x 1 (list)

  2. Post #2
    PROUD BRONY 4LYFE
    Drakehawke's Avatar
    February 2009
    3,312 Posts
    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
    Using -debug, that was in debug.log. Message I get in the server console is different, will try and get it now.

  3. Post #3
    Moderator
    Ninja101's Avatar
    December 2008
    740 Posts
    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
    gdb'd

  4. Post #4
    PROUD BRONY 4LYFE
    Drakehawke's Avatar
    February 2009
    3,312 Posts
    Bit long so I thought I'd pastebin it.

    Complete output from server console when trying to start it. Lua does load, gamemode registers and everything, seems to be happening as soon as it's finished starting up.

  5. Post #5
    AlexALX's Avatar
    October 2010
    1,505 Posts
    Have same problem... Damn.

  6. Post #6
    garry's Avatar
    September 2001
    12,435 Posts
    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?

  7. Post #7
    PROUD BRONY 4LYFE
    Drakehawke's Avatar
    February 2009
    3,312 Posts
    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?
    Copied over orangebox/bin/libsteam.so and crashhandler.so from an old version, still not working, unless I did something wrong.

  8. Post #8
    Gold Member
    BlackAwps's Avatar
    July 2011
    771 Posts
    I did the same as suggested, still crashing.

  9. Post #9
    Gold Member

    June 2011
    296 Posts
    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.

  10. Post #10
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    le sigh, thanks for looking into this garry, guess I'll be installing Windows though

  11. Post #11
    PROUD BRONY 4LYFE
    Drakehawke's Avatar
    February 2009
    3,312 Posts
    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.
    Restarting wont update, you need to run a Steam update I think.

  12. Post #12
    Moderator
    Ninja101's Avatar
    December 2008
    740 Posts
    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.
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Useful Useful x 1 (list)

  13. Post #13
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    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?

    Edited:

    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.
    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?

  14. Post #14
    PROUD BRONY 4LYFE
    Drakehawke's Avatar
    February 2009
    3,312 Posts
    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.
    Worked, thanks a lot.

  15. Post #15
    AlexALX's Avatar
    October 2010
    1,505 Posts
    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.
    Can you give link to old file please?
    Reply With Quote Edit / Delete Reply Windows 7 Ukraine Show Events Agree Agree x 1 (list)

  16. Post #16
    Gold Member
    Guewen's Avatar
    February 2010
    46 Posts
    Reply With Quote Edit / Delete Reply Windows 7 France Show Events Useful Useful x 6Friendly Friendly x 1 (list)

  17. Post #17
    Tessius's Avatar
    June 2011
    80 Posts
    Should we still use the linux 131 binaries?
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Disagree Disagree x 1 (list)

  18. Post #18
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Should we still use the linux 131 binaries?
    I don't think you need to

  19. Post #19
    garry's Avatar
    September 2001
    12,435 Posts
    Does the libvstdlib.so from tf2 crash too?
    Reply With Quote Edit / Delete Reply Windows 7 Show Events Disagree Disagree x 2 (list)

  20. Post #20
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Does the libvstdlib.so from tf2 crash too?
    testing now

    Edited:

    no, my server booted fine with the tf2 copy of libvstdlib.so
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Useful Useful x 2 (list)

  21. Post #21
    Gold Member
    TweaK2007's Avatar
    July 2007
    780 Posts
    confirming this fixed it. thanks
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Useful Useful x 1Agree Agree x 1 (list)

  22. Post #22
    Funquisition Daily Founder
    Bandit Kitteh's Avatar
    September 2009
    328 Posts
    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.

  23. Post #23
    SysAdmin's Avatar
    April 2012
    31 Posts
    Yeah, that helped!
    BUT!

    Much of ID's were banned permanently (wO_Ot?)

    Edited:

    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.
    Umm... Nope.
    Try to rename /garrysmod/bin into bin__
    And rename /bin into /bin__
    Then update and replace in /bin (new) libvstdlib.so
    Reply With Quote Edit / Delete Reply Windows 7 Russian Federation Show Events Useful Useful x 1 (list)

  24. Post #24
    Funquisition Daily Founder
    Bandit Kitteh's Avatar
    September 2009
    328 Posts
    Awesome, it worked. Thanks a bunch!
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Informative Informative x 1 (list)

  25. Post #25
    Juze's Avatar
    November 2011
    57 Posts
    Confirmed, had the same issue on CentOS6. The old binary above worked, thanks!
    Reply With Quote Edit / Delete Reply Windows 7 Finland Show Events Informative Informative x 1 (list)

  26. Post #26
    Dark Herald's Avatar
    August 2010
    93 Posts
    Reply With Quote Edit / Delete Reply Windows 7 Russian Federation Show Events Agree Agree x 1 (list)

  27. Post #27
    Tessius's Avatar
    June 2011
    80 Posts
    So Garry do you want us to use the previous libvstdlib or the one from tf2 as an official patch?

  28. Post #28
    PROUD BRONY 4LYFE
    Drakehawke's Avatar
    February 2009
    3,312 Posts
    So Garry do you want us to use the previous libvstdlib or the one from tf2 as an official patch?
    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.
    Reply With Quote Edit / Delete Reply Windows Vista United Kingdom Show Events Agree Agree x 2 (list)

  29. Post #29
    SysAdmin's Avatar
    April 2012
    31 Posts
    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.
    Same.

    For next readers: Just run update

    (./steam -command update -game garrysmod -dir <directory>) #LOLO

  30. Post #30

    November 2011
    27 Posts
    Same.

    For next readers: Just run update

    (./steam -command update -game garrysmod -dir <directory>) #LOLO
    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.