Ticket #587 (closed defect: fixed)
!leaf_replaced assert triggered in csKDTree, when doing culling
| Reported by: | xordan | Owned by: | jorrit |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | engine | Version: | V1.4 |
| Keywords: | Cc: |
Description
This assert is occasionally triggered, it seems to happen fairly randomly.
crystalspace-1.9-vc9_d.dll!CS::Debug::DebugBreak() Line 875 C++
crystalspace-1.9-vc9_d.dll!CS::Debug::AssertMessage(const char * expr=0x6b095d94, const char * filename=0x6b0abfc4, int line=218, const char * msg=0x00000000) Line 82 C++
crystalspace-1.9-vc9_d.dll!csKDTree::DebugExit() Line 218 + 0x23 bytes C++
> crystalspace-1.9-vc9_d.dll!csKDTree::DistributeLeafObjects() Line 457 C++
crystalspace-1.9-vc9_d.dll!csKDTree::Distribute() Line 591 C++
frustvis.dll!FrustTestBox_Front2Back(csKDTree * treenode=0x1f27e8c8, void * userdata=0x009ae2a0, unsigned int cur_timestamp=9808, unsigned int & __formal=0) Line 662 C++
crystalspace-1.9-vc9_d.dll!csKDTree::Front2Back(const csVector3 & pos={...}, bool (csKDTree *, void *, unsigned int, unsigned int &)* func=0x663d6d30, void * userdata=0x009ae2a0, unsigned int cur_timestamp=9808, unsigned int frustum_mask=0) Line 787 + 0x13 bytes C++
crystalspace-1.9-vc9_d.dll!csKDTree::Front2Back(const csVector3 & pos={...}, bool (csKDTree *, void *, unsigned int, unsigned int &)* func=0x663d6d30, void * userdata=0x009ae2a0, unsigned int frustum_mask=0) Line 849 C++
frustvis.dll!csFrustumVis::VisTest(const csBox3 & box={...}) Line 712 C++
engine.dll!csEngine::GetNearbyMeshList(iSector * sector=0x17ff4a0c, const csBox3 & box={...}, csArray<iMeshWrapper *,csArrayElementHandler<iMeshWrapper *>,CS::Memory::AllocatorMalloc,csArrayCapacityFixedGrow<16> > & list={...}, csSet<csPtrKey<iSector>,CS::Memory::AllocatorMalloc> & visited_sectors={...}, bool crossPortals=true) Line 2369 + 0x18 bytes C++
engine.dll!csEngine::GetNearbyMeshes(iSector * sector=0x17ff4a0c, const csBox3 & box={...}, bool crossPortals=true) Line 2434 C++
crystalspace-1.9-vc9_d.dll!csColliderActor::CollisionDetect(iCollider * collider=0x1317fe30, iSector * sector=0x17ff4a0c, csReversibleTransform * transform=0x009aebf4, csReversibleTransform * old_transform=0x009aec4c) Line 766 + 0x41 bytes C++
crystalspace-1.9-vc9_d.dll!csColliderActor::AdjustForCollisions(const csVector3 & oldpos={...}, csVector3 & newpos={...}, const csVector3 & vel={...}, float delta=0.013285376) Line 992 + 0x26 bytes C++
psclient.exe!psCollisionDetection::AdjustForCollisions(csVector3 & oldpos={...}, csVector3 & newpos={...}, csVector3 & vel={...}, float delta=0.013285376, iMovable * __formal=0x1317f5d4) Line 94 C++
psclient.exe!psLinearMovement::MoveV(float delta=0.013285376) Line 501 + 0x33 bytes C++
psclient.exe!psLinearMovement::MoveSprite(float delta=0.013285376) Line 423 + 0xf bytes C++
psclient.exe!psLinearMovement::ExtrapolatePosition(float delta=0.10200000) Line 766 C++
psclient.exe!psLinearMovement::TickEveryFrame() Line 787 C++
