Archived issue #0031217
Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and section
Description
The 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
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
Steps to reproduce
Not possible
Public activity
13 archived notes
Participants are labeled by their role within this record.
Please, could you reproduce a use case in which an exception arise and attach it here
Branch [archived branch] has been created by Commenter 1.
[revision removed]
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
[revision removed]
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
Sorry, but I do not work on this project anymore and I have no possibility to reproduce it.
Could you please change the assignment from me, so I will stop receiving e-mails?
Could you please change the assignment from me, so I will stop receiving e-mails?
Branch [archived branch] has been updated by Commenter 1.
[revision removed]
Detailed log of new commits:
Author: [email removed]
Date: Mon Apr 13 12:36:47 2020 +0300
0031217: Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and SectionAxis
Now code protected from crashes when IsParallel
[revision removed]
Detailed log of new commits:
Author: [email removed]
Date: Mon Apr 13 12:36:47 2020 +0300
0031217: Modeling Algorithms - Exception is raised in GeomFill_SectionPlacement when parallel path and SectionAxis
Now code protected from crashes when IsParallel
We can not reproduce this bug, but now code protected from crashes when IsParallel
Please rebase the fix on current master.
I think the changes in QABugs are redundant. Remove them.
Run tests on Jenkins.
After tests are OK change to resolved again.
I think the changes in QABugs are redundant. Remove them.
Run tests on Jenkins.
After tests are OK change to resolved again.
Branch [archived branch] has been updated by Commenter 1.
[revision removed]
Detailed log of new commits:
Author: [email removed]
Date: Thu Apr 16 12:21:22 2020 +0300
Remove redundant changes on QABugs
[revision removed]
Detailed log of new commits:
Author: [email removed]
Date: Thu Apr 16 12:21:22 2020 +0300
Remove redundant changes on QABugs
Branch [archived branch] has been updated by Commenter 1.
[revision removed]
Detailed log of new commits:
Author: Commenter 1
Date: Thu Apr 16 14:43:42 2020 +0300
add deleted incude-file
[revision removed]
Detailed log of new commits:
Author: Commenter 1
Date: Thu Apr 16 14:43:42 2020 +0300
add deleted incude-file
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Please, review branch:
OCCT - CR31217
Results of testing:
http://jenkins-test-10.nnov.opencascade.com/view/CR31217-master-Commenter 1/view/COMPARE/
OCCT - CR31217
Results of testing:
http://jenkins-test-10.nnov.opencascade.com/view/CR31217-master-Commenter 1/view/COMPARE/
Dear bugmaster,
please integrate:
OCCT: CR31217
PROD: NO
please integrate:
OCCT: CR31217
PROD: NO
Combination -
OCCT branch : [archived branch] - IR-2023-08-04
Products branch : [archived branch] - master
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Ubuntu2004-64:
OCCT
Total CPU difference: 18344.600000000195 / 18390.260000000217 [-0.25%]
Products
Total CPU difference: 12102.810000000003 / 12161.439999999999 [-0.48%]
Windows-64-VC142:
OCCT
Total CPU difference: 20332.1875 / 20298.859375 [+0.16%]
Products
Total CPU difference: 14548.515625 / 14604.578125 [-0.38%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch] - IR-2023-08-04
Products branch : [archived branch] - master
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Ubuntu2004-64:
OCCT
Total CPU difference: 18344.600000000195 / 18390.260000000217 [-0.25%]
Products
Total CPU difference: 12102.810000000003 / 12161.439999999999 [-0.48%]
Windows-64-VC142:
OCCT
Total CPU difference: 20332.1875 / 20298.859375 [+0.16%]
Products
Total CPU difference: 14548.515625 / 14604.578125 [-0.38%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records