View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032347 | Community | OCCT:Modeling Algorithms | public | 2021-05-06 14:32 | 2021-05-14 22:46 |
| Reporter | Claudio Benghi | Assigned To | |||
| Priority | normal | Severity | block | ||
| Status | new | Resolution | open | ||
| Product Version | 7.5.1 | ||||
| Summary | 0032347: infinite loop in BRepTools_WireExplorer.cxx | ||||
| Description | Under some circumstances BRepTools_WireExplorer::GetNextParamOnPC is locked in a loop when increment is not large enough to effect startPar. This issue has been spotted in the open source project xbim at https://github.com/xBimTeam/XbimGeometry/issues/282 | ||||
| Steps To Reproduce | When startPar is large (e.g. -14435601.399496567), and dP small (e.g. 5.5879354476928712e-12) then there is no iteration and we are stuck in an infinite loop. We have fixed the code locally ensuring dP has a minimum bound with the following lines: Standard_Real resolution = Abs(fP / Pow(2, 52)); dP = Max(dP, resolution); | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-05-06 14:32 | Claudio Benghi | New Issue | |
| 2021-05-06 14:32 | Claudio Benghi | Assigned To | => msv |