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

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

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
Itzamna
Posts: 3
Joined: 23 Sep 2009, 20:53

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

Post 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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

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

Post 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.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

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

Post 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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

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

Post 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?
Itzamna
Posts: 3
Joined: 23 Sep 2009, 20:53

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

Post 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?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

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

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

Return to “Help & Bugs”