View Issue Details

IDProjectCategoryView StatusLast Update
0028720CommunityOCCT:Modeling Algorithmspublic2023-08-01 15:06
Reporterorgot Assigned Tonmanchen  
PrioritynormalSeveritycrash 
Status assignedResolutionopen 
PlatformWindowsOSVC++ 2012 
Product Version6.5.4 
Target VersionUnscheduled 
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).

git

2022-11-17 07:07

administrator   ~0112139

Branch CR28720 has been created by nmanchen.

SHA-1: 5c3adda3e9db2de2f834e17c0f9ff52908018357


Detailed log of new commits:

Author: nmanchen
Date: Thu Nov 17 07:06:13 2022 +0300

    CR28720: Modeling Algorithms - HLRBrep_PolyAlgo crash with specific shape
    
    1 link update for each new segment

git

2022-12-02 05:43

administrator   ~0112463

Branch CR28720 has been updated by nmanchen.

SHA-1: 570e4767e6f1aff0ce916e3ec50acde71baebf1e


Detailed log of new commits:

Author: nmanchen
Date: Fri Dec 2 05:42:52 2022 +0300

    Merge branch 'master' into CR28720

git

2022-12-04 21:20

administrator   ~0112490

Branch CR28720_1 has been created by nmanchen.

SHA-1: 1b0eadc66a0d799147480528df38433d7d9a8480


Detailed log of new commits:

Author: nmanchen
Date: Sun Dec 4 21:19:02 2022 +0300

    CR28720: Modeling Algorithms - HLRBrep_PolyAlgo crash with specific shape
    
    1 link update for each new segment

emv

2022-12-07 08:20

developer   ~0112508

Please proceed with the verbal remarks.

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
2022-10-24 10:42 szy Target Version 7.7.0 => 7.8.0
2022-11-03 15:28 szy Assigned To jgv => nmanchen
2022-11-17 07:07 git Note Added: 0112139
2022-12-02 05:43 git Note Added: 0112463
2022-12-04 21:20 git Note Added: 0112490
2022-12-05 08:57 nmanchen Assigned To nmanchen => emv
2022-12-05 08:57 nmanchen Status assigned => feedback
2022-12-05 09:00 nmanchen Status feedback => resolved
2022-12-07 08:20 emv Assigned To emv => nmanchen
2022-12-07 08:20 emv Status resolved => assigned
2022-12-07 08:20 emv Note Added: 0112508
2023-08-01 15:06 dpasukhi Target Version 7.8.0 => Unscheduled