Sun 26 Oct 2003 07:48:25 PM UTC, original submission:
Setting up a dedicated server :
-------------------------------
./netpanzer -d
couldn't read game configuration: no such path 'config/netpanzer-dedicated.cfg'
netPanzer Dedicated Server
Map Name <Bad Neuburg> : Open War
Players <8> : 16
Units <500> :
Game Type
(1) Objective
(2) Frag Limit
(3) Time Limit
Choose <1>:
Outpost Occupation <100 %> :
PowerUps <NO> (Y/N) :
Server Name <Dedicated Server> :Newbie's Server
Game Launched, Server Ready...
---------------------------------------------------
On the other side, i open a telnet connection
telnet localhost 3030
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
``^]
telnet> Connection closed.
---------------------------------------------------
(I ended the telnet cnx without sending anything.
(I've dont this, thinking i could see a sort of server
banner, so i knew this port was bound by netpanzer)
When i close the telnet connection, server crashes :
Connection lost for ID 0: accept() failed
Received signal SIGSEGV(11)aborting and trying to shutdown.
Segmentation fault
-----------------------------------------------
I know we are not supposed to telnet to our netpanzer server, but once the port is opened ... anything can happen.
Here are the latest lines output by a strace :
------------------------------------------------
rt_sigprocmask(SIG_SETMASK, NULL, [SEGV RTMIN], 8) = 0
rt_sigsuspend([SEGV] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [SEGV RTMIN])
write(4, "`\340\0@\1\0\0\0\2@\0\0\262Y\0@\2001\0@\0\7\0@`\340\0@"..., 148) = 148
rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0x4000c610, [BUS], SA_RESTORER|SA_RESTART, 0x4007a578}, 8) = 0
rt_sigaction(SIGFPE, NULL, {0x4000c610, [FPE], SA_RESTORER|SA_RESTART, 0x4007a578}, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
fsync(5) = 0
close(5) = 0
sigreturn() = ? (mask now [RTMIN])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
------------------------------------------------------
I don't know if this will help...
Anyway .. Thanks a lot for coding this game, it seems really excellent, in a few minutes, i'm going to open/forward incoming tcp/3030 port and join freenode.net's channel :)
Have fun.
|