View topic - 3, 2, 1, SEGFAULT on .82.3, ubuntu 10.04



All times are UTC + 1 hour


Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: 15 Aug 2010, 23:13 

Joined: 10 Jul 2009, 22:34
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.


Top
 Offline Profile  
 
PostPosted: 16 Aug 2010, 12:26 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
attach infolog.txt as a file attachment on your post, or use pastebin.


Top
 Offline Profile  
 
PostPosted: 16 Aug 2010, 17:53 

Joined: 10 Jul 2009, 22:34
OK, here is the terminal output right before it crashed:
Code:
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)


"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?


Attachments:
infolog.bak.txt [20.38 KiB]
Downloaded 103 times
infolog.txt [2.58 KiB]
Downloaded 103 times
Top
 Offline Profile  
 
PostPosted: 16 Aug 2010, 19:01 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
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.


Top
 Offline Profile  
 
PostPosted: 16 Aug 2010, 19:20 

Joined: 10 Jul 2009, 22:34
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.


Top
 Offline Profile  
 
PostPosted: 16 Aug 2010, 19:25 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
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.


Top
 Offline Profile  
 
PostPosted: 17 Aug 2010, 01:25 

Joined: 10 Jul 2009, 22:34
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"


Top
 Offline Profile  
 
PostPosted: 17 Aug 2010, 13:25 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
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.


Top
 Offline Profile  
 
PostPosted: 17 Aug 2010, 15:55 

Joined: 10 Jul 2009, 22:34
Ahhh, but BA isnt working because of a totally unrelated (i think) bug


Top
 Offline Profile  
 
PostPosted: 20 Aug 2010, 23:47 

Joined: 25 Jul 2007, 11:20
Location: France
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


Top
 Offline Profile  
 
PostPosted: 20 Aug 2010, 23:56 

Joined: 25 Jul 2007, 11:20
Location: France
Here is the infolog.


Attachments:
File comment: infolog
infolog.txt [7.46 KiB]
Downloaded 104 times
Top
 Offline Profile  
 
PostPosted: 21 Aug 2010, 10:56 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
Code:
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


the crash is in your GFX driver. try lowering settings, disabling some widgets or installing an other driver(-version).


Top
 Offline Profile  
 
PostPosted: 21 Aug 2010, 15:12 

Joined: 25 Jul 2007, 11:20
Location: France
I set graphics to the minimum in SpringSettings, but it crash anyway.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.