Another MT Crash, happens at very start.

Another MT Crash, happens at very start.

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Another MT Crash, happens at very start.

Post 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
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post 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
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post 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
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Another MT Crash, happens at very start.

Post by Beherith »

If the demo crashes, then please post the demo file as it is helpful in reproducing the bug.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post 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.
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post 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.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post 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.
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post by Jonny5isalivetm »

Tried fresh spring install including fresh BA download crash after 6min.

http://pastebin.com/XUkXJ2Jf

with all lua disabled.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post 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.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post 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
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post 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!
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post by zerver »

That is fixed in BA 7.70
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post by Jonny5isalivetm »

OK thanks man
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post 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
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post 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
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post by Jonny5isalivetm »

will do thx
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post by Jonny5isalivetm »

so 91 is back to same crash again..was it too late to include the fixed exe ?

http://pastebin.com/W635ggFL
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Another MT Crash, happens at very start.

Post by zerver »

User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Another MT Crash, happens at very start.

Post by Jonny5isalivetm »

Awesome thx dude
Post Reply

Return to “Help & Bugs”