3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
Moderator: Moderators
3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
So, I recently had been playing .82.0 just fine, until the server upgraded to .82.3 . After being unable to upgrade my current install, I uninstalled spring, then compiled .82.3 from source, and compiled springlobby .95 from source. Now, however, I can't play because when I set up a game, (any bot, any mod, any map, any time) it starts up, Does the countdown (3,2,1,0) then crashes and leaves me with and xmessage note: SIGSEGV.
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
attach infolog.txt as a file attachment on your post, or use pastebin.
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
OK, here is the terminal output right before it crashed:
"infolog.txt" and "infolog.bak.txt" are attached to the post. I might add that this spring engine was compiled form source, whereas the previous version, the one that was working fine, was from the ubuntu repos. do i need to recompile spring with a certain option?
Code: Select all
configController constructed ok
config constructed ok
0 ms INFO: Is game paused? : false
0 ms INFO: registerGameListener FrameController
0 ms INFO: calling GetUnitDefList...
0 ms INFO: ... done
<SkirmishAI: HughAI 0.1 (team 0)>: Creating new cachefile for mod Balanced Annihilation V7.15
0 ms INFO: Generating indexes mod Balanced Annihilation V7.15
Segmentation fault (SIGSEGV) in spring 0.82.3.0
Stacktrace:
/home/yanom/games/spring_0.82.3/spring() [0x97ee3f]
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so(+0x58bf98) [0x7f5756f97f98]
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so(JVM_handle_linux_signal+0x86) [0x7f5756f9e056]
/lib/libpthread.so.0(+0xf8f0) [0x7f57751118f0]
/home/yanom/games/spring_0.82.3/spring(skirmishAiCallback_UnitDef_MoveData_getMaxSlope+0x10) [0xa0d6c0]
/tmp/jna7811691995672539770.tmp(ffi_call_unix64+0x4c) [0x7f575510623c]
/tmp/jna7811691995672539770.tmp(ffi_call+0x1ff) [0x7f5755105d9f]
/tmp/jna7811691995672539770.tmp(+0x76bc) [0x7f57550fc6bc]
/tmp/jna7811691995672539770.tmp(Java_com_sun_jna_Function_invokeFloat+0x18) [0x7f57550fd088]
[0x7f574d010c48]
# NOTE: above line shows no path -> not translating
Translated Stacktrace:
/home/yanom/spring_0.82.3/rts/System/Platform/Linux/CrashHandler.cpp:250
??:0
??:0
??:0
/home/yanom/spring_0.82.3/rts/ExternalAI/SSkirmishAICallbackImpl.cpp:2328
??:0
/home/twall/ws/jna/native/libffi/src/x86/ffi64.c:432
dispatch.c:0
??:0
Spring crashed Segmentation fault (SIGSEGV)
- Attachments
-
- infolog.bak.txt
- (20.38 KiB) Downloaded 135 times
-
- infolog.txt
- (2.58 KiB) Downloaded 126 times
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
thanks
please make a test with one of the native AIs (eg, KAIK on BA).
and only send infolog.txt, the rest i do not know (infolog and console output should be equal).
HughAI is Java, and it is harder to figure out what happened there, with just a stack trace.
please make a test with one of the native AIs (eg, KAIK on BA).
and only send infolog.txt, the rest i do not know (infolog and console output should be equal).
HughAI is Java, and it is harder to figure out what happened there, with just a stack trace.
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
OK, KAIK on Balanced Annihilation worked! (I'm not much of a BA player so it schooled me). Apparently the problem has to do with the AIs, not spring itself.
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
most of the AIs that come with the engine work with BA (AAI needs config file for exact version of BA you want to play). some of them work with similar mods (XTA, SA), and RAI might even work with NOTA and some others a bit less similar...
if you go as far as KP, CA, S44, .... none of the standard packed AIs will work there.
if you go as far as KP, CA, S44, .... none of the standard packed AIs will work there.
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
Mmmmm, my original assumption was wrong. The issues have to do with the MOD, not the AI. The following experiment was run on the map DeltaSeigeDry, with one bot, NullAI:
BA v7.15: Works
BOTA 1.7 (beta 9): Launches the game, but instead of a com, i am given a popsicle-like marker on the map saying "Start 2"
CA stable-8025: Launches the game, but I am given no com or startpos marker
CA test-8275: Works
Conflict Terra v1.00: Launches the game, but I am given no com or startpos marker
Kernel Panic 4.0: Launches the game, but I am given no base structure (KP equivalent of a com) or startpos marker
I'm seeing a connection here - mods downloaded with the "rapid" mod download service work, while others don't.
EDIT: further research broke my theory. I downloaded SpecialBA from rapid, and this happened:
Special BA v1.05 (BA 7.12): Launches the game, but instead of a com, i am given a popsicle-like marker on the map saying "Start 2"
BA v7.15: Works
BOTA 1.7 (beta 9): Launches the game, but instead of a com, i am given a popsicle-like marker on the map saying "Start 2"
CA stable-8025: Launches the game, but I am given no com or startpos marker
CA test-8275: Works
Conflict Terra v1.00: Launches the game, but I am given no com or startpos marker
Kernel Panic 4.0: Launches the game, but I am given no base structure (KP equivalent of a com) or startpos marker
I'm seeing a connection here - mods downloaded with the "rapid" mod download service work, while others don't.
EDIT: further research broke my theory. I downloaded SpecialBA from rapid, and this happened:
Special BA v1.05 (BA 7.12): Launches the game, but instead of a com, i am given a popsicle-like marker on the map saying "Start 2"
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
the thing is simple:
for mods to work with the new version of spring, and to spawn start units, they have to do a few changes. the versions/mods that did not work for you, simply do not have these changes. mods that use rapid, usually have their latest version up there first, and only later (or not at all) make them available as downloads on file sites/the non-rapid downloaders.
BA works since 7.14 for example.
for mods to work with the new version of spring, and to spawn start units, they have to do a few changes. the versions/mods that did not work for you, simply do not have these changes. mods that use rapid, usually have their latest version up there first, and only later (or not at all) make them available as downloads on file sites/the non-rapid downloaders.
BA works since 7.14 for example.
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
Ahhh, but BA isnt working because of a totally unrelated (i think) bug
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
I have the same issue, both on Windows 7 64 bits and on Fedora 13 x86-64.
Spring was working fine before, at least with 0.81.2.1
edit: crashed with BA7.15
Spring was working fine before, at least with 0.81.2.1
edit: crashed with BA7.15
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
Here is the infolog.
- Attachments
-
- infolog.txt
- infolog
- (7.46 KiB) Downloaded 132 times
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
Code: Select all
Video mode set to 1680x1050/32bit
[ 0] SDL: 1.2.14
[ 0] GL: 3.3.10057 Compatibility Profile Context
[ 0] GL: ATI Technologies Inc.
[ 0] GL: ATI Radeon HD 4800 Series
[ 0] GLSL: 3.30
[ 0] GLEW: 1.5.4
[ 0] ATI hacks enabled
Re: 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04
I set graphics to the minimum in SpringSettings, but it crash anyway.