View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0033417 | Community | OCCT:Modeling Algorithms | public | 2023-06-27 18:29 | 2023-06-27 18:46 |
| Reporter | ahoarau | Assigned To | dpasukhi | ||
| Priority | normal | Severity | crash | ||
| Status | new | Resolution | open | ||
| Platform | Windows | OS | VC++ 2022 | ||
| Product Version | 7.7.1 | ||||
| Target Version | Unscheduled | ||||
| Summary | 0033417: Modeling Algorithms - Crash on BRepLib_ToolTriangulatedShape::ComputeNormals when deleting Poly_Connect | ||||
| Description | Using release binaries of occt-7.7.1, using BRepLib_ToolTriangulatedShape::ComputeNormals leads to a heap failure. is_block_type_valid(header->_block_use). Precisely at NCollection_Array1.hxx:431: //! Destructor - releases the memory ~NCollection_Array1 (void) { if (myDeletable) delete [] &(myData[myLowerBound]); } | ||||
| Steps To Reproduce | On a particular CAD (not all), mesh with Watson, then for every face, BRepLib_ToolTriangulatedShape::ComputeNormals(face, triangulation); | ||||
| Additional information and documentation updates | Stacktrace: ucrtbased.dll!00007ffc018bcbec() (Unknown Source:0) ucrtbased.dll!00007ffc018c0335() (Unknown Source:0) v.exe!operator delete(void * block) Line 38 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\heap\delete_scalar.cpp:38) v.exe!operator delete[](void * block) Line 32 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\heap\delete_array.cpp:32) v.exe!NCollection_Array1<int>::~NCollection_Array1<int>() Line 431 (include\opencascade\NCollection_Array1.hxx:431) v.exe!Poly_Connect::~Poly_Connect() (Unknown Source:0) v.exe!BRepLib_ToolTriangulatedShape::ComputeNormals(const TopoDS_Face & theFace, const opencascade::handle<Poly_Triangulation> & theTris) Line 37 (include\opencascade\BRepLib_ToolTriangulatedShape.hxx:37) | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-06-27 18:29 | ahoarau | New Issue | |
| 2023-06-27 18:29 | ahoarau | Assigned To | => dpasukhi |
| 2023-06-27 18:31 | dpasukhi | Target Version | => Unscheduled |
| 2023-06-27 18:31 | dpasukhi | Summary | Crash on BRepLib_ToolTriangulatedShape::ComputeNormals when deleting Poly_Connect => Modeling Algorithms - Crash on BRepLib_ToolTriangulatedShape::ComputeNormals when deleting Poly_Connect |