Замучал вот такой краш, может быть кто-то знает как решить проблему или кто сталкивался с ней?
PHP код:
(gdb) bt
#0 LoadHelper<GameObject> (guid_set=Variable "guid_set" is not available.
)
at ../../../src/game/ObjectGridLoader.cpp:115
#1 0x0000000000716f6d in ObjectGridLoader::Visit (this=0x7fffff1f0300,
m=@0x85662b050) at ../../../src/game/ObjectGridLoader.cpp:181
#2 0x000000000071960d in VisitorHelper<ObjectGridLoader, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (
v=@0x7fffff1f0300, c=Variable "c" is not available.
) at TypeContainerVisitor.h:57
#3 0x0000000000716fe9 in ObjectGridLoader::Load (this=0x7fffff1f0300,
grid=@0x85662b050) at TypeContainerVisitor.h:80
#4 0x00000000007170dd in ObjectGridLoader::LoadN (this=0x7fffff1f0300)
at GridLoader.h:52
#5 0x00000000006ca5f3 in Map::EnsureGridLoaded (this=0x814248000,
cell=@0x7fffff1f1740) at ../../../src/game/Map.cpp:293
#6 0x000000000056fd62 in Cell::VisitAllObjects<MaNGOS::VisibleNotifier> (
center_obj=0x842c02000, visitor=@0x7fffff1f27b0, radius=90, dont_load=Variable "dont_load" is not available.
)
at Map.h:385
#7 0x000000000056d669 in Camera::UpdateVisibilityForOwner (this=0x842c04af8)
at ../../../src/game/Camera.cpp:149
#8 0x00000000006d5de0 in Map::PlayerRelocation (this=0x814248000,
player=0x842c02000, x=-4889.05859, y=-937.21405, z=541.175964,
orientation=5.91552162) at Camera.h:97
#9 0x00000000008bf271 in Unit::SetPosition (this=0x842c02000, x=-4889.05859,
y=-937.21405, z=541.175964, orientation=5.91552162, teleport=Variable "teleport" is not available.
)
---Type <return> to continue, or q <return> to quit---
at ../../../src/game/Unit.cpp:513
#10 0x00000000007d4324 in Player::SetPosition (this=0x842c02000,
x=-4889.05859, y=-937.21405, z=541.175964, orientation=5.91552162,
teleport=Variable "teleport" is not available.
) at ../../../src/game/Player.cpp:6172
#11 0x00000000007f495e in DestinationHolder<Traveller<Player> >::UpdateTraveller (this=0x842f9d204, traveller=@0x7fffff1f6ae0, diff=Variable "diff" is not available.
) at Traveller.h:144
#12 0x00000000008f72d1 in FlightPathMovementGenerator::Update (
this=0x842f9d1f0, player=@0x842c02000, diff=Variable "diff" is not available.
)
at ../../../src/game/WaypointMovementGenerator.cpp:379
#13 0x00000000006f7ea9 in MovementGeneratorMedium<Player, FlightPathMovementGenerator>::Update (this=Variable "this" is not available.
) at MovementGenerator.h:91
#14 0x00000000006f3322 in MotionMaster::UpdateMotion (this=0x842c03958,
diff=100) at ../../../src/game/MotionMaster.cpp:76
#15 0x00000000008d13d3 in Unit::Update (this=0x842c02000, p_time=100)
at ../../../src/game/Unit.cpp:368
#16 0x00000000007e1571 in Player::Update (this=0x842c02000, p_time=100)
at ../../../src/game/Player.cpp:1197
#17 0x00000000006de4e6 in Map::Update (this=0x814248000, t_diff=@0x838b93f60)
at ../../../src/game/Map.cpp:469
#18 0x00000000006f26a2 in MapUpdateRequest::call (this=0x838b93f40)
at ../../../src/game/MapUpdater.cpp:74
#19 0x0000000000a1457c in DelayExecutor::svc (this=0x8131d32d0)
at ../../../src/shared/DelayExecutor.cpp:70
---Type <return> to continue, or q <return> to quit---
#20 0x0000000800e72f17 in ACE_Task_Base::svc_run ()
from /home/ps/mangos/lib/libACE-5.6.6.so
#21 0x0000000800e73305 in ACE_Thread_Adapter::invoke ()
from /home/ps/mangos/lib/libACE-5.6.6.so
#22 0x0000000801cf54d1 in pthread_getprio () from /lib/libthr.so.3
#23 0x0000000000000000 in ?? ()
Cannot access memory at address 0x7fffff1fa000
(gdb) bt full
#0 LoadHelper<GameObject> (guid_set=Variable "guid_set" is not available.
)
at ../../../src/game/ObjectGridLoader.cpp:115
guid = 0
obj = (GameObject *) 0x0
bg = (BattleGround *) 0x0
#1 0x0000000000716f6d in ObjectGridLoader::Visit (this=0x7fffff1f0300,
m=@0x85662b050) at ../../../src/game/ObjectGridLoader.cpp:181
x = Variable "x" is not available.
(gdb)
нужно в функции сделать затычку void LoadHelper(CellGuidSet const& guid_set, CellPair &cell, GridRefManager<T> &m, uint32 &count, Map* map, GridType& grid) но вот какую?