View Issue Details

IDProjectCategoryView StatusLast Update
0003387Spring engineGeneralpublic2013-01-06 14:37
ReporterGoogle_Frog Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0003387: [91.0.1-687] QTPFS? Crash and sync warning
DescriptionIn this game there was a sync warning and a crash a few seconds after game start. QTPFS was enabled and other games on this engine have been played with the same players so it seems related to that.

Every player crashed and replay always reproduces the crash for me.
TagsNo tags attached.
Attached Files
20130105_210905_Small_Divide-Remake-v04_91.0.1-687-gd7901c2 develop.sdf (Attachment missing)
infolog_crash_687.txt (Attachment missing)
infolog_crash_689.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

Kloot

2013-01-05 12:00

developer   ~0009563

Last edited: 2013-01-05 12:02

Seems to be QTPFS code, but I can't reproduce any crash from the demo.

Partial stacktrace (undemangled), doesn't make sense:

ZNK5QTPFS5INode30GetNeighborEdgeTransitionPointEPKS0_RK6float3
/usr/lib/gcc/i686-mingw32/4.7.2/include/g++-v4/bits/locale_facets.h:1078

ZN5QTPFS10PathSearch10UpdateNodeEPNS_5INodeES2_fff
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/PathSearch.cpp:144

ZN5QTPFS10PathSearch7IterateERKSt6vectorIPNS_5INodeESaIS3_EERS5_
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/PathSearch.cpp:173

ZN5QTPFS5INode12PreTesselateERNS_9NodeLayerERKNS_13PathRectangleERS3_
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/Node.cpp:427

ZN5QTPFS10PathSearch10UpdateNodeEPNS_5INodeES2_fff
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/PathSearch.cpp:144

ZN5QTPFS10PathSearch7ExecuteEjj
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/PathSearch.cpp:96

ZNSt6vectorI6float3SaIS0_EE9push_backERKS0_
/usr/lib/gcc/i686-mingw32/4.7.2/include/g++-v4/bits/stl_vector.h:883

ZN5QTPFS10PathSearch10InitializeEPNS_9NodeLayerEPNS_9PathCacheERK6float3S7_RKNS_13PathRectangleE
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/PathSearch.cpp:30

ZN5QTPFS11PathManager13ExecuteSearchERSt4listIPNS_11IPathSearchESaIS3_EERSt14_List_iteratorIS3_ERNS_9NodeLayerERNS_9PathCacheEj
/home/buildbot/slave/full-windows-test/build/rts/Sim/Path/QTPFS/PathManager.cpp:794

Google_Frog

2013-01-05 16:01

reporter   ~0009571

With QTPFS enabled 91.0.1-689 crashes for me as soon as a move order is given. The infolog has a different looking stacktrace.

Kloot

2013-01-05 16:49

developer   ~0009572

There seems to be a difference in behavior between 32- and 64-bit builds (or between gcc 4.6.1 and buildbot gcc 4.7.2), the implication is that QTPFS datastructures are not built up correctly. My own (64b) have no issues.

Kloot

2013-01-05 17:17

developer   ~0009573

Last edited: 2013-01-06 02:34

Does http://springrts.com/dl/buildbot/default/develop/91.0.1-697-g97b59d7/spring_91.0.1-697-g97b59d7.exe work?

Edit: never mind, it probably won't. Should you or anyone else feel like tracking this down, try the following builds in order and report which one is the first to crash:

1) cb018c9fce650c6b96ab6082d1ce3bf14ddee3b9 (http://springrts.com/dl/buildbot/default/develop/91.0.1-628-gcb018c9/)
2) d107ae561258cc96aa75d2b8d4c5d88c893a36d7 (http://springrts.com/dl/buildbot/default/develop/91.0.1-630-gd107ae5/)
3) ed68b81f1aa3778aa04a4cb0986e60888138f506 (http://springrts.com/dl/buildbot/default/develop/91.0.1-631-ged68b81/)
4) 7d715f3cbd6d9ed87e1da9462e9a2d250a7e35ae (http://springrts.com/dl/buildbot/default/develop/91.0.1-636-g7d715f3/)
5) 470065208f00d6508829c58933d8bb33dc38bc20 (http://springrts.com/dl/buildbot/default/develop/91.0.1-637-g4700652/)
6) 7dd946720d503b959768e072ea2797040bf2a605 (http://springrts.com/dl/buildbot/default/develop/91.0.1-646-g7dd9467/)
7) cbada034a639821833bf50adab1b6e10ea742772 (http://springrts.com/dl/buildbot/default/develop/91.0.1-666-gcbada03/)
8) 4894a5521b86bce58f2ec71fbd3d4ee3a2bcac61 (http://springrts.com/dl/buildbot/default/develop/91.0.1-667-g4894a55/)
9) a0bcbc70892b4108a8d32b350225d5f52c11df83 (http://springrts.com/dl/buildbot/default/develop/91.0.1-668-ga0bcbc7/)
10) cacd478c4f7faf1bcdf9fc834ff2785c2930b04d (http://springrts.com/dl/buildbot/default/develop/91.0.1-675-gcacd478/)
11) f1392c3cb3fcbe01191d8227b066923b1074755d (http://springrts.com/dl/buildbot/default/develop/91.0.1-676-gf1392c3/)

(WARNING: YOU _MUST_ DELETE THE cache/QTPFS/ DIRECTORY FOR EACH BUILD YOU TEST)

Google_Frog

2013-01-06 03:18

reporter   ~0009574

7) Is the first to crash.

Issue History

Date Modified Username Field Change
2013-01-05 11:30 Google_Frog New Issue
2013-01-05 11:30 Google_Frog File Added: 20130105_210905_Small_Divide-Remake-v04_91.0.1-687-gd7901c2 develop.sdf
2013-01-05 11:31 Google_Frog File Added: infolog_crash_687.txt
2013-01-05 12:00 Kloot Note Added: 0009563
2013-01-05 12:02 Kloot Note Edited: 0009563
2013-01-05 16:01 Google_Frog Note Added: 0009571
2013-01-05 16:01 Google_Frog File Added: infolog_crash_689.txt
2013-01-05 16:49 Kloot Note Added: 0009572
2013-01-05 17:17 Kloot Note Added: 0009573
2013-01-05 23:18 Kloot Note Edited: 0009573
2013-01-06 00:47 Kloot Note Edited: 0009573
2013-01-06 02:34 Kloot Note Edited: 0009573
2013-01-06 03:18 Google_Frog Note Added: 0009574
2013-01-06 14:37 Kloot Changeset attached => spring develop 6167d50d
2013-01-06 14:37 Kloot Assigned To => Kloot
2013-01-06 14:37 Kloot Status new => resolved
2013-01-06 14:37 Kloot Resolution open => fixed