View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030396 | Community | OCCT:Shape Healing | public | 2018-12-05 19:40 | 2018-12-24 11:02 |
Reporter | aothms | Assigned To | |||
Priority | normal | Severity | crash | ||
Status | assigned | Resolution | open | ||
Platform | VC++ 2017 64bit | OS | Windows | ||
Summary | 0030396: Infinite recursion during ShapeFix after BRepAlgoAPI_Cut | ||||
Description | Attached is zip file with a cpp file and 7 shape serializations. The cpp file loads a couple arguments for a boolean operation. A subsequent call to ShapeFix_Shape results in an infinite recursion. The odd thing is that if the order in which the shapes are added to the list is changed (this order is also included in a code comment) the boolean op and shapefix call succeed and a visually correct result is obtained. | ||||
Steps To Reproduce | restore [locate_data_file bug30396.brep] a explode a bfuzzyvalue 1e-2 bnondestructive 1 bclearobjects bcleartools baddobjects a_1 baddtools a_2 a_3 a_4 a_5 a_6 a_7 bfillds bbop r 2 checknbshapes r -solid 1 -shell 1 checkshape r # checkshape reports errors in version 7.3.0, # and it is OK with current master fixshape r1 r # fixshape hangs on a couple of seconds and crashes the application, # if result is get from the version 7.3.0 | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_7 bug30396_1, bug30396_2 | ||||
|
ifcopenshell_511.zip (6,704 bytes) |
|
Branch CR30396 has been created by msv. SHA-1: 1b25c97fbc79b97d526440cc2ebd07375819b003 Detailed log of new commits: Author: msv Date: Thu Dec 20 17:10:00 2018 +0300 Test for 0030396: Infinite recursion during ShapeFix after BRepAlgoAPI_Cut Two test cases are added. One for Boolean operation (it is good, because BO has been fixed already), and another for fixshape operation (it causes Draw crash). |
|
The bug with BO is not reproduced in the master version. However, the shape produced by the version 7.3 still crashes application during fixshape operation. |
|
New test scripts have been created and pushed to the branch CR30396. Dear Eugeny, please review the branch. Results of new test scripts are here: http://jenkins-test-12.nnov.opencascade.com/view/CR30396-master-msv/view/TESTING/job/CR30396-master-msv-OCCT-Debian80-64-opt-test-restart/HTML_20Report/ http://jenkins-test-12.nnov.opencascade.com/view/CR30396-master-msv/view/TESTING/job/CR30396-master-msv-OCCT-Windows-64-VC14-opt-test-restart/HTML_20Report/ Please do not close the bug after integration of the tests. |
|
tests/bugs/modalg_7/bug30396_1: - Please add checks for the area and volume properties of the result shapes. - When operations complete, reset the options (fuzzy and safe mode) to default state. - It will also be good to check other types of boolean operations in the same script. |
|
Branch CR30396 has been updated by msv. SHA-1: a6e65fe79f4a042a079193eb74ee228edf7aa830 Detailed log of new commits: Author: msv Date: Fri Dec 21 15:41:55 2018 +0300 #correction following remarks |
|
Remarks have been considered. |
|
Please integrate and then assign again to me. |
occt: master 4473e336 2018-12-20 14:10:00
Committer: apn Details Diff |
0030396: Infinite recursion during ShapeFix after BRepAlgoAPI_Cut Two test cases are added. One for Boolean operation (it is good, because BO has been fixed already), and another for fixshape operation (it causes Draw crash). |
Affected Issues 0030396 |
|
add - tests/bugs/modalg_7/bug30396_1 | Diff File | ||
add - tests/bugs/modalg_7/bug30396_2 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-12-05 19:40 | aothms | New Issue | |
2018-12-05 19:40 | aothms | Assigned To | => msv |
2018-12-05 19:40 | aothms | File Added: ifcopenshell_511.zip | |
2018-12-20 17:19 | git | Note Added: 0081578 | |
2018-12-20 17:22 |
|
Status | new => assigned |
2018-12-20 17:24 |
|
Note Added: 0081579 | |
2018-12-20 17:56 |
|
Note Added: 0081581 | |
2018-12-20 17:56 |
|
Assigned To | msv => emv |
2018-12-20 17:56 |
|
Status | assigned => feedback |
2018-12-21 11:54 |
|
Note Added: 0081583 | |
2018-12-21 11:54 |
|
Assigned To | emv => msv |
2018-12-21 11:54 |
|
Status | feedback => assigned |
2018-12-21 15:44 | git | Note Added: 0081592 | |
2018-12-21 16:47 |
|
Note Added: 0081593 | |
2018-12-21 16:47 |
|
Status | assigned => resolved |
2018-12-21 16:47 |
|
Steps to Reproduce Updated | |
2018-12-21 16:48 |
|
Note Added: 0081594 | |
2018-12-21 16:48 |
|
Assigned To | msv => bugmaster |
2018-12-21 16:48 |
|
Status | resolved => reviewed |
2018-12-21 16:51 | apn | Test case number | => bugs modalg_7 bug30396_1, bug30396_2 |
2018-12-21 16:51 | apn | Status | reviewed => tested |
2018-12-22 14:32 | apn | Changeset attached | => occt master 4473e336 |
2018-12-22 14:32 | apn | Assigned To | bugmaster => apn |
2018-12-22 14:32 | apn | Status | tested => verified |
2018-12-22 14:32 | apn | Resolution | open => fixed |
2018-12-22 14:35 | apn | Assigned To | apn => msv |
2018-12-22 14:35 | apn | Status | verified => closed |
2018-12-22 14:35 | apn | Resolution | fixed => open |
2018-12-22 14:35 | apn | Status | closed => assigned |
2018-12-24 11:01 |
|
Steps to Reproduce Updated | |
2018-12-24 11:02 |
|
Assigned To | msv => gka |
2018-12-24 11:02 |
|
Category | OCCT:Modeling Algorithms => OCCT:Shape Healing |