Spring 89 game start crash on ML

Spring 89 game start crash on ML

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

Moderator: Moderators

Post Reply
nazica
Posts: 14
Joined: 22 Aug 2012, 23:29

Spring 89 game start crash on ML

Post by nazica »

Hello friends,

I'm using Mountain Lion. Spring app starts normally, but when I try to launch a singleplayer game, app crashes. How can I fix it?

Regards, Eugene
Attachments
crash-log.txt
(60.29 KiB) Downloaded 57 times
infolog.txt
(5.41 KiB) Downloaded 59 times
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring 89 game start crash on ML

Post by abma »

are you using an ai? if so, does it work without an ai?

can you run it with gdb attached and copy/paste the output of "bt full" here?
nazica
Posts: 14
Joined: 22 Aug 2012, 23:29

Re: Spring 89 game start crash on ML

Post by nazica »

are you using an ai? if so, does it work without an ai?
Sorry, I don't get it :) Do you mean bots with AI? I tried to start the game with several different bot types and watch a battle using web lobby — game crashes. Start game in fullscreen and window mode — same behavior.
can you run it with gdb attached and copy/paste the output of "bt full" here?
Here is the full bt. In attached file there is whole console output.

Code: Select all

(gdb) bt full
#0  0x00000001000785cc in aiMatrix4x4t<float>::aiMatrix4x4t ()
No symbol table info available.
#1  0x000000010007864d in aiMatrix4x4t<float>::aiMatrix4x4t ()
No symbol table info available.
#2  0x00000001002be7a0 in creg::GetType<std::vector<float, std::allocator<float> > > ()
No symbol table info available.
#3  0x00000001002be966 in creg::GetType<std::vector<float, std::allocator<float> > > ()
No symbol table info available.
#4  0x00000001002bfab9 in creg::GetType<std::vector<float, std::allocator<float> > > ()
No symbol table info available.
#5  0x00000001002ebc4a in std::vector<std::string, std::allocator<std::string> >::_M_fill_insert ()
No symbol table info available.
#6  0x00000001002bece8 in creg::GetType<std::vector<float, std::allocator<float> > > ()
No symbol table info available.
#7  0x0000000100098ac8 in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
No symbol table info available.
#8  0x000000010009d92b in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
No symbol table info available.
#9  0x00000001005d0a2b in std::_Rb_tree<CObject::DependenceType, std::pair<CObject::DependenceType const, std::set<CObject*, CObject::syncsafe_compare, std::allocator<CObject*> > >, std::_Select1st<std::pair<CObject::DependenceType const, std::set<CObject*, CObject::syncsafe_compare, std::allocator<CObject*> > > >, std::less<CObject::DependenceType>, std::allocator<std::pair<CObject::DependenceType const, std::set<CObject*, CObject::syncsafe_compare, std::allocator<CObject*> > > > >::_M_insert_unique ()
No symbol table info available.
#10 0x00000001005d3075 in std::_Rb_tree<CObject::DependenceType, std::pair<CObject::DependenceType const, std::set<CObject*, CObject::syncsafe_compare, std::allocator<CObject*> > >, std::_Select1st<std::pair<CObject::DependenceType const, std::set<CObject*, CObject::syncsafe_compare, std::allocator<CObject*> > > >, std::less<CObject::DependenceType>, std::allocator<std::pair<CObject::DependenceType const, std::set<CObject*, CObject::syncsafe_compare, std::allocator<CObject*> > > > >::_M_insert_unique ()
No symbol table info available.
#11 0x00000001017f6649 in boost::re_detail::cpp_regex_traits_implementation<wchar_t>::init()::null_string ()
No symbol table info available.
#12 0x00007fff8b745782 in _pthread_start ()
No symbol table info available.
#13 0x00007fff8b7321c1 in thread_start ()
No symbol table info available.
(gdb) 
Attachments
gdb-full-console-output.txt
(8.11 KiB) Downloaded 55 times
nazica
Posts: 14
Joined: 22 Aug 2012, 23:29

Re: Spring 89 game start crash on ML

Post by nazica »

Just checked Spring v 91 — same error.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring 89 game start crash on ML

Post by abma »

does it crash when you start it with "spring --safemode", too?

can you attach the output of gdb:

"thread apply all bt full"

?
nazica
Posts: 14
Joined: 22 Aug 2012, 23:29

Re: Spring 89 game start crash on ML

Post by nazica »

does it crash when you start it with "spring --safemode", too?
It works in that safe mode — map is loaded, commander appeared on the surface (console output attached).
can you attach the output of gdb:
"thread apply all bt full"
Done. Please, see other attached file (I started spring not in the safe mode).
Attachments
thread-apply-all-bt-full.txt
(15.57 KiB) Downloaded 67 times
console-output-safe-mode.txt
(20.49 KiB) Downloaded 52 times
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring 89 game start crash on ML

Post by abma »

@nazica:

can you please try which setting causes the crash?

i guess it crashes when LoadingMT is enabled. Can you test if spring still works if you disable it (set LoadingMT = -1 ) in .springrc.

the settings that are overriden with --safemode can be found here: (just search for safemodevalue on this page)
http://springrts.com/wiki/Springrc
Post Reply

Return to “Mac OS X”