Ticket #4480: weirdcid.txt

File weirdcid.txt, 9.8 KB (added by fatherbushido, 7 years ago)

32767

Line 
1ERROR: JavaScript error: simulation/components/Pack.js line 102
2TypeError: cmpPlayer is null
3 Pack.prototype.GetPackTime@simulation/components/Pack.js:102:1
4 Pack.prototype.GetProgress@simulation/components/Pack.js:112:28
5 StatusBars.prototype.AddPackBar@simulation/components/StatusBars.js:162:58
6 StatusBars.prototype.RegenerateSprites@simulation/components/StatusBars.js:117:14
7 StatusBars.prototype.OnDestroy@simulation/components/StatusBars.js:101:3
8ERROR: Script message handler OnDestroy failed
9
10Thread 1 "pyrogenesis_dbg" received signal SIGSEGV, Segmentation fault.
110x0000000000000000 in ?? ()
12(gdb) bt
13#0 0x0000000000000000 in ?? ()
14#1 0x0000555555789282 in CDynamicSubscription::CompareIComponent::operator() (
15 this=0x5555572aebd0, cmpA=0x55555e020ec0, cmpB=0x5555599fc7f0)
16 at ../../../source/simulation2/system/DynamicSubscription.h:48
17#2 0x000055555578a7b4 in std::_Rb_tree<IComponent*, IComponent*, std::_Identity<IComponent*>, CDynamicSubscription::CompareIComponent, std::allocator<IComponent*> >::_M_get_insert_unique_pos (this=0x5555572aebd0,
18 __k=@0x7fffffffc850: 0x55555e020ec0)
19 at /usr/include/c++/6/bits/stl_tree.h:1836
20#3 0x0000555555789bce in std::_Rb_tree<IComponent*, IComponent*, std::_Identity<IComponent*>, CDynamicSubscription::CompareIComponent, std::allocator<IComponent*> >::_M_insert_unique<IComponent* const&> (this=0x5555572aebd0,
21 __v=@0x7fffffffc850: 0x55555e020ec0)
22 at /usr/include/c++/6/bits/stl_tree.h:1889
23#4 0x00005555557893ce in std::set<IComponent*, CDynamicSubscription::CompareIComponent, std::allocator<IComponent*> >::insert (this=0x5555572aebd0,
24 __x=@0x7fffffffc850: 0x55555e020ec0)
25 at /usr/include/c++/6/bits/stl_set.h:483
26#5 0x0000555555788d27 in CDynamicSubscription::Remove (this=0x5555572aeb88,
27 cmp=0x55555e020ec0)
28 at ../../../source/simulation2/system/DynamicSubscription.cpp:31
29#6 0x0000555555757cd1 in CComponentManager::RemoveComponentDynamicSubscriptions (this=0x555558837b98, component=0x55555e020ec0)
30---Type <return> to continue, or q <return> to quit---
31 at ../../../source/simulation2/system/ComponentManager.cpp:627
32#7 0x0000555555759af2 in CComponentManager::FlushDestroyedComponents (
33 this=0x555558837b98)
34 at ../../../source/simulation2/system/ComponentManager.cpp:932
35#8 0x0000555555712074 in CSimulation2Impl::UpdateComponents (simContext=...,
36 turnLengthFixed=..., commands=std::vector of length 0, capacity 0)
37 at ../../../source/simulation2/Simulation2.cpp:566
38#9 0x0000555555710cb1 in CSimulation2Impl::Update (this=0x555558837b70,
39 turnLength=200, commands=std::vector of length 0, capacity 0)
40 at ../../../source/simulation2/Simulation2.cpp:377
41#10 0x00005555557133a6 in CSimulation2::Update (this=0x555558ec13c0,
42 turnLength=200, commands=std::vector of length 0, capacity 0)
43 at ../../../source/simulation2/Simulation2.cpp:731
44#11 0x000055555574a45b in CTurnManager::Update (this=0x55555897d430,
45 simFrameLength=0.0158507247, maxTurns=2)
46 at ../../../source/simulation2/system/TurnManager.cpp:163
47#12 0x00005555559714be in CGame::Update (this=0x555558842660,
48 deltaRealTime=0.0079253623262047768, doInterpolate=true)
49 at ../../../source/ps/Game.cpp:401
50#13 0x00005555556a10d0 in Frame () at ../../../source/main.cpp:336
51#14 0x00005555556a1d9c in RunGameOrAtlas (argc=1, argv=0x7fffffffe258)
52 at ../../../source/main.cpp:531
53#15 0x00005555556a2140 in main (argc=1, argv=0x7fffffffe258)
54---Type <return> to continue, or q <return> to quit---
55 at ../../../source/main.cpp:571
56(gdb) up
57#1 0x0000555555789282 in CDynamicSubscription::CompareIComponent::operator() (this=0x5555572aebd0, cmpA=0x55555e020ec0, cmpB=0x5555599fc7f0) at ../../../source/simulation2/system/DynamicSubscription.h:48
5848 int cidB = cmpB->GetComponentTypeId();
59(gdb) list
6043 if (entityA < entityB)
6144 return true;
6245 if (entityB < entityA)
6346 return false;
6447 int cidA = cmpA->GetComponentTypeId();
6548 int cidB = cmpB->GetComponentTypeId();
6649 if (cidA < cidB)
6750 return true;
6851 return false;
6952 }
70(gdb) print cidA
71$1 = 33
72(gdb) print cidB
73$2 = 32767
74(gdb)
75(gdb) whatis cidB
76type = int
77(gdb) print *cmpA
78$3 = {_vptr.IComponent = 0x5555563a73a8 <vtable for CCmpSelectable+16>, m_EntityHandle = {m_Id = 175, m_ComponentCache = 0x55555af18e70}, m_SimContext = 0x555558837b70}
79(gdb) print *cmpB
80$4 = {_vptr.IComponent = 0x5555572abe70, m_EntityHandle = {m_Id = 175, m_ComponentCache = 0x55555af18e70}, m_SimContext = 0x555558837b70}
81(gdb) print *cmpA @5
82$5 = {{<ICmpSelectable> = {<IComponent> = {_vptr.IComponent = 0x5555563a73a8 <vtable for CCmpSelectable+16>, m_EntityHandle = {m_Id = 175, m_ComponentCache = 0x55555af18e70}, m_SimContext = 0x555558837b70},
83 static ms_EnableDebugOverlays = false, static m_OverrideVisible = true}, m_OverlayDescriptor = {m_Type = ICmpSelectable::DYNAMIC_QUAD, m_QuadTexture = {m = 0x55555d185b20}, m_QuadTextureMask = {
84 m = 0x55555d1c5a10}, m_LineTexture = {m = 0x5555563fc1e0}, m_LineTextureMask = {m = 0x5555563fc1e0}, m_LineThickness = 0}, m_BuildingOverlay = 0x0, m_UnitOverlay = 0x5555574466d0,
85 m_DebugBoundingBoxOverlay = 0x0, m_DebugSelectionBoxOverlay = 0x0, m_EnabledInterpolate = true, m_EnabledRenderSubmit = true, m_Visible = true, m_EditorOnly = false, m_AlwaysVisible = false,
86 m_Selected = true, m_Color = {r = 0.180392161, g = 0.180392161, b = 0.784313738, a = 1}, m_Cached = true, m_AlphaMin = 0, m_FadeBaselineAlpha = 1, m_FadeDeltaAlpha = 0, m_FadeProgress = 0,
87 static FADE_DURATION = 0.29999999999999999}, {<ICmpSelectable> = {<IComponent> = {_vptr.IComponent = 0x0, m_EntityHandle = {m_Id = 33, m_ComponentCache = 0x3f2c00eb3f3e8fb3},
88 m_SimContext = 0x55555b8d71a0}, static ms_EnableDebugOverlays = false, static m_OverrideVisible = true}, m_OverlayDescriptor = {m_Type = (unknown: 32), m_QuadTexture = {m = 0x461}, m_QuadTextureMask = {
89 m = 0x0}, m_LineTexture = {m = 0x0}, m_LineTextureMask = {m = 0x0}, m_LineThickness = 0}, m_BuildingOverlay = 0x0, m_UnitOverlay = 0xd500000001, m_DebugBoundingBoxOverlay = 0x0,
90 m_DebugSelectionBoxOverlay = 0xa00000de1, m_EnabledInterpolate = false, m_EnabledRenderSubmit = false, m_Visible = false, m_EditorOnly = false, m_AlwaysVisible = false, m_Selected = false, m_Color = {
91 r = 0, g = 0, b = 0, a = 0}, m_Cached = false, m_AlphaMin = 0, m_FadeBaselineAlpha = 0, m_FadeDeltaAlpha = 0, m_FadeProgress = 0, static FADE_DURATION = 0.29999999999999999},
92 {<ICmpSelectable> = {<IComponent> = {_vptr.IComponent = 0x0, m_EntityHandle = {m_Id = 10497, m_ComponentCache = 0x270300002901}, m_SimContext = 0x2601}, static ms_EnableDebugOverlays = false,
93 static m_OverrideVisible = true}, m_OverlayDescriptor = {m_Type = ICmpSelectable::DYNAMIC_QUAD, m_QuadTexture = {m = 0xc47a000000000000}, m_QuadTextureMask = {m = 0x447a0000}, m_LineTexture = {
94 m = 0x40800000}, m_LineTextureMask = {m = 0x8a4900000203}, m_LineThickness = 0}, m_BuildingOverlay = 0x1909, m_UnitOverlay = 0x3f800000, m_DebugBoundingBoxOverlay = 0x3e8,
95 m_DebugSelectionBoxOverlay = 0x0, m_EnabledInterpolate = false, m_EnabledRenderSubmit = false, m_Visible = false, m_EditorOnly = false, m_AlwaysVisible = false, m_Selected = false, m_Color = {r = 0, g = 0,
96 b = 8.97251407e-42, a = 8.97391537e-42}, m_Cached = 5, m_AlphaMin = 8.97671796e-42, m_FadeBaselineAlpha = 2.34297103e-42, m_FadeDeltaAlpha = 0, m_FadeProgress = 0,
97 static FADE_DURATION = 0.29999999999999999}, {<ICmpSelectable> = {<IComponent> = {_vptr.IComponent = 0x0, m_EntityHandle = {m_Id = 0, m_ComponentCache = 0x55555cbe23b0}, m_SimContext = 0x55555e53cba0},
98 static ms_EnableDebugOverlays = false, static m_OverrideVisible = true}, m_OverlayDescriptor = {m_Type = (unknown: 1519866080), m_QuadTexture = {m = 0x55555e119050}, m_QuadTextureMask = {
99 m = 0x55555d5e42f0}, m_LineTexture = {m = 0x55555c332bc0}, m_LineTextureMask = {m = 0x55555b4b80b0}, m_LineThickness = 1.44573109e+15}, m_BuildingOverlay = 0x55555d5d54d0, m_UnitOverlay = 0x0,
100 m_DebugBoundingBoxOverlay = 0x0, m_DebugSelectionBoxOverlay = 0x0, m_EnabledInterpolate = false, m_EnabledRenderSubmit = false, m_Visible = false, m_EditorOnly = false, m_AlwaysVisible = false,
101 m_Selected = false, m_Color = {r = 0, g = 0, b = 0, a = 0}, m_Cached = false, m_AlphaMin = 0, m_FadeBaselineAlpha = 0, m_FadeDeltaAlpha = 0, m_FadeProgress = 0, static FADE_DURATION = 0.29999999999999999},
102 {<ICmpSelectable> = {<IComponent> = {_vptr.IComponent = 0x0, m_EntityHandle = {m_Id = 0, m_ComponentCache = 0x0}, m_SimContext = 0x0}, static ms_EnableDebugOverlays = false, static m_OverrideVisible = true},
103 m_OverlayDescriptor = {m_Type = ICmpSelectable::DYNAMIC_QUAD, m_QuadTexture = {m = 0x0}, m_QuadTextureMask = {m = 0x0}, m_LineTexture = {m = 0x0}, m_LineTextureMask = {m = 0x0}, m_LineThickness = 0},
104 m_BuildingOverlay = 0x0, m_UnitOverlay = 0x0, m_DebugBoundingBoxOverlay = 0x0, m_DebugSelectionBoxOverlay = 0x0, m_EnabledInterpolate = false, m_EnabledRenderSubmit = false, m_Visible = false,
105 m_EditorOnly = false, m_AlwaysVisible = false, m_Selected = false, m_Color = {r = 0, g = 0, b = 0, a = 0}, m_Cached = false, m_AlphaMin = 0, m_FadeBaselineAlpha = 0, m_FadeDeltaAlpha = 0,
106 m_FadeProgress = 0, static FADE_DURATION = 0.29999999999999999}}
107(gdb) print *cmpB @5
108$6 = {{_vptr.IComponent = 0x5555572abe70, m_EntityHandle = {m_Id = 175, m_ComponentCache = 0x55555af18e70}, m_SimContext = 0x555558837b70}, {_vptr.IComponent = 0x55556515f900, m_EntityHandle = {
109 m_Id = 1695938816, m_ComponentCache = 0x55556515f980}, m_SimContext = 0x555565182d80}, {_vptr.IComponent = 0x555565182d80, m_EntityHandle = {m_Id = 1696083352, m_ComponentCache = 0x1},
110 m_SimContext = 0xa1}, {_vptr.IComponent = 0x7fff00000001, m_EntityHandle = {m_Id = 1503913808, m_ComponentCache = 0x555559a292e0}, m_SimContext = 0x555559a48350}, {_vptr.IComponent = 0x5555599fc8f0,
111 m_EntityHandle = {m_Id = 53, m_ComponentCache = 0x35}, m_SimContext = 0x7400000072}}
112