2025-07-20 21:37 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004287Spring engineGeneralpublic2014-02-17 03:13
Reporterabma 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionunable to reproduce 
Product Version96.0.1+git 
Target Version97.0Fixed in Version 
Summary0004287: desync in validation test (CAI vs CAI)
Descriptionhttp://buildbot.springrts.com/builders/validationtests/builds/3976/steps/validation%20test/logs/stdio
Additional Informationhttp://springrts.com/dl/buildbot/validation/develop/96.0.1-177-gb3fa3ad/validation/%5bvalidation%5d%7bdevelop%7d96.0.1-177-gb3fa3ad2014-01-21_03-23-21-dbg.7z

not sure if this is the cause:

[f=0017633] Error: LuaRules::RunCallIn: error = 2, GameFrame, [Internal Lua error: Traceback failure] [string "LuaRules/Gadgets/unit_mex_overdrive.lua"]:1181: bad argument 0000003 to 'spAddTeamResource' (number expected, got NAN (check your code for div0))
[f=0000000] Error: [UnitDefIndex] ERROR_TYPE for key "extractSquare" in UnitDefs __index
[f=0000000] Error: [UnitDefIndex] ERROR_TYPE for key "extractSquare" in UnitDefs __index
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
parent of 0004301resolvedjK C stack overflow in LuaUI/cawidgets.lua (spring-headless only it seems) 
+Relationships

-Notes

~0012752

Google_Frog (reporter)

I have just fixed that, try again?

~0012753

abma (administrator)

thanks!

will take a bit, as it won't desync each test run i guess.

~0012756

abma (administrator)

"faster" desync:

http://buildbot.springrts.com/builders/validationtests/builds/3982/steps/validation%20test/logs/stdio

desyncs at frame 0000387:0000600

i guess fix wasn't applied yet as zk:stable is used.

~0012784

abma (administrator)

error still exists?! Zero-K v1.2.1.4:

[f=0000000] Error: [UnitDefIndex] ERROR_TYPE for key "extractSquare" in UnitDefs __index
[f=0000000] Error: [UnitDefIndex] ERROR_TYPE for key "extractSquare" in UnitDefs __index

~0012785

Google_Frog (reporter)

Last edited: 2014-01-30 17:34

View 2 revisions

I don't know what that error is. extractSquare appears once each in a gadget and a widget during loading. The wiki says that it is a key in the UnitDefs lua table.

~0012786

abma (administrator)

Last edited: 2014-01-30 19:51

View 2 revisions

extractSquare was deprecated some time ago and removed in 92.0 it seems:

https://github.com/spring/spring/commit/ac46f5261036563fc96b499460846ac0ff4e4272

https://github.com/spring/spring/blob/develop/doc/changelog.txt

regardingless of this, it shouldn't trigger a descync. will investigate ...

~0012790

abma (administrator)

syncdebug test:

http://springrts.com/dl/buildbot/syncdebug/develop/96.0.1-225-g5d5e1ee/validation/%5Bsyncdebug%5D%7Bdevelop%7D96.0.1-225-g5d5e1ee2014-01-30_20-07-36-dbg.7z

~0012791

abma (administrator)

infolog.txt:
[f=0002951] Sync error for ValidationClient in frame 2943 (got 1283d200, correct is 67ba5bcc)

syncdebug-server.log:
Server: 0x4555D4D4/ 3.42130176e+03 instead of 0x4555D555/ 3.42133325e+03, frame 002951, backtrace 5 in "assert-x"
Server: === Backtrace 5 ===
Server: #0 Assert<SyncedPrimitive<float> > [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/System/Sync/SyncedPrimitiveBase.h:48]
Server: #1 Assert [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/System/Sync/SyncedFloat3.h:639]
Server: #2 CGroundMoveType::FollowPath() [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/Sim/MoveTypes/GroundMoveType.cpp:433]
Server: 0000003 CGroundMoveType::UpdateOwnerSpeedAndHeading() [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/Sim/MoveTypes/GroundMoveType.cpp:311]
Server: 0000004 CGroundMoveType::Update() [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/Sim/MoveTypes/GroundMoveType.cpp:285]

~0012792

abma (administrator)

Last edited: 2014-01-31 01:16

View 2 revisions

https://github.com/spring/spring/blob/5d5e1eedc811d0a870513e9e7753f03001e6fa5f/rts/System/Sync/SyncedPrimitiveBase.h#L48
https://github.com/spring/spring/blob/5d5e1eedc811d0a870513e9e7753f03001e6fa5f/rts/System/Sync/SyncedFloat3.h#L639
https://github.com/spring/spring/blob/5d5e1eedc811d0a870513e9e7753f03001e6fa5f/rts/Sim/MoveTypes/GroundMoveType.cpp#L433
https://github.com/spring/spring/blob/5d5e1eedc811d0a870513e9e7753f03001e6fa5f/rts/Sim/MoveTypes/GroundMoveType.cpp#L311
https://github.com/spring/spring/blob/5d5e1eedc811d0a870513e9e7753f03001e6fa5f/rts/Sim/MoveTypes/GroundMoveType.cpp#L285

~0012793

abma (administrator)

round 2:

http://springrts.com/dl/buildbot/syncdebug/develop/96.0.1-226-gc204498//validation/%5Bsyncdebug%5D%7Bdevelop%7D96.0.1-226-gc2044982014-01-31_01-22-57-dbg.7z

~0012794

abma (administrator)

[f=0003972] Sync error for ValidationClient in frame 3967 (got b32ce5a2, correct is f8d7dd60)

Server: 0x443D0000/ 7.56000000e+02 instead of 0x443CAB33/ 7.54674988e+02, frame 003967, backtrace 1 in "copyfloat"

Server: === Backtrace 1 ===
Server: #0 Assert<float> [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/System/Sync/SyncedPrimitiveBase.h:48]
Server: #1 SyncedPrimitive<float>::Sync(char const*) [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/System/Sync/SyncedPrimitive.h:43]
Server: #2 SyncedPrimitive<float>::SyncedPrimitive(float) [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/System/Sync/SyncedPrimitive.h:84]
Server: 0000003 SyncedFloat3::SyncedFloat3(float3 const&) [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/System/Sync/SyncedFloat3.h:43]
Server: 0000004 CGroundMoveType::GetNextWayPoint() [/home/buildbot/slave/zydox-fedora/build/build/syncdebug/../../rts/Sim/MoveTypes/GroundMoveType.cpp:1331 (discriminator 1)]
Server: === Backtrace 2 ===

~0012800

abma (administrator)

can't continue until 0004301 is fixed

~0012820

abma (administrator)

recent test ran was fine (expect some different issues), will keep this bug report a bit open, but looks good atm.

sadly the "normal" validation buildbot has some hardware problems, this is why it takes a bit. atm i ran it at my computer which is a lot slower :-|

~0012840

abma (administrator)

hm, didn't happen for some runs...
+Notes

-Issue History
Date Modified Username Field Change
2014-01-21 03:43 abma New Issue
2014-01-21 04:48 Google_Frog Note Added: 0012752
2014-01-21 12:33 abma Note Added: 0012753
2014-01-21 12:33 abma Assigned To => abma
2014-01-21 12:33 abma Status new => feedback
2014-01-23 19:49 abma Note Added: 0012756
2014-01-23 19:49 abma Status feedback => assigned
2014-01-30 14:23 abma Note Added: 0012784
2014-01-30 17:31 Google_Frog Note Added: 0012785
2014-01-30 17:34 Google_Frog Note Edited: 0012785 View Revisions
2014-01-30 19:51 abma Note Added: 0012786
2014-01-30 19:51 abma Note Edited: 0012786 View Revisions
2014-01-31 00:15 abma Note Added: 0012790
2014-01-31 00:54 abma Note Added: 0012791
2014-01-31 00:57 abma Note Added: 0012792
2014-01-31 01:16 abma Note Edited: 0012792 View Revisions
2014-01-31 01:34 abma Note Added: 0012793
2014-01-31 01:35 abma Note Added: 0012794
2014-01-31 05:25 abma Note Added: 0012800
2014-01-31 05:26 abma Relationship added parent of 0004301
2014-02-06 18:00 abma Note Added: 0012820
2014-02-17 03:13 abma Note Added: 0012840
2014-02-17 03:13 abma Status assigned => resolved
2014-02-17 03:13 abma Resolution open => unable to reproduce
+Issue History