Page 1 of 2

Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 15 Dec 2011, 21:03
by CommanderAndy
Hello! I am new to Spring, and I am trying to run the latest official Mac build (84.0). The game launches just fine, so I downloaded and installed Balanced Annihilation v7.60 and one map (Delta Siege Dry). However, whenever I start the game, it crashes on the loading screen immediately after "Loading Radar Icons".

I looked at my log file, and here's what I found:

Code: Select all

[f=0000000] Loading Radar Icons
[f=0000000] Error: Segmentation fault (SIGSEGV) in spring 84.0
[f=0000000] Error: Stacktrace:
[f=0000000] Error:   <0> 0   libSystem.B.dylib                   0x00007fff8a26e1ba _sigtramp + 26
[f=0000000] Error:   <1> 1   ???                                 0x00007fff5fc0f131 0x0 + 140734799868209
[f=0000000] Error:   <2> 2   spring                              0x000000010034a21d _ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev + 2139453
[f=0000000] Error:   <3> 3   spring                              0x000000010034a6ff _ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev + 2140703
[f=0000000] Error:   <4> 4   spring                              0x000000010034ac6a _ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev + 2142090
[f=0000000] Error:   <5> 5   spring                              0x00000001000932bc _ZN5boost16exception_detail19error_info_injectorINS_6system12system
Changing the AI script a couple times did not seem to do anything. Is this a problem with the game/map I installed, or is this a problem with my install of Spring?

Re: Snow Leopard: Official build crashes on loading screen

Posted: 15 Dec 2011, 21:29
by danil_kalina

Re: Snow Leopard: Official build crashes on loading screen

Posted: 15 Dec 2011, 21:52
by marciolino
Try to put this on your .springrc file (in your home dir):
LoadingMT=0

It should work.

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 16 Dec 2011, 18:30
by CommanderAndy
Yes, that did work! Thank you. :)

So then (apparently) multithreading is not yet supported on Mac/Snow Leopard, and must be disabled before the game will launch? Seems like MT should be disabled by default on the Mac version, if it's not supported yet.

EDIT: I actually changed the setting from the Spring main menu, instead of editing my ".springrc" file. So apparently changing the setting in Spring works as well. I changed the "LoadingMT" value to 0 in the settings panel, and successfully started the game without Spring crashing.

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 16 Dec 2011, 20:40
by hoijui
side-note:
it is only loading-MT, which means, you will have single threaded loading. this setting has no effect as soon as you are in-game. it is a rather unimportant thing.
there is spring-multithreaded, though even that only separated some drawing stuff into an other thread, and is not as stable as single threaded spring.
-> you dont miss much.

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 17 Dec 2011, 05:11
by CommanderAndy
hoijui wrote:it is only loading-MT, which means, you will have single threaded loading. this setting has no effect as soon as you are in-game. it is a rather unimportant thing.
Ah, I see. I thought it was going to affect more than that. Good to know, thanks! :)

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 18 Jan 2012, 04:54
by danil_kalina
85.0 crash in the beginning of the battle
Zero-k

infolog.txt
apple.log

.springrc:

InputTextGeo = 0.480042 0.805000 0.02 0.300000
LoadingMT = 0
ShowPlayerInfo = 0
Version = 5

I think it is because of the second graphics card. Intel

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 18 Jan 2012, 16:38
by danil_kalina
Balanced Annihilation works fine

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 24 Jan 2012, 13:16
by abma
how did you get apple.log? (sorry, apple noob)

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 25 Jan 2012, 19:39
by hybridtupel
I think he got it out from the crashreporter. If a program crashes, you get information about it and can send it to apple, to improve the programs.
I don't know how Apple wants to improve the programs of third party developers, but that's another story.

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 26 Jan 2012, 20:24
by danil_kalina
exactly)

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 26 Jan 2012, 23:34
by JediDoubleJedi
You can install windows on your mac. Windows works well with this game!

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 09:00
by abma
this development build should print more useful stacktraces:

http://springrts.com/dl/buildbot/defaul ... eopard.zip

(can't try for myself)


imo installing windows is no solution...

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 13:23
by danil_kalina
Balanced Annihilation works fine, but there is Sync Error:

unitsync.log
infolog.txt


Zero-K crashes:

unitsync.log
infolog.txt
apple.log

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 14:52
by abma
the desync is expected, because its a different version. sorry, should have said that you can't use it for online play :-/.

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 15:05
by danil_kalina
hmm, but hoijui says that if spring minor version changed you can play without desync. so, it is 86.0 not a 85.0.1

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 16:18
by abma
yeah, thats correct for releases...

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 16:21
by hoijui
as the docu sais, yo ucan do string equality test with versions to see if they sync, with the versions returned by GetSpringVersion().

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 16:31
by danil_kalina
Thanks hoijui for correcting me
for now
GetSpringVersion() returns 85.0.1-112-g69ac7c4 for that build
previously
GetSpringVersion() returns 85

Re: Snow Leopard: Official build crashes on loading [SOLVED]

Posted: 29 Jan 2012, 19:02
by Bosque
I have the same problem with Zero-K and Cursed with the game just crashing.

http://springrts.com/phpbb/viewtopic.php?f=11&t=27494