Page 1 of 1

[Gentoo GNU/Linux x86_64] Spring crashes when loading replay

Posted: 23 Sep 2009, 21:28
by Itzamna
Description: when I load a replay, Spring crashes with the following debug output:

Code: Select all

[      0] Aborted (SIGABRT) in spring 0.80.4.1
Stacktrace:
/usr/bin/spring [0xce40ed]
/lib/libc.so.6 [0x7fcc4dd046d0]
/lib/libc.so.6(gsignal+0x35) [0x7fcc4dd04645]
/lib/libc.so.6(abort+0x183) [0x7fcc4dd05b63]
/lib/libc.so.6(__assert_fail+0xe9) [0x7fcc4dcfd6d9]
/usr/bin/spring [0x6c2c51]
/usr/bin/spring [0x762958]
/usr/bin/spring [0x6bc77c]
/usr/bin/spring [0x6bb873]
/usr/bin/spring [0xcdb699]
/usr/bin/spring [0xcdba05]
/usr/bin/spring [0xcab1cc]
/usr/bin/spring [0xcab4d5]
/lib/libc.so.6(__libc_start_main+0xe6) [0x7fcc4dcf0a26]
/usr/bin/spring [0x6ba819]
k_tanf.cpp:0
??:0
??:0
??:0
??:0
k_tanf.cpp:0
k_tanf.cpp:0
k_tanf.cpp:0
k_tanf.cpp:0
k_tanf.cpp:0
k_tanf.cpp:0
k_tanf.cpp:0
k_tanf.cpp:0
??:0
??:0
Operating system: Gentoo GNU/Linux x86_64
Optimizations: None
Request: Clarification on method to resolve this problem, or upstream fix if needed.

Re: [Gentoo GNU/Linux x86_64] Spring crashes when loading replay

Posted: 24 Sep 2009, 10:08
by hoijui
a general question (mianly targeted to Auswaschbar):
as Linux stack traces are comming in now..
what can we do with them? i for one do not know how i could translate this, except trying to compile the exactly same build of spring myself, and manually translate the addresses with addr2line... and i am not so confident that this would work even.

Re: [Gentoo GNU/Linux x86_64] Spring crashes when loading replay

Posted: 24 Sep 2009, 12:57
by Auswaschbar
Do you start the replay with springlobby? If so, don't, start them from a filemanager instead.

@hoijui: linux stacktraces needs debug informations right in the binary. If you have them, you get stacktraces like buildbot would produce. If you haven't, they are mostly useless.

Re: [Gentoo GNU/Linux x86_64] Spring crashes when loading replay

Posted: 24 Sep 2009, 14:05
by hoijui
mmm ok :/
kind of.. bad.
maybe package devs should/could provide a debug package of spring? is there a way to use external symbols?

Re: [Gentoo GNU/Linux x86_64] Spring crashes when loading replay

Posted: 24 Sep 2009, 22:08
by Itzamna
Thanks for your advice, Auswaschbar, loading the replay through the shell instead of the lobby results in a working replay.

Even though this appears to be a Springlobby bug, could you tell me the compile option I need to pass for a debug build?

Re: [Gentoo GNU/Linux x86_64] Spring crashes when loading replay

Posted: 25 Sep 2009, 09:45
by hoijui
i do not know the gentoo specific way to do this, but in general you have to pass -DCMAKE_BUILD_TYPE=DEBUG3 to cmake (when configuring).