View Issue Details

IDProjectCategoryView StatusLast Update
0001857Spring engineLinuxpublic2010-04-11 14:34
ReporterPoil Assigned ToAuswaschbar  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.81.2 
Summary0001857: spring-dedicated - boost::system::system_error
DescriptionWhen running spring-dedicated, it crashed.
LogOutput initialized.
Spring 0.81.1.3
Build date/time: Feb 21 2010 13:06:54
Available log subsystems: VFS-detail, VFS, ArchiveScanner,
Enabled log subsystems:
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Using read-only data directory: /usr/games/
Using read-write data directory: /home/spring/.spring/
Scanning: /home/spring/.spring/maps
Scanning: /home/spring/.spring/mods
Scanning: /usr/games/base
Loading script from file: /home/spring/game/spads/var/startscript.txt
Starting server...
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
Abandon
Additional InformationHere is a strace
TagsNo tags attached.
Attached Files
springlog.txt (Attachment missing)
infolog.txt (Attachment missing)
infolog_2.txt (Attachment missing)
springlog_2.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

Poil

2010-03-03 19:04

reporter   ~0004716

DOH wrong click :

Tested on Debian Lenny (stable) and Debian Squeeze (unstable)

Tested when building from source and with build of the Debian SID repository

Auswaschbar

2010-03-03 20:09

reporter   ~0004717

Can you post infolog please?

Poil

2010-03-03 20:21

reporter   ~0004718

Last edited: 2010-03-04 08:10

here it is. If need I can give an access to the box.

hoijui

2010-03-04 09:13

reporter   ~0004719

just a side node, you are running spring 0.81.1.3, while latest release version is 0.81.2.0 (which is needed to play online).

Poil

2010-03-04 19:10

reporter   ~0004722

Doh,
spring_0.81.2+dfsg1-1_i386.deb from http://packages.debian.org/fr/sid/i386/spring/download contains a 8.1.1.3

I will make it from source ...

Poil

2010-03-04 19:14

reporter   ~0004723

Ok I'have rebuild it from source, it's the same things.

Here is the log

mammadori

2010-03-06 00:50

reporter   ~0004727

I bet you have a strange "/usr/local/lib/libspringserver.so" from an older spring lying around.

I bet 50Ôé¼.

Did I won?

mammadori

2010-03-06 00:53

reporter   ~0004728

Jokes apart, I thing there is a ld bug in spring-dedicated, we build with "-DBINDIR=games -DLIBDIR=lib/spring -DAI_LIBS_DIR=lib/spring -DAI_DATA_DIR=share/games/spring -DAI_TYPES=NATIVE -DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DMARCH_FLAG=$(MARCH_FLAG)"

and I can be wrong, but probably "spring-dedicated" does not like it as "spring" does.

We are tracking this bug also via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571544

Poil

2010-03-06 09:06

reporter   ~0004729

You're wrong, give me 50 ! :)
-rw-r--r-- 1 root staff 3993314 mars 5 19:06 /usr/local/lib/libspringserver.so

sd-14578:~# md5sum /usr/local/lib/libspringserver.so /home/spring/src/spring_0.81.2/tools/DedicatedServer/libspringserver.so
b81a1e42df07447ad052617a70064f2d /usr/local/lib/libspringserver.so
b81a1e42df07447ad052617a70064f2d /home/spring/src/spring_0.81.2/tools/DedicatedServer/libspringserver.so

mammadori

2010-03-06 15:05

reporter   ~0004731

Last edited: 2010-03-06 15:07

Then I'm right since using the debian package you are not supposed to have a file under /usr/local.

$ dpkg -L spring | grep server
/usr/lib/spring/libspringserver.so

So you built the software yourself and this lead to a broken file.

I think you need to use the debian binary package as is (after removing any previously installed spring "compiled by yourself" file) or give some hints on how you built the software; you are not using dpkg-buildpackage it seems since you are having files under /usr/local.

And btw the md5 of the official i386 package is:

$ md5sum /usr/lib/spring/libspringserver.so
12ea796ba8b88d278fe7106e5056149b /usr/lib/spring/libspringserver.so

Poil

2010-03-06 15:45

reporter   ~0004732

Last edited: 2010-03-06 16:04

I had uninstalled debian package before rebuilding from source.
Debian package wasn't working.

I go to uninstall src and reinstall debian package but I bet 50Ôé¼ that will not work =)

UPDATE :
-------------------------------------
DEBIAN Package :
spring-common (0.81.2+dfsg1-1) ...
spring (0.81.2+dfsg1-1) ...
springlobby (0.63-3) ...


Running :
spring@sd-14578:~/game/spads$ env |grep LD
LD_LIBRARY_PATH=/usr/lib/spring


LogOutput initialized.
Spring 0.81.2.0
Build date/time: Feb 22 2010 22:40:27
Available log subsystems: ArchiveScanner, VFS-detail, VFS,
Enabled log subsystems:
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Using read-write data directory: /home/spring/.spring/
Using read-only data directory: /usr/games/
Using read-only data directory: /home/spring/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/
Scanning: /usr/share/games/spring/base
Scanning: /home/spring/.spring/maps
Scanning: /home/spring/.spring/mods
Scanning: /usr/games/base
Scanning: /home/spring/.spring/maps
Scanning: /home/spring/.spring/mods
Loading script from file: /home/spring/game/spads/var/startscript.txt
Starting server...
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

Auswaschbar

2010-04-11 14:34

reporter   ~0004821

bug in spads

Issue History

Date Modified Username Field Change
2010-03-03 19:02 Poil New Issue
2010-03-03 19:02 Poil File Added: springlog.txt
2010-03-03 19:04 Poil Note Added: 0004716
2010-03-03 20:09 Auswaschbar Note Added: 0004717
2010-03-03 20:21 Poil File Added: infolog.txt
2010-03-03 20:21 Poil Note Added: 0004718
2010-03-04 08:10 Poil Note Edited: 0004718
2010-03-04 09:13 hoijui Note Added: 0004719
2010-03-04 19:10 Poil Note Added: 0004722
2010-03-04 19:14 Poil Note Added: 0004723
2010-03-04 19:15 Poil File Added: infolog_2.txt
2010-03-04 19:16 Poil File Added: springlog_2.txt
2010-03-06 00:50 mammadori Note Added: 0004727
2010-03-06 00:53 mammadori Note Added: 0004728
2010-03-06 09:06 Poil Note Added: 0004729
2010-03-06 15:05 mammadori Note Added: 0004731
2010-03-06 15:07 mammadori Note Edited: 0004731
2010-03-06 15:45 Poil Note Added: 0004732
2010-03-06 16:04 Poil Note Edited: 0004732
2010-04-11 14:34 Auswaschbar Note Added: 0004821
2010-04-11 14:34 Auswaschbar Status new => resolved
2010-04-11 14:34 Auswaschbar Resolution open => fixed
2010-04-11 14:34 Auswaschbar Assigned To => Auswaschbar