MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031249Community[OCCT] OCCT:Modeling Algorithmspublic2019-12-17 02:172019-12-17 13:44
ReporterAaron Michalk 
Assigned Tomsv 
PrioritynormalSeveritycrash 
StatusnewResolutionopen 
PlatformWindows VC++ 2019 64 bitOSWindowsOS Version10
Product Version[OCCT] 7.4.0 
Target VersionFixed in Version 
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
Attached Files

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

-  Notes
(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.

- 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


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker