Segfault with 2.24

Discussion in 'Support' started by Kane, May 9, 2009.

  1. Kane

    Kane Member

    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    0
    Hello,
    I just upgraded to 2.24 (by doing a fresh install and copying config etc.) and get the following console log:
    Code:
    Auto detecting CPU
    Using AMD-Opteron (64 bit) Optimised binary.
    Server will auto-restart if there is a crash.
    
    Console initialized.
     failed to dlopen /srv/srcds/empires-davidk1/orangebox/empires/bin/server_i486.so error=/srv/srcds/empires-davidk1/orangebox/empires/bin/server_i486.so: undefined symbol: _ZN6RakNet9BitStream9WriteBitsEPKhjb
    ./srcds_run: line 352: 28770 Segmentation fault      $HL_CMD
    Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
    Sat May  9 05:02:43 CEST 2009: Server restart in 10 seconds
    
    Core dump can be provided if needed.

    ~Kane

    EDIT: Core dump + debug.log: http://media.kane.cx/core-debug.tar.bz2
     
  2. LordDz

    LordDz Capitan Rainbow Flowers

    Messages:
    5,221
    Likes Received:
    0
    Trophy Points:
    0
    You didn't copy the bin folder did you?
     
  3. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    Funny thing, exact same problem that MBMAGGE started with. He removed the first post now, but what solved it was this:

    MBMAGGE had a different problem after that, but try changing your libc6 version first to see if that resolves it.
     
  4. Kane

    Kane Member

    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    0
    Coffeeburrito: Ok, I'll try that
    LordDz: I did a completely fresh install, I just copied the addons and cfg folder, also I changed the pistol and scout rifle damage in scripts (instakill)
    EDIT: Argh. Some stuff depends on 2.7, so I can't downgrade. If I get debug symbols I might try debugging (I work as a c++ programmer)

    Also, I'll try redownloading the server package, maybe something got corrupted.

    EDIT2: Maybe it's something with the 64-bit optimised stuff? (I'm running on 32 bit mode on a 64 bit os)

    EDIT3: I'll try running the server in a 32-bit chroot environment, then in an ubuntu 32-bit chroot.
     
    Last edited: May 9, 2009
  5. Kane

    Kane Member

    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    0
    Bump: Still segfaulting in a chroot, i'll try reinstalling orangebox content

    Edit: After googling a bit about RakNet (The missing symbol contains that name) it seems that RakNet is a multiplayer network engine. I've downloaded it to see whether it's the source of the problem

    Edit2: The missing symbol is provided in the raknet lib. Maybe something went wrong when linking?
     
    Last edited: May 10, 2009
  6. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    That's odd, the developer in charge of that removed raknet.dll a while back. Maybe they forgot to clean up their code :confused:
     
  7. MBMAGGE

    MBMAGGE Member

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    next server update next server error

    [​IMG]

    it stops on the "network: ip xxxxxxx" line...

    any ideas? maybe from the coders?


    systemspecs:

    [​IMG]
     
  8. Drag

    Drag Member

    Messages:
    748
    Likes Received:
    0
    Trophy Points:
    0
    I bet a coder will be able to give more information but do I read something about raknet in that error line? I think the raknet.dll was removed from the server install, maybe it is still needed somehow? *rolls out the carpet for zeee CB*
     
  9. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    I'll look into why raknet.dll was removed, and if there is a permanent solution.

    I don't think Linux likes DLL files, but try downloading this: http://raegquit.com/coffeeburrito/Raknet.rar and pop it in the bin folder.
     
    Last edited: May 11, 2009
  10. Kane

    Kane Member

    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    0
    The missing symbol is the same as on my error, the only difference is that my server segfaulted, his didn't. The DLL is useless on Linux, anyway. I think something was messed up while removing Raknet (either uncomplete removal or uncomplete linking)
     
    Last edited: May 11, 2009
  11. MBMAGGE

    MBMAGGE Member

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    and u give me "raknet.dll" .... doenst work (suprise)


    I think its a link error, too.

    im still waiting here for a solution.
     
  12. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Try the windows version with wine.
     
  13. Kane

    Kane Member

    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    0
    That workaround is impractical for me.
     
  14. MBMAGGE

    MBMAGGE Member

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    wtf?..no



    PS: im still waiting for the fix.
     
  15. communism

    communism poof

    Messages:
    4,095
    Likes Received:
    2
    Trophy Points:
    0
    Give it a bit of time
     
  16. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Last time eth0 tried it it was more stable and faster then the linux binary, but that was a while ago.

    You shouldn't expect a fix today. Coffeeburrito has some presentation to make and a conference or something like that. I have no idea but I guess it will take some time.
     
  17. Coffeeburrito

    Coffeeburrito Coder

    Messages:
    542
    Likes Received:
    0
    Trophy Points:
    0
    I made a few changes, recompiled, completely different undefined symbol now.

    Also MBMAGGE don't be an asshole if you want help.
     
  18. MBMAGGE

    MBMAGGE Member

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    First, thanks for u fast help.

    Second: It starts, but its a 2.23 Server

    I tryied both http://www.empiresmod.com/download_server_full.php server files.


    Edit2: Why dont u use a Virtual Linux and TRY BEFORE u give it for an official release? It is not so hard.

    here is virtual Box and here is suse or other linux destributions
     
    Last edited: May 13, 2009
  19. Kane

    Kane Member

    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    0
    [Without meaning to insult anybody]
    I think the whole Empires team needs some testing schema like release-stopping bugs (Linux server doesn't work) and a bug tracker (Bugzilla, Trac).
     
  20. arklansman

    arklansman Member

    Messages:
    5,365
    Likes Received:
    0
    Trophy Points:
    0
    Something like this?
     

Share This Page