MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028720Community[OCCT] OCCT:Modeling Algorithmspublic2017-05-09 11:182017-12-05 17:09
Reporterorgot 
Assigned Tojgv 
PrioritynormalSeveritycrash 
StatusassignedResolutionopen 
PlatformWindowsOSVC++ 2012OS Version64 bit
Product Version[OCCT] 6.5.4 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0028720: 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? file icon MS4SY.brep (2,336,489 bytes) 2017-05-09 11:18

- Relationships

-  Notes
(0065867)
kgv (developer)
2017-05-12 10:30

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 View Revisions
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*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker