View Issue Details

IDProjectCategoryView StatusLast Update
0026268CommunityOCCT:Modeling Algorithmspublic2015-10-23 20:51
ReporterVico Liang Assigned Tobugmaster  
PrioritynormalSeveritycrash 
Status closedResolutionduplicate 
PlatformWindowsOSVC++ 2013 
Target Version6.9.1Fixed in Version6.9.1 
Summary0026268: Crash in BRepFill_PipeShell::Build method.
Description     TKBRep.dll!TopoDS_ListIteratorOfListOfShape::Initialize(const TopoDS_ListOfShape & L) Line 48 C++
     TKBRep.dll!TopoDS_Iterator::Initialize(const TopoDS_Shape & S, const unsigned int cumOri, const unsigned int cumLoc) Line 40 C++
     TKTopAlgo.dll!BRepLib_MakeWire::Add(const TopoDS_Edge & E) Line 167 C++
> TKBool.dll!BRepFill_CompatibleWires::SameNumberByPolarMethod(const unsigned int WithRotation) Line 1147 C++
     TKBool.dll!BRepFill_CompatibleWires::Perform(const unsigned int WithRotation) Line 804 C++
     TKBool.dll!BRepFill_PipeShell::Prepare() Line 1111 C++
     TKBool.dll!BRepFill_PipeShell::Build() Line 713 C++
     TKOffset.dll!BRepOffsetAPI_MakePipeShell::Build() Line 258 C++
Steps To ReproduceNot available.
TagsNo tags attached.
Test case number

Activities

Vico Liang

2015-05-26 12:53

developer   ~0041550

It's reproduced in OCCT6.9.0.

Vico Liang

2015-05-26 12:54

developer   ~0041551

The problem is that a NULL edge is added in method call BRepLib_MakeWire::Add.

msv

2015-05-26 14:50

developer   ~0041565

Dear Vico Liang, could you provide data to reproduce the problem?

Vico Liang

2015-05-26 18:45

developer   ~0041580

Dear msv,

I encountered the issue in a temporary model which is drawn dynamicly and the model is not saved in disk. When i try to reproduce the issue by drawing a model from scratch, it's not reproduced again. What a pity there is no data for you at this time. :(

Regards,
Vico

msv

2015-05-27 12:15

developer   ~0041598

Dear isn, please look at the code that is in the given stack frame, and try to localize incorrect calling of BRepLib_MakeWire::Add with null edge. Set appropriate protection from possible crash if it is possible.

git

2015-08-26 17:08

administrator   ~0044679

Branch CR26268 has been created by isn.

SHA-1: e694c5d4f30dd9303d3e4bbef7a08b5cbbe40094


Detailed log of new commits:

Author: isn
Date: Wed Aug 26 17:08:14 2015 +0300

    0026268: Crash in BRepFill_PipeShell::Build method.

git

2015-09-10 11:31

administrator   ~0045385

Branch CR26268 has been deleted by isn.

SHA-1: e694c5d4f30dd9303d3e4bbef7a08b5cbbe40094

msv

2015-09-10 12:52

developer   ~0045400

This bug is a duplicate of another one, fix for that is put in the branch CR26636 and will be integrated into master soon.
The fix avoids access violation crash, and instead raises Standard_ConstructionError exception telling that profiles are inconsistent.

msv

2015-09-10 12:53

developer   ~0045401

Dear Vico, please tell if that fix resolves your problem.

Vico Liang

2015-09-16 18:45

developer   ~0045733

Dear msv, i have checked the patch code, it should be fixed. Please close this. Thanks for your effect on this bug fix.

msv

2015-09-16 18:55

developer   ~0045734

Dear bugmaster, please closed it as the fix of duplicated bug fixes this one too.

Issue History

Date Modified Username Field Change
2015-05-26 12:51 Vico Liang New Issue
2015-05-26 12:51 Vico Liang Assigned To => msv
2015-05-26 12:53 Vico Liang Note Added: 0041550
2015-05-26 12:54 Vico Liang Note Added: 0041551
2015-05-26 14:49 msv Target Version 7.0.0 => 7.1.0
2015-05-26 14:50 msv Note Added: 0041565
2015-05-26 14:50 msv Assigned To msv => Vico Liang
2015-05-26 14:50 msv Status new => feedback
2015-05-26 18:45 Vico Liang Note Added: 0041580
2015-05-26 18:46 Vico Liang Assigned To Vico Liang => msv
2015-05-26 18:46 Vico Liang Status feedback => assigned
2015-05-27 12:10 msv Steps to Reproduce Updated
2015-05-27 12:11 msv Assigned To msv => isn
2015-05-27 12:15 msv Note Added: 0041598
2015-08-26 17:08 git Note Added: 0044679
2015-09-10 11:31 git Note Added: 0045385
2015-09-10 12:52 msv Note Added: 0045400
2015-09-10 12:53 msv Note Added: 0045401
2015-09-10 12:53 msv Assigned To isn => Vico Liang
2015-09-10 12:53 msv Status assigned => feedback
2015-09-16 18:45 Vico Liang Note Added: 0045733
2015-09-16 18:46 Vico Liang Assigned To Vico Liang => bugmaster
2015-09-16 18:46 Vico Liang Status feedback => reviewed
2015-09-16 18:55 msv Note Added: 0045734
2015-09-17 10:21 bugmaster Status reviewed => closed
2015-09-17 10:21 bugmaster Resolution open => duplicate
2015-09-29 08:59 abv Target Version 7.1.0 => 6.9.1
2015-10-23 20:51 aiv Fixed in Version => 6.9.1