Page 1 of 1

spring-dedicated crash

Posted: 26 Feb 2010, 18:46
by Poil
Hi,

When running spring-dedicated it crash with :

Code: Select all

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  Connection refused
Any idea ?

OS : Debian Squeeze
PKG (SID) : spring_0.81.2+dfsg1-1_i386.deb
PKG (SID) : spring-common_0.81.2+dfsg1-1_all.deb

Re: spring-dedicated crash

Posted: 26 Feb 2010, 21:24
by det
How is it being run? Springie? Spads?

Do you have more than 1 autohost on the same machine? Maybe the port is already in use?

Re: spring-dedicated crash

Posted: 26 Feb 2010, 21:44
by Poil
It's doing the same thing with SPADS and Springie.
I've only one autohost (at the same time)

Thx :)

Re: spring-dedicated crash

Posted: 01 Mar 2010, 18:48
by Poil
I've tryed to build spring from source; I've got the same error. Bug with Debian Squeeze ?

Re: spring-dedicated crash

Posted: 03 Mar 2010, 20:45
by bibim
Is it an IPV6 enabled system ?

What do you have in your /etc/hosts file ?

Can you try this:
- launch SPADS (it will open autohost port)
- modify the startscript ("startscript.txt" file in SPADS var directory) to add this line " AutohostIP=127.0.0.1;" after the " AutohostPort=xxx;" line
- try to launch spring-dedicated manually (with absolute path of the startscript file as parameter, and libspringserver.so in your LD_LIBRARY_PATH)

And can you try with " AutohostIP=::1;" instead of " AutohostIP=127.0.0.1;" ?

Re: spring-dedicated crash

Posted: 04 Mar 2010, 08:33
by Poil
Hi,

I've tried, same thing. I've open a mantis http://springrts.com/mantis/view.php?id=1857

IPv6 is enable, I will try to disable it.

Code: Select all

spring@sd-14578:~/game$ netstat -lnp |grep 8454
udp        0      0 127.0.0.1:8454          0.0.0.0:*                           23135/perl
a part of strace

Code: Select all

futex(0xb7158cf0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 11
connect(11, {sa_family=AF_INET, sin_port=htons(8454), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getsockname(11, {sa_family=AF_INET, sin_port=htons(46828), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
close(11)                               = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 11
connect(11, {sa_family=AF_INET6, sin6_port=htons(8454), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(11, {sa_family=AF_INET6, sin6_port=htons(45977), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(11)                               = 0
connect(10, {sa_family=AF_INET6, sin6_port=htons(8454), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
sendmsg(10, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 1
sendmsg(10, {msg_name(0)=NULL, msg_iov(1)=[{"\4Connecting to autohost on port "..., 36}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = -1 ECONNREFUSED (Connection refused)
futex(0xb7177208, FUTEX_WAKE_PRIVATE, 2147483647) = 0