Page 1 of 1

Another MT Crash, happens at very start.

Posted: 24 Aug 2012, 21:15
by Jonny5isalivetm
http://pastebin.com/6jRWZ458

[f=0004199] Error: Spring 89.0 (MT-Sim) has crashed.
[f=0004199] Error: MT with 4 threads.
[f=0004199] Error: DLL information:
[f=0004199] Error: Exception: Access violation (0xc0000005)
[f=0004199] Error: Exception Address: 0x00937f05
[f=0004199] Error: Stacktrace:
[f=0004199] Error: (0) Unknown [0x00937F05]
[f=0004199] Error: (1) Unknown [0x0098C782]
[f=0004199] Error: (2) Unknown [0x00987F14]
[f=0004199] Error: (3) Unknown [0x0042D052]
[f=0004199] Error: (4) Unknown [0x004668D9]
[f=0004199] Error: (5) Unknown [0x00430365]
[f=0004199] Error: (6) Unknown [0x00AC038D]
[f=0004199] Error: (7) Unknown [0x00AC04F8]
[f=0004199] Error: (8) Unknown [0x00D26BEF]
[f=0004199] Error: (9) Unknown [0x00AEBE4F]
[f=0004199] Error: (10) Unknown [0x00AE9577]
[f=0004199] Error: (11) Unknown [0x76C78543]
[f=0004199] Error: (12) Unknown [0x774CAC69]
[f=0004199] Error: (13) Unknown [0x774CAC3C]

Noticed this in the infolog possible cause ?
[f=0000000] Engine or game settings have forced Spring MT to use compatibility mode 2

Re: Another MT Crash, happens at very start.

Posted: 26 Aug 2012, 15:15
by zerver
Very hard to say what caused it, unless you issued a command such as
/luarules reload
or
/luarules disable
during the demo.

If you run the demo again, does it crash?

https://github.com/spring/spring/tree/8 ... .cpp#L1771 0x00937F05
https://github.com/spring/spring/tree/8 ... r.cpp#L318 0x0098C782
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/stl_list.h#L143 0x00987F14
https://github.com/spring/spring/tree/8 ... .cpp#L1491 0x0042D052
https://github.com/spring/spring/tree/8 ... cker.h#L37 0x004668D9
https://github.com/spring/spring/tree/8 ... e.cpp#L886 0x00430365
https://github.com/spring/spring/tree/8 ... se.cpp#L81 0x00AC038D
https://github.com/spring/spring/tree/8 ... se.cpp#L58 0x00AC04F8
https://github.com/spring/spring/tree/8 ... srv.h#L445 0x00D26BEF

Re: Another MT Crash, happens at very start.

Posted: 26 Aug 2012, 16:52
by Jonny5isalivetm
Hi,

Happens every time I load mt whether demo or live game so at least it is consistent, in saying that just did a single player test and no crash with /give all

I did not issue /luarules reload or /luarules disable so dunno seems to be a multiplayer issue happens in ba 7.68 and 7.7

Re: Another MT Crash, happens at very start.

Posted: 26 Aug 2012, 17:31
by Beherith
If the demo crashes, then please post the demo file as it is helpful in reproducing the bug.

Re: Another MT Crash, happens at very start.

Posted: 26 Aug 2012, 22:08
by Jonny5isalivetm

Re: Another MT Crash, happens at very start.

Posted: 26 Aug 2012, 23:44
by zerver
The infolog you provided crashed at game frame 4199, which sounds strange since you say "crash at start". Please upload another infolog of the same crash.

Re: Another MT Crash, happens at very start.

Posted: 27 Aug 2012, 19:17
by Jonny5isalivetm
Crashes within 1 or 2 minutes

tried different GFX drivers..

Would the fact I use ATi be a possible cause of MT crash ? I suppose not because it works in single player.

Re: Another MT Crash, happens at very start.

Posted: 28 Aug 2012, 00:25
by zerver
I don't think so. More infologs could still help to solve this.

Also try disable all widgets. If it helped enable some widgets to try to figure out which widget is crashing.

Rename springsettings.cfg to something else and let spring create a new one. If it helped I want a copy of your settings file.

Re: Another MT Crash, happens at very start.

Posted: 28 Aug 2012, 02:10
by Jonny5isalivetm
Tried fresh spring install including fresh BA download crash after 6min.

http://pastebin.com/XUkXJ2Jf

with all lua disabled.

Re: Another MT Crash, happens at very start.

Posted: 28 Aug 2012, 13:53
by zerver
Okay, I think I solved it now. A compiler bug, some function is badly aligned.

But I'm not sure why you are getting this crash while people with other CPU/OS are not.

Re: Another MT Crash, happens at very start.

Posted: 28 Aug 2012, 19:18
by zerver
Try to take the spring-multithreaded.exe from this archive and put it in your Spring folder
http://springrts.com/dl/buildbot/defaul ... ortable.7z

Re: Another MT Crash, happens at very start.

Posted: 29 Aug 2012, 04:04
by Jonny5isalivetm
Excellent working perfect now full game at 20 speed.

I noticed this tho..

http://pastebin.com/wKkGviHq

[f=0058288] [GML] Warning: (5/5) Invalid attempt to invoke LuaUI (TeamDied) from another Lua environment, this game is using engine features that may require LuaThreadingModel > 2 to work properly with Spring MT.

Do I need to change something ?

Thanks for your excellent efforts!

Re: Another MT Crash, happens at very start.

Posted: 29 Aug 2012, 12:38
by zerver
That is fixed in BA 7.70

Re: Another MT Crash, happens at very start.

Posted: 30 Aug 2012, 15:51
by Jonny5isalivetm
OK thanks man

Re: Another MT Crash, happens at very start.

Posted: 30 Aug 2012, 21:59
by Jonny5isalivetm
Got this after an hour long game

[f=0150829] Error: Failed to allocate memory

I was at desktop at the time, did spring run out of memory ? I have 8gb which was not in use apart from spring..

http://pastebin.com/i7cK51jS

Re: Another MT Crash, happens at very start.

Posted: 31 Aug 2012, 23:36
by zerver
MT eats a bit of memory when the rendering is inactive, it is a known issue. It could also be your graphics driver that leaks. Please report back if it happens when the game is not minimized.

https://github.com/spring/spring/tree/8 ... r.cpp#L195 0x00854BD9
https://github.com/spring/spring/tree/8 ... r.cpp#L184 0x0085561C
https://github.com/spring/spring/tree/8 ... pe.cpp#L74 0x0088FF4D
https://github.com/spring/spring/tree/8 ... t.cpp#L904 0x0093C88C
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/stl_list.h#L143 0x00987FBB
https://github.com/spring/spring/tree/8 ... .cpp#L1491 0x0042D052
https://github.com/spring/spring/tree/8 ... cker.h#L37 0x004668D9
https://github.com/spring/spring/tree/8 ... e.cpp#L886 0x00430365
https://github.com/spring/spring/tree/8 ... se.cpp#L81 0x00AC03BD
https://github.com/spring/spring/tree/8 ... se.cpp#L58 0x00AC0528
https://github.com/spring/spring/tree/8 ... srv.h#L445 0x00D26C1F
cpp_regex_traits.cpp#L0 0x00AEBE7F
cpp_regex_traits.cpp#L0 0x00AE95A7
??#L0 0x769E8543
??#L0 0x77CFAC69
??#L0 0x77CFAC3C

Re: Another MT Crash, happens at very start.

Posted: 01 Sep 2012, 11:10
by Jonny5isalivetm
will do thx

Re: Another MT Crash, happens at very start.

Posted: 04 Sep 2012, 00:35
by Jonny5isalivetm
so 91 is back to same crash again..was it too late to include the fixed exe ?

http://pastebin.com/W635ggFL

Re: Another MT Crash, happens at very start.

Posted: 04 Sep 2012, 02:03
by zerver

Re: Another MT Crash, happens at very start.

Posted: 04 Sep 2012, 03:27
by Jonny5isalivetm
Awesome thx dude