View Issue Details

IDProjectCategoryView StatusLast Update
0031249CommunityOCCT:Modeling Algorithmspublic2019-12-17 13:44
ReporterAaron Michalk Assigned Tomsv 
PrioritynormalSeveritycrash 
Status newResolutionopen 
PlatformWindows VC++ 2019 64 bitOSWindows 
Product Version7.4.0 
Summary0031249: Modeling Algorithms - Invalid memory access with parallel lines and GeomAPI_ExtremaCurveCurve
DescriptionExecuting 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 Reproduceauto 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.
TagsNo tags attached.
Test case number

Relationships

related to 0031217 verifiedakaftasev Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and section 

Activities

msv

2019-12-17 11:18

developer   ~0089593

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.

Issue History

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