MantisBT - Community
View Issue Details
0024997Community[OCCT] OCCT:Modeling Algorithmspublic2014-06-09 23:562020-09-15 16:42
shoogen 
ifv 
normalminor 
newopen 
Linux 64-bitDebian7.5
[OCCT] 6.7.1 
[OCCT] 7.6.0* 
bugs modalg_7 bug24997
0024997: Modeling Algorithms - SIGSEGV in BRepOffsetAPI_ThruSections
SIGSEGV in BRepOffsetAPI_ThruSections with to profiles with different number of edges
see attached DRAWEXE script
No tags attached.
related to 0022021assigned jgv Exception during a loft building between two closed contours 
gz loft3.tar.gz (6,405) 2014-06-09 23:56
https://tracker.dev.opencascade.org/
Issue History
2014-06-09 23:56shoogenNew Issue
2014-06-09 23:56shoogenAssigned To => ifv
2014-06-09 23:56shoogenFile Added: loft3.tar.gz
2014-06-10 00:29shoogenNote Added: 0029756
2014-06-10 14:15shoogenNote Added: 0029757
2014-06-10 14:19abvSeverityminor => crash
2014-09-12 12:36abvTarget Version => 7.1.0
2016-07-06 19:29msvRelationship addedrelated to 0022021
2016-10-28 11:53msvTarget Version7.1.0 => 7.2.0
2017-07-21 11:34msvTarget Version7.2.0 => 7.3.0
2017-08-01 16:27apvTest case number => bugs modalg_7 bug24997
2017-08-01 16:27apvNote Added: 0069032
2017-12-05 17:01msvTarget Version7.3.0 => 7.4.0
2019-08-12 16:37msvTarget Version7.4.0 => 7.5.0
2020-07-05 00:41kgvNote Added: 0092992
2020-07-05 00:41kgvSeveritycrash => minor
2020-09-15 16:27msvTarget Version7.5.0 => 7.6.0*
2020-09-15 16:42kgvSummarySIGSEGV in BRepOffsetAPI_ThruSections => Modeling Algorithms - SIGSEGV in BRepOffsetAPI_ThruSections

Notes
(0029756)
shoogen   
2014-06-10 00:29   
#0 0x00007fff8cb7475a in TopoDS_ListIteratorOfListOfShape::Initialize (this=
    0x7fffffff9988, L=...)
    at occt/adm/cmake/TKBRep/../../../inc/TCollection_ListIterator.gxx:48
0000001 0x00007fff8cb77470 in TopoDS_Iterator::Initialize (this=0x7fffffff9970,
    S=..., cumOri=1, cumLoc=1)
    at occt/src/TopoDS/TopoDS_Iterator.cxx:39
0000002 0x00007fff8c7d12a2 in BRepLib_MakeWire::Add (this=0x7fffffff9f40, E=...)
    at occt/src/BRepLib/BRepLib_MakeWire.cxx:167
#3 0x00007fff8d570967 in BRepFill_CompatibleWires::SameNumberByPolarMethod (
    this=0x7fffffffaa70, WithRotation=1)
    at occt/src/BRepFill/BRepFill_CompatibleWires.cxx:1145
#4 0x00007fff8d56ebb4 in BRepFill_CompatibleWires::Perform (this=
    0x7fffffffaa70, WithRotation=1)
    at occt/src/BRepFill/BRepFill_CompatibleWires.cxx:802
#5 0x00007fff8b46ff4e in BRepOffsetAPI_ThruSections::Build (this=
    0x7fffffffab60)
    at occt/src/BRepOffsetAPI/BRepOffsetAPI_ThruSections.cxx:386
(0029757)
shoogen   
2014-06-10 14:15   
the severity should be 'crash' instead of 'minor'
(0069032)
apv   
2017-08-01 16:27   
Problem described in issue is reproduced on current state of OCCT.
(0092992)
kgv   
2020-07-05 00:41   
In the current state, test case does not cause any SIGSEGV, but only construction error indicating that input profiles are inconsistent (probably because they have different number of Edges):
> Standard_ConstructionError: BRepFill :: profiles are inconsistent