View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002556 | Spring engine | General | public | 2011-07-14 16:54 | 2011-07-31 16:28 | ||||
Reporter | abma | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.82.7+git | ||||||||
Target Version | Fixed in Version | 0.82.7+git | |||||||
Summary | 0002556: (master) desync + later a crash in 1v1 | ||||||||
Description | git describe 0.82.3-2624-ga307307 bt full for the crash: http://pastebin.com/AKHMT4WP | ||||||||
Additional Information | [f=0064235] Error: Segmentation fault (SIGSEGV) in spring 0.82+.4.0 (Debug) [f=0064235] Error: Stacktrace: [f=0064235] Error: <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7fab9f5fbd80] [f=0064235] Error: <1> /usr/include/c++/4.6/bits/stl_tree.h:493 [f=0064235] Error: <2> /usr/include/c++/4.6/bits/stl_tree.h:1261 [f=0064235] Error: <3> /usr/include/c++/4.6/bits/stl_set.h:410 [f=0064235] Error: <4> /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:142 [f=0064235] Error: <5> /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:101 [f=0064235] Error: <6> /home/abma/dev/spring/master/rts/System/EventHandler.h:721 [f=0064235] Error: <7> /home/abma/dev/spring/master/rts/System/EventBatchHandler.cpp:34 [f=0064235] Error: <8> /home/abma/dev/spring/master/rts/lib/gml/ThreadSafeContainers.h:232 [f=0064235] Error: <9> /home/abma/dev/spring/master/rts/System/EventHandler.h:675 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||||||||||
|
![]() |
|
abma (administrator) 2011-07-14 17:22 |
aah: we played with a custom linux build + win32 build from buildbot |
abma (administrator) 2011-07-14 17:28 |
desync happened at frame 60635 |
Kloot (developer) 2011-07-15 19:40 |
Ran the demo (20110714_161329_Rage_v1_0.82+.4.sdf) a number of times with /cheat /dumpstate 60600 60900 and then diff'ed the output files (ServerGameState-***-[60600-60900].txt), but go no results. That means either: 1) the desync is in a part of the gamestate that is not being dumped 2) the non-deterministic behavior is not triggered by synced code (eg. there could just be memory corruption in the renderer with side-effects on synced state) 3) I didn't do enough runs Either way, I don't think I'll be able to reproduce it. |
abma (administrator) 2011-07-15 22:39 |
yes, it has to be something unsync releated! for me the replay crashed sometimes and sometimes not... i would expect, if it is something in synced code, then it has to crash every time at the same time... |
abma (administrator) 2011-07-27 01:55 |
added a syncdebug log file, i hope its useful... desync happened between buildbot win32 client (run with wine on the same machine) + linux self-compiled as server. |
abma (administrator) 2011-07-27 02:04 Last edited: 2011-07-27 02:12 |
added an other desync log, this time a bit smaller + tracefiles :) |
abma (administrator) 2011-07-28 13:25 Last edited: 2011-07-28 13:26 |
an other one: (contains replay, infolog, trace, syncdebug for server + client) http://abma.de/tmp/sync-debug.7z (~7MB) |
abma (administrator) 2011-07-28 19:19 |
Server: === Backtrace 39 === 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 CGroundMoveType::CalcSkidRot() [/home/abma/dev/spring/master/rts/Sim/MoveTypes/GroundMoveType.cpp:870] Server: 0000003 CGroundMoveType::UpdateSkid() [/home/abma/dev/spring/master/rts/Sim/MoveTypes/GroundMoveType.cpp:733] Server: 0000004 CGroundMoveType::Update() [/home/abma/dev/spring/master/rts/Sim/MoveTypes/GroundMoveType.cpp:188] |
Kloot (developer) 2011-07-29 02:50 |
FWIW, running your demos (from abma.de/tmp/sync-debug.7z) so far has produced no desyncs in the suspect GroundMoveType code. |
Kloot (developer) 2011-07-31 16:28 |
(probably) nuked; 45bed66ab39b28e45923d235c3ad9a95ae2869ec |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-14 16:54 | abma | New Issue | |
2011-07-14 16:54 | abma | Graphics Card | => unknown |
2011-07-14 16:55 | abma | File Added: synced-20110714_161322_Rage_v1_0.82+.4.sdf | |
2011-07-14 16:55 | abma | Relationship added | related to 0002554 |
2011-07-14 16:56 | abma | File Added: 20110714_161329_Rage_v1_0.82+.4.sdf | |
2011-07-14 17:22 | abma | Note Added: 0007019 | |
2011-07-14 17:28 | abma | Note Added: 0007020 | |
2011-07-14 17:41 | abma | Relationship added | related to 0002485 |
2011-07-14 18:06 | abma | File Added: dedicated-crash_script.txt | |
2011-07-14 18:58 | abma | File Deleted: dedicated-crash_script.txt | |
2011-07-15 19:40 | Kloot | Note Added: 0007043 | |
2011-07-15 22:39 | abma | Note Added: 0007045 | |
2011-07-27 01:53 | abma | File Added: syncdebug-server.7z | |
2011-07-27 01:55 | abma | Note Added: 0007090 | |
2011-07-27 02:03 | abma | File Added: syncdebug-server-1.7z | |
2011-07-27 02:04 | abma | Note Added: 0007091 | |
2011-07-27 02:11 | abma | File Added: trace.7z | |
2011-07-27 02:12 | abma | Note Edited: 0007091 | |
2011-07-28 13:25 | abma | Note Added: 0007104 | |
2011-07-28 13:25 | abma | Note Edited: 0007104 | |
2011-07-28 13:26 | abma | Note Edited: 0007104 | |
2011-07-28 13:26 | abma | Note Edited: 0007104 | |
2011-07-28 19:19 | abma | Note Added: 0007105 | |
2011-07-28 23:00 | abma | File Added: syncdebug-server.log.7z | |
2011-07-29 02:50 | Kloot | Note Added: 0007109 | |
2011-07-29 14:55 | abma | File Added: syncdebug-server.log.2.7z | |
2011-07-31 16:28 | Kloot | Note Added: 0007152 | |
2011-07-31 16:28 | Kloot | Status | new => resolved |
2011-07-31 16:28 | Kloot | Fixed in Version | => 0.82.7+git |
2011-07-31 16:28 | Kloot | Resolution | open => fixed |
2011-07-31 16:28 | Kloot | Assigned To | => Kloot |