MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031217Community[OCCT] OCCT:Modeling Algorithmspublic2019-12-04 16:012020-02-07 13:34
Reporterdenix56 
Assigned Todenix56 
PrioritynormalSeveritycrash 
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target VersionFixed in Version 
Summary0031217: Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and section
DescriptionThe following code from GeomFill_SectionPlacement raises exception due to inconsistency with 7.4.0 changes. In 7.4.0 Extrema_ExtCC has IsParallel method that we need to check, otherwise exception when accessing points will be raised.
 
 Extrema_ExtCC Ext(Path->Curve(), myAdpSection,
                Path->FirstParameter(), Path->LastParameter(),
                myAdpSection.FirstParameter(),
                myAdpSection.LastParameter(),
                Path->Resolution(Tol/100),
                myAdpSection.Resolution(Tol/100));
      if (Ext.IsDone()) {
        Extrema_POnCurv P1, P2;
        for (ii=1; ii<=Ext.NbExt(); ii++) {
          distaux = sqrt (Ext.SquareDistance(ii));
          Ext.Points(ii, P1, P2); // HERE THE EXCEPTION
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0031249newmsv Modeling Algorithms - Invalid memory access with parallel lines and GeomAPI_ExtremaCurveCurve 

-  Notes
(0090302)
akaftasev (developer)
2020-02-05 15:42

Please, could you reproduce a use case in which an exception arise and attach it here
(0090392)
git (administrator)
2020-02-07 13:34

Branch CR31217 has been created by akaftasev.

SHA-1: 17561f1b3eac0ff7b48fe1403531259eb39489f9


Detailed log of new commits:

Author: KafAndrey
Date: Fri Feb 7 13:34:03 2020 +0300

    edit code

Author: KafAndrey
Date: Wed Feb 5 13:45:40 2020 +0300

    0031217: start testing bug

- Issue History
Date Modified Username Field Change
2019-12-04 16:01 denix56 New Issue
2019-12-04 16:01 denix56 Assigned To => msv
2019-12-17 13:35 kgv Product Version => 7.4.0
2019-12-17 13:35 kgv Summary Exception is raised in GeomFill_SectionPlacement when parallel path and section => Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and section
2019-12-17 13:44 kgv Relationship added related to 0031249
2020-01-29 16:12 msv Assigned To msv => akaftasev
2020-01-29 16:12 msv Status new => assigned
2020-02-05 15:42 akaftasev Note Added: 0090302
2020-02-05 15:46 msv Assigned To akaftasev => denix56
2020-02-05 15:46 msv Status assigned => feedback
2020-02-07 13:34 git Note Added: 0090392


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker