Snow Leopard: Official build crashes on loading [SOLVED]

Snow Leopard: Official build crashes on loading [SOLVED]

Discuss everything related to compiling and running Spring on Mac OS X.

Moderators: Moderators, Moderators

User avatar
CommanderAndy
Posts: 3
Joined: 15 Dec 2011, 20:19

Snow Leopard: Official build crashes on loading [SOLVED]

Post 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?
Last edited by CommanderAndy on 15 Dec 2011, 22:25, edited 1 time in total.
0 x


User avatar
marciolino
Posts: 268
Joined: 06 Sep 2010, 22:59

Re: Snow Leopard: Official build crashes on loading screen

Post by marciolino »

Try to put this on your .springrc file (in your home dir):
LoadingMT=0

It should work.
0 x

User avatar
CommanderAndy
Posts: 3
Joined: 15 Dec 2011, 20:19

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

Post 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.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

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

Post 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.
0 x

User avatar
CommanderAndy
Posts: 3
Joined: 15 Dec 2011, 20:19

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

Post 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! :)
0 x

User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

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

Post 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
0 x

User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

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

Post by danil_kalina »

Balanced Annihilation works fine
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

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

Post by abma »

how did you get apple.log? (sorry, apple noob)
0 x

hybridtupel
Posts: 1
Joined: 25 Jan 2012, 19:36

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

Post 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.
0 x

User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

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

Post by danil_kalina »

exactly)
0 x

JediDoubleJedi
Posts: 6
Joined: 26 Jan 2012, 23:26

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

Post by JediDoubleJedi »

You can install windows on your mac. Windows works well with this game!
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

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

Post 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...
0 x

User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

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

Post 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
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

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

Post by abma »

the desync is expected, because its a different version. sorry, should have said that you can't use it for online play :-/.
0 x

User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

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

Post 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
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

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

Post by abma »

yeah, thats correct for releases...
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

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

Post 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().
0 x

User avatar
danil_kalina
Posts: 505
Joined: 08 Feb 2010, 22:21

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

Post by danil_kalina »

Thanks hoijui for correcting me
for now
GetSpringVersion() returns 85.0.1-112-g69ac7c4 for that build
previously
GetSpringVersion() returns 85
0 x

Bosque
Posts: 36
Joined: 29 Oct 2011, 06:40

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

Post 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
0 x

Post Reply

Return to “Mac OS X”