1 (edited by Daomaster 2009-07-22 22:40:49)

Topic: [HELP] How to solve the "segmentation fault" with modded servers?

Hi, i have a big problem.
When i try to start a modded server, it crashes instant with "segmentation fault".
My root:
# CPU P3 1000 MHz
# Ram 512MB
# HDD 10 GB
# 1x 100 Mbit/s
# Ubuntu 8.04LTS minimal  (i've also tried Debian 5.0 minimal)

Only the standard server and the mods race 0.5.x and scosu modpack are working.

When starting War3 mod i get this error:


./teeworlds_srv_war3: line 1: syntax error near unexpected token `newline'
./teeworlds_srv_war3: line 1: `<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'


but on all other mods i just get a "segmentation fault"

2

Re: [HELP] How to solve the "segmentation fault" with modded servers?

Try compiling it yourself.

aka cheesy

3

Re: [HELP] How to solve the "segmentation fault" with modded servers?

mmhh i've tried to do it like here:
http://www.teeworlds.com/?page=docs& … Everything
but when i try to compile bam i get this error:


./make_unix.sh: 2: gcc: not found
./make_unix.sh: 3: src/tools/txt2c: not found
./make_unix.sh: 4: gcc: not found

4

Re: [HELP] How to solve the "segmentation fault" with modded servers?

You need to install the build-essentials package.

aka cheesy

5

Re: [HELP] How to solve the "segmentation fault" with modded servers?

Thank you, but now i get another error while compiling bam:


/tmp/ccZx9tbQ.o: In function `os_tmpname':
loslib.c:(.text+0x51): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

6

Re: [HELP] How to solve the "segmentation fault" with modded servers?

its just a warning but i guess it work wink

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

7

Re: [HELP] How to solve the "segmentation fault" with modded servers?

wuhuuu it's working smile
thank you guys