Anonymous | Login | 2021-01-19 14:47 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0031249 | Community | [OCCT] OCCT:Modeling Algorithms | public | 2019-12-17 02:17 | 2019-12-17 13:44 | ||||||||
Reporter | Aaron Michalk | ||||||||||||
Assigned To | msv | ||||||||||||
Priority | normal | Severity | crash | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | Windows VC++ 2019 64 bit | OS | Windows | OS Version | 10 | ||||||||
Product Version | [OCCT] 7.4.0 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0031249: Modeling Algorithms - Invalid memory access with parallel lines and GeomAPI_ExtremaCurveCurve | ||||||||||||
Description | Executing the code below results in an access violation on Windows with 7.4.0. This does not seem to occur with 7.3.0. | ||||||||||||
Steps To Reproduce | auto line1 = opencascade::handle<Geom_Line>(new Geom_Line(gp_Pnt(0, 0, 0), gp_Dir(0, 0, 1))); auto line2 = opencascade::handle<Geom_Line>(new Geom_Line(gp_Pnt(0, 0, 0), gp_Dir(0, 0, 1))); GeomAPI_ExtremaCurveCurve extrema(line1, line2); double u1, u2; extrema.LowerDistanceParameters(u1, u2); | ||||||||||||
Additional information and documentation updates | Checking extrema.Extrema().IsParallel() is a workaround. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | |||||||||||||
![]() |
||||||
|
![]() |
|
(0089593) msv (developer) 2019-12-17 11:18 |
It is needed to add the method IsParallel to the classes GeomAPI_Extrema*. And to document properly the methods that must not be called in case of parallel status. |
![]() |
|||
Date Modified | Username | Field | Change |
2019-12-17 02:17 | Aaron Michalk | New Issue | |
2019-12-17 02:17 | Aaron Michalk | Assigned To | => msv |
2019-12-17 11:18 | msv | Note Added: 0089593 | |
2019-12-17 11:55 | kgv | Product Version | => 7.4.0 |
2019-12-17 11:55 | kgv | Summary | Invalid memory access with parallel lines and GeomAPI_ExtremaCurveCurve => Modeling Algorithms - Invalid memory access with parallel lines and GeomAPI_ExtremaCurveCurve |
2019-12-17 13:44 | kgv | Relationship added | related to 0031217 |
Copyright © 2000 - 2021 MantisBT Team |