View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032586 | Community | OCCT:Modeling Algorithms | public | 2021-09-24 13:42 | 2021-09-24 13:42 |
| Reporter | Jerome Caucat | Assigned To | |||
| Priority | normal | Severity | crash | ||
| Status | new | Resolution | open | ||
| Platform | Linux | OS | Ubuntu 20.04 | ||
| Product Version | 7.5.3 | ||||
| Summary | 0032586: BRepOffsetAPI_MakePipeShell::Build() crash in BRepTopAdaptor_FClass2d (Segmentation fault) | ||||
| Description | Testing the provided sample with OCCT 753, I get a Segmentation fault while building the BRepOffsetAPI_MakePipeShell in C++ and in DRAW. The crash happens in: BRepTopAdaptor_FClass2d::BRepTopAdaptor_FClass2d(TopoDS_Face const&, double) () Here is what I found in src/BRepTopAdaptor/BRepTopAdaptor_FClass2d.cxx:387: nbpnts = SeqPnt2d.Length(); PClass.Resize(1, nbpnts, Standard_False); im1 = nbpnts - 1; im0 = 1; PClass(im1) = SeqPnt2d.Value(im1); // <----------------------HERE PClass(nbpnts) = SeqPnt2d.Value(nbpnts); It crashes because in my case nbpnts = 0. Note that in debug or with the cmake option -DBUILD_RELEASE_DISABLE_EXCEPTIONS=OFF an exception is raised instead of the crash. | ||||
| Steps To Reproduce | draw.sh < test_DT.tcl | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-09-24 13:42 | Jerome Caucat | New Issue | |
| 2021-09-24 13:42 | Jerome Caucat | Assigned To | => msv |
| 2021-09-24 13:42 | Jerome Caucat | File Added: sample_crash_BRepTopAdaptor_FClass2d.zip |