spring-dedicated crash

spring-dedicated crash

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Poil
Posts: 12
Joined: 13 Feb 2010, 13:31

spring-dedicated crash

Post 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
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: spring-dedicated crash

Post 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?
Poil
Posts: 12
Joined: 13 Feb 2010, 13:31

Re: spring-dedicated crash

Post by Poil »

It's doing the same thing with SPADS and Springie.
I've only one autohost (at the same time)

Thx :)
Poil
Posts: 12
Joined: 13 Feb 2010, 13:31

Re: spring-dedicated crash

Post by Poil »

I've tryed to build spring from source; I've got the same error. Bug with Debian Squeeze ?
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: spring-dedicated crash

Post 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;" ?
Poil
Posts: 12
Joined: 13 Feb 2010, 13:31

Re: spring-dedicated crash

Post 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
Post Reply

Return to “Help & Bugs”