MantisBT - Open CASCADE
View Issue Details
0031426Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2020-03-11 20:582020-09-15 12:10
kgv 
msv 
normalminor 
newopen 
[OCCT] 7.4.0 
[OCCT] 7.6.0* 
0031426: Modeling Algorithms - out of range within HLRBRep_PolyAlgo
Test case hlr/poly_hlr/bug23625_1 crashes on regerenated triangulation with out of range exception. Probably range checks are missing within HLRBRep_PolyAlgo and it might be BRepMesh generating broken Poly_PolygonOnTriangulation.
test hlr poly_hlr bug23625_1 1
vclear
tclean a
incmesh a 7.6 12
vdisplay a
vcomputehlr a result -algoType polyAlgo


Result:
** Exception ** 000001D93DB39C30 : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x000001D8551439B8 
during 'READ' operation


Within debugger at line
> const Handle(HLRAlgo_PolyInternalNode)* pi1p2 =
      &(((HLRAlgo_Array1OfPINod*)PINod1)->ChangeValue(Pol1(nbPol)));

HPol[0] has size 3 and HPol[1] has size 2.
No tags attached.
Issue History
2020-03-11 20:58kgvNew Issue
2020-03-11 20:58kgvAssigned To => msv
2020-03-11 21:05kgvRelationship addedrelated to 0023625
2020-03-11 21:05kgvRelationship addedrelated to 0031425
2020-09-15 12:10msvTarget Version7.5.0 => 7.6.0*

There are no notes attached to this issue.