View Issue Details

IDProjectCategoryView StatusLast Update
0028720CommunityOCCT:Modeling Algorithmspublic2021-08-29 18:53
Reporterorgot Assigned Tojgv  
PrioritynormalSeveritycrash 
Status assignedResolutionopen 
PlatformWindowsOSVC++ 2012 
Product Version6.5.4 
Target Version7.7.0 
Summary0028720: Modeling Algorithms - HLRBrep_PolyAlgo crash with specific shape
DescriptionI created the following small code to use HLR Poly algo on a shape.
The shape is not null. The brep file attached to this post.

TopoDS_Shape shape = ... ;
Handle(HLRBRep_Algo) algo = new HLRBRep_Algo();
HLRAlgo_Projector projector(gp_Ax2());
algo->Add(shape);
algo->Projector(projector);
algo->Update(); <--- Crash in this function


With draw command:

pload ALL
vinit
restore MS4SY.brep
vdisplay MS4SY
vsetdispmode 1
vcomputehlr MS4SY test <--- Crash
Steps To Reproduce
pload MODELING VISUALIZATION
vclear
vinit View1
restore MS4SY.brep b
vdisplay -dispMode 1 b
vfit
vcomputehlr b test


Result:
65 void HLRAlgo_PolyInternalData::UpdateLinks()
...
142      aSegIndices = &PISeg->ChangeValue(myNbPISeg);


An exception was caught 000001DD88885550 : Standard_OutOfRange: NCollection_Array1::ChangeValue
** Exception ** 000001DD88885550 : Standard_OutOfRange: NCollection_Array1::ChangeValue

Index: 1392, Upper: 1391.
TagsNo tags attached.
Test case number

Attached Files

  • MS4SY.brep (2,336,489 bytes)

Activities

orgot

2017-05-09 11:18

reporter  

MS4SY.brep (2,336,489 bytes)

kgv

2017-05-12 10:30

developer   ~0065867

Dear orgot,

> Assigned To: msv => kgv

Please don't change default assignments - bugs are assigned to a person responsible for specified domain (Category).

Issue History

Date Modified Username Field Change
2017-05-09 11:18 orgot New Issue
2017-05-09 11:18 orgot Assigned To => msv
2017-05-09 11:18 orgot File Added: MS4SY.brep
2017-05-12 09:42 orgot Assigned To msv => kgv
2017-05-12 10:18 kgv Steps to Reproduce Updated
2017-05-12 10:28 kgv Assigned To kgv => msv
2017-05-12 10:28 kgv Product Version 7.1.0 => 6.5.4
2017-05-12 10:30 kgv Note Added: 0065867
2017-05-12 10:39 msv Assigned To msv => jgv
2017-05-12 10:39 msv Status new => assigned
2017-05-12 10:39 msv Target Version => 7.2.0
2017-07-21 11:17 msv Target Version 7.2.0 => 7.3.0
2017-12-05 17:09 msv Target Version 7.3.0 => 7.4.0
2019-08-12 16:44 msv Target Version 7.4.0 => 7.5.0
2020-09-14 22:55 msv Target Version 7.5.0 => 7.6.0
2020-09-15 09:14 kgv Summary HLRBrep_PolyAlgo crash with specific shape => Modeling Algorithms - HLRBrep_PolyAlgo crash with specific shape
2020-09-15 09:14 kgv Description Updated
2021-08-29 18:53 msv Target Version 7.6.0 => 7.7.0