Page 1 of 3 123 LastLast
Results 1 to 10 of 25

  Click here to go to the first Developer post in this thread.  

Thread: 1.90f linux and segmentation fault

Hybrid View

  1. #1
    I've been trying to setup a dedicated operation flashpoint server on my debian box but only with this result :

    22:20:08 Dedicated server created
    Segmentation fault

    I haven't had any problems with other linux dedicated servers (eg. ut2003 and bf1942) and I have no idea why it won't run.

    Btw. I run testing on the debian box.

    Also is there a way to make extensive logging, to help figure out what it's trying to do and what my causing it to crash?




  2. #2
    Try checking with strace what exactly is the problem...

  3. #3
    Oh, thx. Just the program I was looking for.

    In the meantime I've tried running it on another box running knoppix(based on debian) with the excact same result

  4. #4
    I tried tracing it and it seems to crash right after loading some libc6 libraries. Is the server compiled with some funky gcc and will it ONLY run on redhat?

  5. #5
    I had it running on redhat and gentoo with different libc, so that should not be the problem. Sorry i can't help you more

  6. #6
    Update :
    Recently there was a huge update of the testing(sarge) dist of debian and with a new libc6. I tried running the flashpoint server again and now it works fine. So it seems it does require a minimum version of libc6. Would be nice if they included a little more stats on the requirements.

  7. #7
    Lance Corporal
    Join Date
    Aug 11 2001
    Location
    Salzburg, Österreich
    Posts
    57
    Yep, I also think that a bit more info would be cool, I am currently running a dedicated server (of course the latest release, not 1.90f) on RedHat8, no problems. Now I got access to a faster machine which is Running with RedHat9 and it does not work.

    I saw that RH8 uses glibc2.2 and RH9 uses glibc2.3, maybe this causes the problem?
    (Assuming that I am right and this is the reason why it does not work on my RH9 comp): It would be really nice if you wou would compile it both for glibc2.2 and 2.3.

    PS: Is anybody running the Linux Ded. Server on RH9 without problems? (then I would know that it is not the glibc)

  8. #8
    Try running the server with strace to see what's going wrong. Or try to unset LANG (or at least unset UTF-8)...

  9. #9
    Lance Corporal
    Join Date
    Aug 11 2001
    Location
    Salzburg, Österreich
    Posts
    57
    [david@image ~/ofp]$ strace -o strace.log ./server -config=server.cfg
    23:21:17 Dedicated server created, memory used: 8308 KB
    Server creation failed : 2302

    My strace.log is 8.3 megabytes big so it is not helpful as I don't know what to look for.

    The fact that it says "Server createn failed : 2302" is a bit interesting as the error message includes the port it should run on. But I can open this port, I tried that and netstat -al also does not list the port as already open.

    What does "unset LANG or UTF-8 mean"? Is it deleting environment variables?
    $LANG is set to en_US.UTF-8 on both systems (on the RH8 one where OFP is working and on the RH9 one where it is not working)

  10. #10
    I had some programs which wouldn't start when UTF was set, this seems not to be your problem though. The "port 2302" normally means something is not correct with your network setup, check your /etc/hosts, resolv.conf, route, ifconfig, etc. Use the search function for more about this topic.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •