DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024997

Modeling Algorithms - SIGSEGV in BRepOffsetAPI_ThruSections

CommunityOCCT:Modeling Algorithmsnew4 public notes

Search issues

Description

SIGSEGV in BRepOffsetAPI_ThruSections with to profiles with different number of edges

Steps to reproduce

see attached DRAWEXE script

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Author
#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
02Author
the severity should be 'crash' instead of 'minor'
03Commenter 3
Problem described in issue is reproduced on current state of OCCT.
04Commenter 1
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

Related records