Jump to content

Assertion failed: "SpatialSubdivision Query too large. Results truncated."


lars
 Share

Recommended Posts

Hi lars, it seems you stumbled upon a new hardcoded limit. It's something I've put into our old SpatialSubdivision class for mostly testing and ensuring that our code isn't doing anything wrong.

In your case, it seems like a range query returned more than 1024 entities - a really bad case.


debug_warn("SpatialSubdivision Query too large. Results truncated.");

Can you give more information on what map you were playing in, how late in the game were you and what /seemed/ to trigger the error? Were there a lot of units on the screen?

Link to comment
Share on other sites

Hi lars, it seems you stumbled upon a new hardcoded limit. It's something I've put into our old SpatialSubdivision class for mostly testing and ensuring that our code isn't doing anything wrong.

In your case, it seems like a range query returned more than 1024 entities - a really bad case.


debug_warn("SpatialSubdivision Query too large. Results truncated.");

Can you give more information on what map you were playing in, how late in the game were you and what /seemed/ to trigger the error? Were there a lot of units on the screen?

It was quite early in the game, both players had just Town Phased and had no more than 200 units. Unknown Land, Medium (3p). The events before it crashed were those of normal gameplay.

Link to comment
Share on other sites

Happens to me, Rivers RMS SVN updated today XD, after try to placing a Barrack, Athenians vs Romans

Assertion failed: "0 && ("SpatialSubdivision Query too large. Results truncated.")"

Location: Spatial.h:90 (SpatialSubdivision::SubDivisionGrid::copy_items)

Call stack:

SpatialSubdivision::SubDivisionGrid::copy_items (spatial.h:90)

this = (unavailable)

out = 0x0036E2D4 ->

count = 1023 (0x000003FF)

items = [1024]

4895 (0x0000131F)

4896 (0x00001320)

4897 (0x00001321)

4898 (0x00001322)

4899 (0x00001323)

4900 (0x00001324)

4901 (0x00001325)

4902 (0x00001326)

logs.zip

Edited by Lion.Kanzen
Link to comment
Share on other sites

again after Charging a RMS 1v1

Assertion failed: "0 && ("SpatialSubdivision Query too large. Results truncated.")"

Location: Spatial.h:90 (SpatialSubdivision::SubDivisionGrid::copy_items)

Call stack:

SpatialSubdivision::SubDivisionGrid::copy_items (spatial.h:90)

this = (unavailable)

out = 0x0019DAB4 ->

count = 1013 (0x000003F5)

items = [1024]

1747 (0x000006D3)

1944 (0x00000798)

1341 (0x0000053D)

1342 (0x0000053E)

1343 (0x0000053F)

1344 (0x00000540)

2354 (0x00000932)

2355 (0x00000933)

2356 (0x00000934)

2357 (0x00000935)

2358 (0x00000936)

2360 (0x00000938) ...

SpatialSubdivision::GetInRange (spatial.h:302)

this = (unavailable)

out = 0x0019DAB4 (see above)

posMin =

X =

value = 22334669 (0x0154CCCD)

Y =

value = 14505301 (0x00DD5555)

posMax =

X =

value = 38063309 (0x0244CCCD)

Y =

value = 30233941 (0x01CD5555)

j1 = 14 (0x0000000E)

i0 = 10 (0x0000000A)

i1 = 18 (0x00000012)

SpatialSubdivision::GetNear (spatial.h:318)

this = (unavailable)

out = 0x0019DAB4 (see above)

pos =

X =

value = 30198989 (0x01CCCCCD)

Y =

value = 22369621 (0x01555555)

range =

value = 7864320 (0x00780000)

CCmpRangeManager::PerformQuery (ccmprangemanager.cpp:933)

this = (unavailable)

q = 0x2136FFC0 ->

enabled = true

parabolic = true

source =

m_Id = 150 (0x00000096)

m_ComponentCache = 0x154BBA38 -> { numInterfaces = 77 (0x0000004D), interfaces = [1] { 0x00000000 } }

minRange =

value = 655360 (0x000A0000)

maxRange =

value = 3932160 (0x003C0000)

elevationBonus =

value = 0 (0x00000000)

ownersMask = 4 (0x00000004)

interface = 47 (0x0000002F)

lastMatch = (unsupported vector<size_t >)

flagsMask = [8] { 1 (0x01), 0 (0x00), 0 (0x00), 0 (0x00), 1 (0x01), 0 (0x00), 96 (0x60), 32 (0x20) }

r = 0x0019EB30 -> (unsupported vector<size_t >)

pos =

X =

value = 30198989 (0x01CCCCCD)

Y =

value = 22369621 (0x01555555)

pos3d =

X =

value = 30198989 (0x01CCCCCD)

Y =

value = 1507281 (0x0016FFD1)

Z =

value = 22369621 (0x01555555)

ents =

count = 1013 (0x000003F5)

items = [1024]

1747 (0x000006D3)

1944 (0x00000798)

1341 (0x0000053D)

1342 (0x0000053E)

1343 (0x0000053F)

1344 (0x00000540)

2354 (0x00000932)

2355 (0x00000933)

2356 (0x00000934)

2357 (0x00000935)

2358 (0x00000936)

2360 (0x00000938) ...

i = 14697997 (0x00E0460D)

secondPosition =

X =

value = 30198989 (0x01CCCCCD)

Y =

value = 1507281 (0x0016FFD1)

Z =

value = 22369621 (0x01555555)

ents =

count = 1013 (0x000003F5)

items = [1024]

1747 (0x000006D3)

1944 (0x00000798)

1341 (0x0000053D)

1342 (0x0000053E)

1343 (0x0000053F)

1344 (0x00000540)

2354 (0x00000932)

2355 (0x00000933)

2356 (0x00000934)

2357 (0x00000935)

2358 (0x00000936)

2360 (0x00000938) ...

i = 360026872 (0x157592F8)

CCmpRangeManager::ExecuteActiveQueries (ccmprangemanager.cpp:847)

this = (unavailable)

removed = (unsupported vector<size_t >)

added = (unsupported vector<size_t >)

profile2__ =

m_Name = 0x0100DCBC -> "ExecuteActiveQueries"

messages = (unsupported vector<pair<size_t,CMessageRangeUpdate> >)

results = (unsupported vector<size_t >)

cmpSourcePosition =

m = 0x1D7695E0 ->

m_EntityHandle =

m_Id = 150 (0x00000096)

m_ComponentCache = 0x154BBA38 (see above)

m_SimContext = 0x1E0D3000 ->

m_ComponentManager = 0x1E0D3018 ->

m_ScriptInterface =

m = (auto_ptr<ScriptInterface_impl>)

m_SimContext = 0x1E0D3000 (see above)

m_SystemEntity =

m_Id = 1 (0x00000001)

m_ComponentCache = 0x1CE232A8 -> { numInterfaces = 77 (0x0000004D), interfaces = [1] { 0x00000000 } }

m_CurrentComponent = 0 (0x00000000)

m_CurrentlyHotloading = false

m_ComponentTypesById = (unsupported map<int,CComponentManager::ComponentType >)

m_ComponentsByInterface = (unsupported vector<boost::unordered::unordered_map<size_t,IComponent *,boost::hash<size_t>,equal_to<size_t> > >)

m_ComponentsByTypeId = (unsupported map<int,map<size_t,IComponent * > >)

m_LocalMessageSubscriptions = (unsupported map<int,vector<int > >)

m_GlobalMessageSubscriptions = (unsupported map<int,vector<int > >)

m_ComponentTypeIdsByName = (unsupported map<basic_string<char,char_traits<char> >,int >)

m_MessageTypeIdsByName = (unsupported map<basic_string<char,char_traits<char> >,int >)

m_MessageTypeNamesById = (unsupported map<int,basic_string<char,char_traits<char> > >)

m_InterfaceIdsByName = (unsupported map<basic_string<char,char_traits<char> >,int >)

m_ComponentCaches = (unsupported map<size_t,SEntityComponentCache * >)

m_DestructionQueue = (unsupported vector<size_t >)

m_NextScriptComponentTypeId = 92 (0x0000005C)

m_NextEntityId = 7398 (0x00001CE6)

m_NextLocalEntityId = 536870912 (0x20000000)

m_RNG =

lcf =

_x = 246579705298821 (0x0000E0434FBE3F85)

m_UnitManager = 0x21239D90 ->

m_Units = (unsupported vector<CUnit * >)

m_ObjectManager = 0x1D0DB000 ->

m_MeshManager = 0x1D0DAFC8 ->

m_MeshMap = (unavailable - unspecified error 0x186A2 (0))

m_ColladaManager = 0x1D0DAFBC ->

m = 0x21002540 ->

dll =

m_Name = 0x010246C0 -> "Collada"

m_Handle = 0x00000000

(too much output; skipping to next top-level symbol)

m_VFS =

px = 0x00568C20 -> (IVFS)

pn =

pi_ = 0x00569C60 ->

use_count_ = 6 (0x00000006)

weak_count_ = 1 (0x00000001)

m_SkeletonAnimManager = 0x1D0DAFE4 ->

m_Animations = (unavailable - unspecified error 0x186A2 (0))

m_ColladaManager = 0x1D0DAFBC (see above)

m_Simulation = 0x15779BF0 ->

m = 0x1E0D3000 (see above)

m_Objects = (unsupported map<CObjectManager::ObjectKey,CObjectEntry * >)

m_ObjectBases = (unsupported map<CStrW,CObjectBase * >)

m_Terrain = 0x35DAEE78 ->

m_MapSize = 257 (0x00000101)

m_MapSizePatches = 16 (0x00000010)

m_Patches = 0x1FE70024 ->

m_WorldBounds =

m_Data = [2]

X = 0.000000 (0x00000000)

Y = 0.000000 (0x00000000)

Z = 0.000000 (0x00000000)

X = 64.000000 (0x42800000)

Y = 15.000000 (0x41700000)

Z = 64.000000 (0x42800000)

m_Transform =

_11 = 1.000000 (0x3F800000)

_21 = 0.000000 (0x00000000)

_31 = 0.000000 (0x00000000)

_41 = 0.000000 (0x00000000)

_12 = 0.000000 (0x00000000)

_22 = 1.000000 (0x3F800000)

_32 = 0.000000 (0x00000000)

_42 = 0.000000 (0x00000000)

_13 = 0.000000 (0x00000000)

_23 = 0.000000 (0x00000000)

_33 = 1.000000 (0x3F800000)

_43 = 0.000000 (0x00000000)

_14 = 0.000000 (0x00000000)

_24 = 0.000000 (0x00000000)

_34 = 0.000000 (0x00000000)

_44 = 1.000000 (0x3F800000)

_data = [16]

1.000000 (0x3F800000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

1.000000 (0x3F800000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

1.000000 (0x3F800000)

0.000000 (0x00000000) ...

_data2d = [4]

[4] { 1.000000 (0x3F800000), 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 1.000000 (0x3F800000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 1.000000 (0x3F800000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 1.000000 (0x3F800000) }

m_InvTransform =

_11 = 0.000000 (0x00000000)

_21 = 0.000000 (0x00000000)

_31 = 0.000000 (0x00000000)

_41 = 0.000000 (0x00000000)

_12 = 0.000000 (0x00000000)

_22 = 0.000000 (0x00000000)

_32 = 0.000000 (0x00000000)

_42 = 0.000000 (0x00000000)

_13 = 0.000000 (0x00000000)

_23 = 0.000000 (0x00000000)

_33 = 0.000000 (0x00000000)

_43 = 0.000000 (0x00000000)

_14 = 0.000000 (0x00000000)

_24 = 0.000000 (0x00000000)

_34 = 0.000000 (0x00000000)

_44 = 0.000000 (0x00000000)

_data = [16]

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000) ...

_data2d = [4]

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

m_RenderData = 0x00000000

m_BoundsValid = true

m_bWillBeDrawn = false

m_MiniPatches = [16]

[16]

Tex = 0x1E69C6D8 ->

m_Tag = { (unsupported basic_string<char,char_traits<char> >) }

m_pProperties =

px = 0x1D305A98 ->

m_pParent =

px = 0x1D2FA878 ->

m_pParent =

px = 0x00000000

pn =

pi_ = 0x00000000

m_BaseColor = 0 (0x00000000)

m_HasBaseColor = false

m_MovementClass = { (unsupported basic_string<char,char_traits<char> >) }

m_TextureAngle = 0.785398 (0x3F490FDB)

m_TextureSize = 32.000000 (0x42000000)

m_Groups = (unsupported vector<CTerrainGroup * >)

pn =

pi_ = 0x21061640 ->

use_count_ = 19 (0x00000013)

weak_count_ = 1 (0x00000001)

m_BaseColor = 0 (0x00000000)

m_HasBaseColor = false

m_MovementClass = { (unsupported basic_string<char,char_traits<char> >) }

m_TextureAngle = 0.785398 (0x3F490FDB)

m_TextureSize = 32.000000 (0x42000000)

m_Groups = (unsupported vector<CTerrainGroup * >)

pn =

pi_ = 0x21066908 ->

use_count_ = 28 (0x0000001C)

weak_count_ = 1 (0x00000001)

m_Material =

m_DiffuseTexture =

px = 0x1E5302E0 ->

m_Properties =

m_Path =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = [8] { 47 ('/'), 8224, 9987, 0, 10497, 0, 10497, 0 }

m_Filter = 9987 (0x00002703)

m_WrapS = 10497 (0x00002901)

m_WrapT = 10497 (0x00002901)

m_Aniso = 2.000000 (0x40000000)

m_Handle = 40140341888 (0x00000009588D0280)

m_BaseColour = 4289044105 (0xFFA59E89)

m_State = LOADED

m_TextureManager = 0x0051FB08 ->

m_VFS =

px = 0x00568C20 (see above)

pn =

pi_ = 0x00569C60 (see above)

m_CacheLoader =

m_VFS =

px = 0x00568C20 (see above)

pn =

pi_ = 0x00569C60 (see above)

m_FileExtension = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

m_DisableGL = false

m_TextureConverter =

m_VFS =

px = 0x00568C20 (see above)

pn =

pi_ = 0x00569C60 (see above)

m_HighQuality = false

m_WorkerThread = 800 (0x00000320)

m_WorkerMutex = 0x119EEE10

m_WorkerSem = 0x0000031C

m_RequestQueue = (unsupported deque<boost::shared_ptr<CTextureConverter::ConversionRequest> >)

m_ResultQueue = (unsupported deque<boost::shared_ptr<CTextureConverter::ConversionResult> >)

m_Shutdown = false

m_DefaultHandle = 65537 (0x0000000000010001)

m_ErrorHandle = 131074 (0x0000000000020002)

m_ErrorTexture =

px = 0x00567660 ->

m_Properties =

m_Path =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = [8] { 47 ('/'), 8224, 9987, 0, 10497, 0, 10497, 0 }

m_Filter = 9987 (0x00002703)

m_WrapS = 10497 (0x00002901)

m_WrapT = 10497 (0x00002901)

m_Aniso = 1.000000 (0x3F800000)

m_Handle = 131074 (0x0000000000020002)

m_BaseColour = 0 (0x00000000)

m_State = LOADED

m_TextureManager = 0x0051FB08 (see above)

m_Self =

px = 0x00567660 (see above)

pn =

pi_ = 0x105D6898 ->

use_count_ = 1 (0x00000001)

weak_count_ = 2 (0x00000002)

pn =

pi_ = 0x105D6898 (see above)

m_TextureCache = (unavailable - unspecified error 0x186A2 (0))

m_HotloadFiles = (unavailable - unspecified error 0x186A2 (0))

m_SettingsFiles = (unavailable - unspecified error 0x186A2 (0))

m_Self =

px = 0x1E5302E0 (see above)

pn =

pi_ = 0x1E4B7048 ->

use_count_ = 3 (0x00000003)

weak_count_ = 8 (0x00000008)

pn =

pi_ = 0x1E4B7048 (see above)

m_Samplers = (vector<CMaterial::TextureSampler >)

m_ShaderEffect =

m = 0x1E40ECD8 ->

data = (unsupported basic_string<char,char_traits<char> >)

hash = 784405102 (0x2EC1126E)

m_ShaderDefines =

m_Items = 0x0043DB70 ->

items = (unsupported vector<pair<CStrIntern,CStrIntern> >)

hash = 0 (0x00000000)

m_ConditionalDefines =

m_Defines = (vector<CShaderConditionalDefines::CondDefine >)

m_StaticUniforms =

m_Items = 0x1062AE90 ->

items = (unsupported vector<pair<CStrIntern,CVector4D> >)

hash = 215572971 (0x0CD961EB)

m_RenderQueries =

m_Items = (unsupported vector<pair<int,CStrIntern> >)

m_AlphaBlending = false

m_PlayerID = 4294967295 (0xFFFFFFFF)

m_TextureMatrix =

_11 = 0.022097 (0x3CB504F3)

_21 = -0.022097 (0xBCB504F3)

_31 = 0.000000 (0x00000000)

_41 = 0.000000 (0x00000000)

_12 = 0.000000 (0x00000000)

_22 = 0.000000 (0x00000000)

_32 = 0.000000 (0x00000000)

_42 = 0.000000 (0x00000000)

_13 = -0.022097 (0xBCB504F3)

_23 = -0.022097 (0xBCB504F3)

_33 = 0.000000 (0x00000000)

_43 = 0.000000 (0x00000000)

_14 = 0.000000 (0x00000000)

_24 = 0.000000 (0x00000000)

_34 = 0.000000 (0x00000000)

_44 = 1.000000 (0x3F800000)

_data = [16]

0.022097 (0x3CB504F3)

-0.022097 (0xBCB504F3)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

0.000000 (0x00000000)

-0.022097 (0xBCB504F3)

-0.022097 (0xBCB504F3)

0.000000 (0x00000000)

0.000000 (0x00000000) ...

_data2d = [4]

[4] { 0.022097 (0x3CB504F3), -0.022097 (0xBCB504F3), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { -0.022097 (0xBCB504F3), -0.022097 (0xBCB504F3), 0.000000 (0x00000000), 0.000000 (0x00000000) }

[4] { 0.000000 (0x00000000), 0.000000 (0x00000000), 0.000000 (0x00000000), 1.000000 (0x3F800000) }

m_BaseColor = 0 (0x00000000)

m_BaseColorValid = false

m_Groups = (unsupported vector<CTerrainGroup * >)

m_TerrainAlpha = (_Tree<<Path,TerrainAlpha>::iterator)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

...

[16]

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

Tex = 0x1E69C6D8 (see above)

Priority = 6 (0x00000006)

... ...

m_X = 0 (0x00000000)

m_Z = 0 (0x00000000)

m_Parent = 0x35DAEE78 (see above)

m_Heightmap = 0x35511120 -> 10980 (0x2AE4)

m_BaseColour =

R = [8] { 255 (0xFF), 255 (0xFF), 255 (0xFF), 255 (0xFF), 1 (0x01), 1 (0x01), 0 (0x00), 0 (0x00) }

G = 255 (0xFF)

B = 255 (0xFF)

A = 255 (0xFF)

m_HeightMipmap =

m_MapSize = 257 (0x00000101)

m_Mipmap = (unsupported vector<SMipmap >)

m_SystemEntity =

m_Id = 1 (0x00000001)

m_ComponentCache = 0x1CE232A8 (see above)

CCmpRangeManager::HandleMessage (ccmprangemanager.cpp:547)

this = (unavailable)

msg = 0x0019EC2C ->

m_Cached =

m_Val =

px = 0x00000000

pn =

pi_ = 0x00000000

__formal = false

cmpVision =

m = 0x0019EC2C (see above)

cmpPosition =

m = 0x0019EC2C (see above)

entdata =

x =

value = 643116508 (0x26552DDC)

z =

value = 16450176 (0x00FB0280)

visionRange =

value = 504180736 (0x1E0D3000)

retainInFog = 0 (0x00)

owner = 0 (0x00)

inWorld = 0 (0x00)

flags = 0 (0x00)

ent = 1698860 (0x0019EC2C)

it =

(iterator<forward_iterator_tag,EntityMap<EntityData>::key_val<size_t,EntityData>,int,EntityMap<EntityData>::key_val<size_t,EntityData> *,EntityMap<EntityData>::key_val<size_t,EntityData> &>)

val = 0x1E0D304C ->

first = 3200385024 (0xBEC20000)

second =

x =

value = 906369872 (0x36061B50)

z =

value = 61 (0x0000003D)

visionRange =

value = 3200385024 (0xBEC20000)

retainInFog = [8] { 40 (0x28), 243 (0xF3), 218 (0xDA), 53 (0x35), 37 (0x25), 0 (0x00), 0 (0x00), 0 (0x00) }

owner = 243 (0xF3)

inWorld = 218 (0xDA)

flags = 53 (0x35)

from =

X =

value = 504180736 (0x1E0D3000)

Y =

value = 0 (0x00000000)

to =

X =

value = 16450176 (0x00FB0280)

Y =

value = 504180736 (0x1E0D3000)

to =

X =

value = 504180736 (0x1E0D3000)

Y =

value = 0 (0x00000000)

from =

X =

value = 504180736 (0x1E0D3000)

Y =

value = 0 (0x00000000)

it =

(iterator<forward_iterator_tag,EntityMap<EntityData>::key_val<size_t,EntityData>,int,EntityMap<EntityData>::key_val<size_t,EntityData> *,EntityMap<EntityData>::key_val<size_t,EntityData> &>)

val = 0x0019EC2C (see above)

pos =

X =

value = 504180736 (0x1E0D3000)

Y =

value = 0 (0x00000000)

ent = 906368592 (0x36061650)

it =

(iterator<forward_iterator_tag,EntityMap<EntityData>::key_val<size_t,EntityData>,int,EntityMap<EntityData>::key_val<size_t,EntityData> *,EntityMap<EntityData>::key_val<size_t,EntityData> &>)

val = 0x0019EC2C (see above)

pos =

X =

value = 504180736 (0x1E0D3000)

Y =

value = 0 (0x00000000)

cmpVision =

m = 0x0019EC2C (see above)

newRange =

value = 1698860 (0x0019EC2C)

it =

(iterator<forward_iterator_tag,EntityMap<EntityData>::key_val<size_t,EntityData>,int,EntityMap<EntityData>::key_val<size_t,EntityData> *,EntityMap<EntityData>::key_val<size_t,EntityData> &>)

val = 0x0019EC2C (see above)

CComponentManager::BroadcastMessage (componentmanager.cpp:891)

this = (unavailable)

msg = 0x210027D0 ->

m_Cached =

m_Val =

px = 0x00000025

pn =

pi_ = 0x0000002E

it = (_Tree<<int,vector<int >>::const_iterator)

ctit = (unsupported _Vector_const_iterator<int >)

emap = (_Tree<<int,map<size_t,IComponent * >>::const_iterator)

CSimulation2Impl::UpdateComponents (simulation2.cpp:499)

simContext = 0x1E0D3000 (see above)

turnLengthFixed =

value = 13107 (0x00003333)

commands = 0x0019F3C0 -> (unsupported vector<SimulationCommand >)

msgTurnStart =

m_Cached =

m_Val =

px = 0x00000000

pn =

pi_ = 0x00000000

componentManager = 0x1E0D3018 (see above)

cmpPathfinder =

m = 0x36A8FAD8 ->

m_EntityHandle =

m_Id = 1 (0x00000001)

m_ComponentCache = 0x1CE232A8 (see above)

m_SimContext = 0x1E0D3000 (see above)

msgUpdate =

m_Cached =

m_Val =

px = 0x00000000

pn =

pi_ = 0x00000000

turnLength =

value = 13107 (0x00003333)

msgUpdate =

m_Cached =

m_Val =

px = 0x00000000

pn =

pi_ = 0x00000000

turnLength =

value = 13107 (0x00003333)

msgUpdate =

m_Cached =

m_Val =

px = 0x00000000

pn =

pi_ = 0x00000000

turnLength =

value = 13107 (0x00003333)

msgUpdate =

m_Cached =

m_Val =

px = 0x00000000

pn =

pi_ = 0x00000000

turnLength =

value = 13107 (0x00003333)

CSimulation2Impl::Update (simulation2.cpp:368)

this = (unavailable)

turnLength = 200 (0x000000C8)

commands = 0x0019F3C0 (see above)

profile2__ =

m_Name = 0x01007724 -> "sim update"

primaryStateBefore =

state = (basic_stringstream<char,char_traits<char> >)

debug = (basic_stringstream<char,char_traits<char> >)

hash = (unsupported basic_string<char,char_traits<char> >)

secondaryTerrain =

m_MapSize = 0 (0x00000000)

m_MapSizePatches = 0 (0x00000000)

m_Patches = 0x00000000

m_Heightmap = 0x00000000

m_BaseColour =

R = 16 (0x10)

G = 241 (0xF1)

B = 187 (0xBB)

A = 0 (0x00)

m_HeightMipmap =

m_MapSize = 28 (0x0000001C)

m_Mipmap = (unsupported vector<SMipmap >)

secondaryStateBefore =

state = (basic_stringstream<char,char_traits<char> >)

debug = (basic_stringstream<char,char_traits<char> >)

hash = (unsupported basic_string<char,char_traits<char> >)

mapType = (unsupported basic_string<char,char_traits<char> >)

primaryStateAfter =

state = (basic_stringstream<char,char_traits<char> >)

debug = (basic_stringstream<char,char_traits<char> >)

hash = (unsupported basic_string<char,char_traits<char> >)

secondaryComponentManager =

m_ScriptInterface =

m = (auto_ptr<ScriptInterface_impl>)

m_SimContext = 0x00000000

m_SystemEntity =

m_Id = 0 (0x00000000)

m_ComponentCache = 0x00000000

m_CurrentComponent = 0 (0x00000000)

m_CurrentlyHotloading = false

m_ComponentTypesById = (unsupported map<int,CComponentManager::ComponentType >)

m_ComponentsByInterface = (unsupported vector<boost::unordered::unordered_map<size_t,IComponent *,boost::hash<size_t>,equal_to<size_t> > >)

m_ComponentsByTypeId = (unsupported map<int,map<size_t,IComponent * > >)

m_LocalMessageSubscriptions = (unsupported map<int,vector<int > >)

m_GlobalMessageSubscriptions = (unsupported map<int,vector<int > >)

m_ComponentTypeIdsByName = (unsupported map<basic_string<char,char_traits<char> >,int >)

m_MessageTypeIdsByName = (unsupported map<basic_string<char,char_traits<char> >,int >)

m_MessageTypeNamesById = (unsupported map<int,basic_string<char,char_traits<char> > >)

m_InterfaceIdsByName = (unsupported map<basic_string<char,char_traits<char> >,int >)

m_ComponentCaches = (unsupported map<size_t,SEntityComponentCache * >)

m_DestructionQueue = (unsupported vector<size_t >)

m_NextScriptComponentTypeId = 0 (0x00000000)

m_NextEntityId = 0 (0x00000000)

m_NextLocalEntityId = 0 (0x00000000)

m_RNG =

lcf =

_x = 0 (0x0000000000000000)

secondaryStateAfter =

state = (basic_stringstream<char,char_traits<char> >)

debug = (basic_stringstream<char,char_traits<char> >)

hash = (unsupported basic_string<char,char_traits<char> >)

secondaryContext =

m_ComponentManager = 0x00000001

m_UnitManager = 0x16544D20 ->

m_Units = (unsupported vector<CUnit * >)

m_ObjectManager = 0x00000000

m_Terrain = 0x00000000

m_SystemEntity =

m_Id = 0 (0x00000000)

m_ComponentCache = 0x00000000

mapFile = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

mapfilename =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 62400

CNetTurnManager::Update (netturnmanager.cpp:173)

this = (unavailable)

simFrameLength = 0.000000 (0x00000002)

maxTurns = 1 (0x00000001)

i = 0 (0x00000000)

commands = (unsupported vector<SimulationCommand >)

profile2__ =

m_Name = 0x00E530ED -> [8] { 131, 199, 4, 59 (';'), 190, 132, 2, 0 }

stream = (basic_stringstream<char,char_traits<char> >)

it = (_Tree<<size_t,vector<SimulationCommand >>::iterator)

CGame::Update (game.cpp:290)

this = (unavailable)

deltaRealTime = 0.0414646 (0x3FA53ADA00000000)

doInterpolate = true

deltaSimTime = 0.0414646 (0x3FA53ADA00000000)

profile2__ =

m_Name = 0x00000000

Frame (main.cpp:379)

realTimeSinceLastFrame = 0.041465 (0x3D29D6D0)

need_update = true

profile2__ =

m_Name = 0x01003724 -> "frame"

need_render = true

profile2__ =

m_Name = 0x01003724 (see above)

profile2__ =

m_Name = 0x01003724 (see above)

RunGameOrAtlas (main.cpp:508)

argc = 1 (0x00000001)

argv = 0x0043E190 -> 0x005677D8 -> "C:\0AD SVN\Copy\ps\binaries\system\pyrogenesis.exe"

args =

m_Args = (unsupported vector<pair<CStr8,CStr8> >)

m_Arg0 =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 92 ('\')

paths =

m_root =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 4

m_rdata =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 28470

m_gameData =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 1

m_userData =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 16

m_config =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 65535

m_cache =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 62928

m_logs =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 0

replay =

m_Stream = 0x00000000

mod =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 9904

zip =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 14224

paths =

m_root =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 4

m_rdata =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 28470

m_gameData =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 1

m_userData =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 16

m_config =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 65535

m_cache =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 62928

m_logs =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 0

builder =

m_VFS =

px = 0x0043E1A4 -> (IVFS)

pn =

pi_ = 0x010826C4 ->

use_count_ = 0 (0x00000000)

weak_count_ = 509648600 (0x1E609ED8)

m_Files = (unsupported vector<Path >)

m_TempDir =

path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)

separator = 30744

main (main.cpp:551)

argc = 1 (0x00000001)

argv = 0x0043E190 (see above)

wmain (wseh.cpp:380)

argc = 1 (0x00000001)

argv = 0x0043EE30 -> 0x0043EE38 -> "C:\0AD SVN\Copy\ps\binaries\system\pyrogenesis.exe"

utf8_argv = (unsupported vector<char * >)

ret = 0 (0x00000000)

utf8 = (unsupported basic_string<char,char_traits<char> >)

CallStartupWithinTryBlock (wseh.cpp:397)

ret = 0 (0x00000000)

RtlInitializeExceptionChain (:0)

RtlInitializeExceptionChain (:0)

errno = 0 (No error reported here)

OS error = 0 (no error code was set)

logs.zip

Edited by Lion.Kanzen
Link to comment
Share on other sites

Thank you, but what happens? Is a temporary issue? I mean you are optimization the game and changing lot of things and is normal that happens, rights?

I'm currently working on optimizing the RangeManager, which is used for detecting objects within a certain range.

The error: "SpatialSubdivision Query too large. Results truncated." is simply a safeguard I put into place to detect if we're doing ridiculously big range queries. This is one of the reasons we're having such bad performance.

Right now there's no way around the issue with the old code. I'm working on a completely new solution that lowers the amount of results noticeably.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...