View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002591 | Spring engine | General | public | 2011-08-01 17:13 | 2011-08-02 18:46 |
| Reporter | abma | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | resolved | Resolution | fixed | ||
| Target Version | 83.0 | ||||
| Summary | 0002591: (master) desync headless vs headless (same environment + binary!) | ||||
| Description | desync is easy to reproduce: /cheat /give all /give all 1 desyncs nearly at 100%! | ||||
| Additional Information | to reproduce: spring-headless aitest.txt & spring-headless connect.txt | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
[f=0014179] Sync error for Test in frame 14116 (ee55b3dc) -> Server: 0x437C8DAD/ 2.52553421e+02 instead of 0x437C8509/ 2.52519669e+02, frame 014116, backtrace 1 in "copyfloat" -> Server: === Backtrace 1 === Server: #0 SyncedPrimitive<float>::Sync(char const*) [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:60] Server: #1 SyncedPrimitive [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:99] Server: #2 SyncedFloat3 [/home/abma/dev/spring/master/rts/System/Sync/SyncedFloat3.h:42] Server: 0000003 CUnit::UpdateMidPos() [/home/abma/dev/spring/master/rts/Sim/Units/Unit.cpp:609] Server: 0000004 CGroundMoveType::Update() [/home/abma/dev/spring/master/rts/Sim/MoveTypes/GroundMoveType.cpp:300] |
|
|
another one: http://abma.de/tmp/desync2.7z [f=0021358] Sync error for Test in frame 21351 (34be8df1) -> Server: 0x4452ED6A/ 8.43709595e+02 instead of 0x3E9920A1/ 2.99077064e-01, frame 021351, backtrace 43 in "copyfloat" -> Server: === Backtrace 43 === Server: #0 SyncedPrimitive<float>::Sync(char const*) [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:60] Server: #1 SyncedPrimitive [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:99] Server: #2 SyncedFloat3 [/home/abma/dev/spring/master/rts/System/Sync/SyncedFloat3.h:42] Server: 0000003 CGroundMoveType::Update() [/home/abma/dev/spring/master/rts/Sim/MoveTypes/GroundMoveType.cpp:198] Server: 0000004 CUnitHandler::Update() [/home/abma/dev/spring/master/rts/Sim/Units/UnitHandler.cpp:268] |
|
|
i'm getting better in creating desyncs: (was by /give all 0|1) [f=0000249] Sync error for Test in frame 190 (3a90bf54) http://pastebin.com/LDskKG6d Server: === Backtrace 1 === Server: #0 SyncedPrimitive<short>::Sync(char const*) [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:60] Server: #1 SyncedPrimitive<short>::operator=(short) [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:99] Server: #2 CWeapon::TryTargetHeading(short, float3, bool, CUnit*) [/home/abma/dev/spring/master/rts/Sim/Weapons/Weapon.cpp:940] Server: 0000003 CWeapon::TryTargetRotate(CUnit*, bool) [/home/abma/dev/spring/master/rts/Sim/Weapons/Weapon.cpp:913] Server: 0000004 CMobileCAI::ExecuteAttack(Command&) [/home/abma/dev/spring/master/rts/Sim/Units/CommandAI/MobileCAI.cpp:766] |
|
|
Server: === Backtrace 1 === Server: #0 SyncedPrimitive<short>::Sync(char const*) [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:60] Server: #1 SyncedPrimitive [/home/abma/dev/spring/master/rts/System/Sync/SyncedPrimitive.h:99] Server: #2 CSolidObject [/home/abma/dev/spring/master/rts/Sim/Objects/SolidObject.cpp:72] Server: 0000003 CFeature [/home/abma/dev/spring/master/rts/Sim/Features/Feature.cpp:76] Server: 0000004 CFeatureHandler::CreateWreckage(float3 const&, std::string const&, float, int, int, int, int, bool, UnitDef const*, float3 const&) [/home/abma/dev/spring/master/rts/Sim/Features/FeatureHandler.cpp:380] |
|
|
I Got sync errors since severals months. I tried to uninstall spring, and this time, delete all spring related files (my settings and even the spring directory itself) and then install a new fresh version of spring (but same version as before) and... my sync errors disappears !! It seems that a particular file or setting was causing this bug for me. Just uninstall and re installe spring without deleting files is not enough... |
|
|
fixed by: https://github.com/spring/spring/commit/46a073e78f5c3092b0a59cb05e10adb5732ce066 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-08-01 17:13 | abma | New Issue | |
| 2011-08-01 17:13 | abma | File Added: aitest.txt | |
| 2011-08-01 17:13 | abma | File Added: connect.txt | |
| 2011-08-01 17:16 | abma | File Added: infolog.txt | |
| 2011-08-01 17:18 | abma | File Added: syncdebug-server.log.7z | |
| 2011-08-01 17:19 | abma | Note Added: 0007180 | |
| 2011-08-01 17:19 | abma | Additional Information Updated | |
| 2011-08-01 17:21 | abma | Summary | (master) desync headless vs headless => (master) desync headless vs headless (same environment + binary!) |
| 2011-08-01 17:30 | Kloot | Relationship added | related to 0002588 |
| 2011-08-01 17:37 | abma | Relationship added | related to 0002592 |
| 2011-08-01 17:54 | abma | Note Added: 0007182 | |
| 2011-08-01 22:48 | Kloot | Relationship deleted | related to 0002592 |
| 2011-08-02 00:46 | abma | Note Added: 0007188 | |
| 2011-08-02 00:46 | abma | Note Edited: 0007188 | |
| 2011-08-02 00:49 | abma | Note Edited: 0007188 | |
| 2011-08-02 00:59 | abma | Note Added: 0007189 | |
| 2011-08-02 02:03 | abma | Description Updated | |
| 2011-08-02 03:24 | abma | Target Version | => 0.83.0 |
| 2011-08-02 03:26 | abma | Relationship added | has duplicate 0002338 |
| 2011-08-02 09:25 | ZZZzzz | Note Added: 0007191 | |
| 2011-08-02 18:46 | abma | Note Added: 0007199 | |
| 2011-08-02 18:46 | abma | Status | new => resolved |
| 2011-08-02 18:46 | abma | Resolution | open => fixed |
| 2011-08-02 18:46 | abma | Assigned To | => abma |