GoldenEye: Source Forums

  • November 23, 2024, 02:26:12 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Segmentation Fault  (Read 9462 times)

0 Members and 1 Guest are viewing this topic.

ATB

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • ATB has no influence.
  • Offline Offline
Segmentation Fault
« on: September 11, 2016, 02:44:18 am »

I'm getting a Segmentation fault whenever I attempt to start the server for the first time.

I've removed and install everything (steamcmd, app 310, and gesource), even created a 2nd profile to test, as per steamcmd's install notes.

Here's the Segmentation Faults
Quote
$ ./gesource.sh
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
Sat Sep 10 22:38:09 EDT 2016: Server restart in 10 seconds

My ldd:
Quote
$ ldd gesource/bin/server_i486.so
        linux-gate.so.1 (0xf7796000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf633b000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf6336000)
        libldap_r-2.4.so.2 => not found
        librt.so.1 => /lib32/librt.so.1 (0xf632d000)
        libutil.so.1 => /lib32/libutil.so.1 (0xf6329000)
        libnsl.so.1 => /lib32/libnsl.so.1 (0xf630f000)
        steam_api_i486.so => not found
        tier0_i486.so => not found
        vstdlib_i486.so => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf621d000)
        libm.so.6 => /lib32/libm.so.6 (0xf61d6000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf61b9000)
        libc.so.6 => /lib32/libc.so.6 (0xf600c000)
        /lib/ld-linux.so.2 (0xf7799000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf5ff0000)
$

And what my  gesource.sh is
Quote
#!/bin/bash
MALLOC_CHECK_=0 ./srcds_run -game ./gesource/ +maxplayers 16 +map ge-archives

EDIT: Meant to add, I know the ldd shows "libldap_r-2.4.so.2 => not found", but libldap-2.4-2 is installed. I removed it at one point, and it wiped my website, and had to rebuild all of it again.
Logged

soupcan

  • Lead Systems Administrator
  • 00 Agent
  • *****
  • Posts: 288
  • Reputation Power: 236
  • soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!
  • Offline Offline
    • Steam Profile
Re: Segmentation Fault
« Reply #1 on: September 15, 2016, 04:07:37 pm »

Make sure you installed the 32 bit version
Logged

ATB

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • ATB has no influence.
  • Offline Offline
Re: Segmentation Fault
« Reply #2 on: September 15, 2016, 09:45:15 pm »

Make sure you installed the 32 bit version

Of what, exactly?

Based on another thread, I wiped my server (was Debian8 ), and installed Ubuntu Server (16.04 x64), and still get the same error. I did install "dpkg --add-architecture i386", if that's hat you mean... as far as anything else, I followed the installation instructions to the letter.

EDIT: As a test, I setup an HL2DM server, to see if the issue was Source base... the server started up and worked fine... but it did give this error before starting:

Quote
WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
  Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.
« Last Edit: September 16, 2016, 12:13:42 am by ATB »
Logged

soupcan

  • Lead Systems Administrator
  • 00 Agent
  • *****
  • Posts: 288
  • Reputation Power: 236
  • soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!
  • Offline Offline
    • Steam Profile
Re: Segmentation Fault
« Reply #3 on: September 16, 2016, 11:38:43 am »

Of what, exactly?

Of the missing library.

The command you gave only makes i386 packages available to install. It doesn't actually install them by default. Sometimes there are packages that include the 32-bit libraries (ie. lib32xx) or install the name of the normal package with :i386 added to the end.
Logged

ATB

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • ATB has no influence.
  • Offline Offline
Re: Segmentation Fault
« Reply #4 on: September 21, 2016, 07:57:52 pm »

I see... yeah, it's libldap-2.4-2:i386 - not sure why i skipped over that.

At any rate, doing a server migration right now to a new node, and I'll give it another shot once that's finished and update this thread after.

Thanks for the help so far.
Logged

ATB

  • 00 Newbie
  • Posts: 4
  • Reputation Power: 0
  • ATB has no influence.
  • Offline Offline
Re: Segmentation Fault
« Reply #5 on: September 22, 2016, 01:24:36 am »

It appears to be working now, without issue.

If anyone experiences the same issue, this is what I ran to fix it.

Quote
sudo apt-get install libldap-2.4-2:i386

Thanks for the help, soupcan.
Logged

soupcan

  • Lead Systems Administrator
  • 00 Agent
  • *****
  • Posts: 288
  • Reputation Power: 236
  • soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!soupcan is awe-inspiring!
  • Offline Offline
    • Steam Profile
Re: Segmentation Fault
« Reply #6 on: September 22, 2016, 02:47:57 am »

Thanks for taking the time to write back. Nice to hear it's working!
Logged
Pages: [1]   Go Up