Spring is running in SMP
Moderator: Moderators
Re: Spring is running in SMP
ive specced and played BA and NOTA without any problems
thx for the compile!
thx for the compile!
Re: Spring is running in SMP
zerver: try to modify checks in normalize and/or add a check in isqrt's for x == 0. -fsignaling-nans won't be stable in other places and has potential to crash gfx drivers.
Re: Spring is running in SMP
for translating hte stack traces on the buildbot, you need to specify some things manually, like this:
!translate file=<URL> profile=MT tag=0.80.2
this way, we get:
RAI: http://buildbot.eat-peet.net/spring/sta ... 73311.html
KAIK: http://buildbot.eat-peet.net/spring/sta ... 73147.html
it crashes in the AIs, but i have not yet seen either of them crashing like this with non MT builds of spring, plus the stack traces before entering the AI look strange to me.
!translate file=<URL> profile=MT tag=0.80.2
this way, we get:
RAI: http://buildbot.eat-peet.net/spring/sta ... 73311.html
KAIK: http://buildbot.eat-peet.net/spring/sta ... 73147.html
it crashes in the AIs, but i have not yet seen either of them crashing like this with non MT builds of spring, plus the stack traces before entering the AI look strange to me.
Re: Spring is running in SMP
This exe does not come from buildbot, and the code is also slightly changed from the 0.80.2 tag, so you cannot use those stack traces.
Re: Spring is running in SMP
Can you explain more? I discovered this when I noticed that SCons builds worked fine (it has fsignaling-nans set by default), but CMake builds crash and hang in various ways.imbaczek wrote:zerver: try to modify checks in normalize and/or add a check in isqrt's for x == 0. -fsignaling-nans won't be stable in other places and has potential to crash gfx drivers.
Re: Spring is running in SMP
see float3.h, especially the Normalize family.
Re: Spring is running in SMP
You need to know your volatiles since there is a potential for the value change between the check and the calculationimbaczek wrote:zerver: try to modify checks in normalize and/or add a check in isqrt's for x == 0.

Re: Spring is running in SMP
that's why i don't do multithreading ;p
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Spring is running in SMP
Signaling nans is disabled by default in cmake, furthermore they can be toggled on / off.
Re: Spring is running in SMP
last game me and some other guy using MT build [MTDEBUG]0.80.4-spring_exe_0.80.4-0-ga0534a8 got annoying spring.exe freeze at the same time. Game freeze and spring no longer consumes cpu, taskman is neede to get out.
Could this be MT related? I did not have single problem in 0.78 with MT (i have disable widgets that caused problems)
Infolog with crash info: http://pastebin.com/m3b57ebcb
ty for help, MT made me addicted, hate going back so ST
Could this be MT related? I did not have single problem in 0.78 with MT (i have disable widgets that caused problems)
Infolog with crash info: http://pastebin.com/m3b57ebcb
ty for help, MT made me addicted, hate going back so ST

Re: Spring is running in SMP
http://buildbot.eat-peet.net/spring/sta ... 93294.html
Hard to say, but does not seem to be MT related. If the stacktrace is correctly translated, crash at that location should be impossible. Therefore my guess would be some kind of memory corruption.
Hard to say, but does not seem to be MT related. If the stacktrace is correctly translated, crash at that location should be impossible. Therefore my guess would be some kind of memory corruption.
Re: Spring is running in SMP
there are other strange crashes which would be related; if a replay can reproduce one and is relatively short (<30k frames), please upload it.
Re: Spring is running in SMP
Here is the replay. When i crashed another player using MT also crashed, other did play on.ginekolog wrote:last game me and some other guy using MT build [MTDEBUG]0.80.4-spring_exe_0.80.4-0-ga0534a8 got annoying spring.exe freeze at the same time. Game freeze and spring no longer consumes cpu, taskman is neede to get out.
Could this be MT related? I did not have single problem in 0.78 with MT (i have disable widgets that caused problems)
Infolog with crash info: http://pastebin.com/m3b57ebcb
ty for help, MT made me addicted, hate going back so ST
http://replays.adune.nl/?1619
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Spring is running in SMP
What about the incompatibility with LUPS? Is it by design or any chance to get it fixed anytime soon?
And what are the widgets that cause trouble with MT? Maybe if we can sort this things out the MT-build could be the default, right?
And what are the widgets that cause trouble with MT? Maybe if we can sort this things out the MT-build could be the default, right?
Re: Spring is running in SMP
I don't think so, because it is slower than ST if you have only 1 cpu. Also bugs are much more likely to happen with MT and sometimes extremely hard to debug.very_bad_soldier wrote:Maybe if we can sort this things out the MT-build could be the default, right?
However, the goal is to remove the "Experimental" status of MT. Engine and widget/mod fixes will probably be needed.
Re: Spring is running in SMP
Then we have this beauty (crash in lua garbage collector):
http://buildbot.eat-peet.net/spring/sta ... 20433.html
I have a replay (unfortunately a long one) and it is somewhat reproducible, at least with MT version. IIRC several non MT users crashed at the same time.
http://buildbot.eat-peet.net/spring/sta ... 20433.html
I have a replay (unfortunately a long one) and it is somewhat reproducible, at least with MT version. IIRC several non MT users crashed at the same time.
Re: Spring is running in SMP
Hi,
is MT build stable now? I really miss days from 079 with its rock stable MT build and 25FPS with 3000 units :)
This 80 freezes to often to play
ty
is MT build stable now? I really miss days from 079 with its rock stable MT build and 25FPS with 3000 units :)
This 80 freezes to often to play

ty
Re: Spring is running in SMP
Same here, crash or freeze every game even with widgets disabled 

Re: Spring is running in SMP
Which build are you using?
Re: Spring is running in SMP
I tried [MTDEBUG]0.80.4-spring_exe_0.80.4-0-ga0534a8 ;
[MT]0.80.4-branch_spring_exe_0.80.4.1-4-g9a9023a and
[MT]0.80.4.1-spring_exe_0.80.4.1-0-g0e3491f
[MT]0.80.4-branch_spring_exe_0.80.4.1-4-g9a9023a and
[MT]0.80.4.1-spring_exe_0.80.4.1-0-g0e3491f