Archived issue #0032087
Data Exchange, STEPCAFControl_Reader - NULL representation of shape for DGT
Description
Reading STEP file that contains "BOOLEAN_REPRESENTATION_ITEM" throw the exception in the STEPCAFControl_Reader::FindShapeIndexForDGT::2247.
It crashes a reading process and interrupts the translation of the geometry.
It crashes a reading process and interrupts the translation of the geometry.
Steps to reproduce
test bugs step bug32087
Public activity
6 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jan 27 15:12:46 2021 +0300
0032087: Data Exchange, STEPCAFControl_Reader - NULL representation of shape for DGT
- Fixed problem with find a Path for the DimensionType_Location_WithPath
- Added check for the null object within FindShapeIndexForDGT
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jan 27 15:12:46 2021 +0300
0032087: Data Exchange, STEPCAFControl_Reader - NULL representation of shape for DGT
- Fixed problem with find a Path for the DimensionType_Location_WithPath
- Added check for the null object within FindShapeIndexForDGT
Dear gka,
Please review CR32087.
Problem DGT entity : "DIMENSIONAL_LOCATION_WITH_PATH"
The current version of OCCT and previous ones cannot transfer it correctly
I fixed the unexpected NULL object problem (added a check) and tried to improve the transmission of this DGT attribute (replaced incorrect condition)
No regression, see:
http://occt-tests/CR32087-master-Author-OCCT/Debian80-64/diff_summary.html
http://occt-tests/CR32087-master-Author-OCCT/Windows-64-VC14/diff_summary.html
http://occt-tests/CR32087-master-Author-Products/Debian80-64/diff_summary.html
http://occt-tests/CR32087-master-Author-Products/Windows-64-VC14/diff_summary.html
restart:
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR32087-master-Author/view/TESTING/job/CR32087-master-Author-OCCT-Debian80-64-opt-test-restart/HTML_20Report
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR32087-master-Author/view/TESTING/job/CR32087-master-Author-OCCT-Windows-64-VC14-opt-test-restart/HTML_20Report
Please review CR32087.
Problem DGT entity : "DIMENSIONAL_LOCATION_WITH_PATH"
The current version of OCCT and previous ones cannot transfer it correctly
I fixed the unexpected NULL object problem (added a check) and tried to improve the transmission of this DGT attribute (replaced incorrect condition)
No regression, see:
http://occt-tests/CR32087-master-Author-OCCT/Debian80-64/diff_summary.html
http://occt-tests/CR32087-master-Author-OCCT/Windows-64-VC14/diff_summary.html
http://occt-tests/CR32087-master-Author-Products/Debian80-64/diff_summary.html
http://occt-tests/CR32087-master-Author-Products/Windows-64-VC14/diff_summary.html
restart:
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR32087-master-Author/view/TESTING/job/CR32087-master-Author-OCCT-Debian80-64-opt-test-restart/HTML_20Report
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR32087-master-Author/view/TESTING/job/CR32087-master-Author-OCCT-Windows-64-VC14-opt-test-restart/HTML_20Report
Analysis & Debugging
Branch CR32087 was reviewed
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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:
Debian80-64:
OCCT
Total CPU difference: 17876.110000000237 / 17806.660000000233 [+0.39%]
Products
Total CPU difference: 11541.23000000011 / 11513.250000000124 [+0.24%]
Windows-64-VC14:
OCCT
Total CPU difference: 19352.0 / 19376.859375 [-0.13%]
Products
Total CPU difference: 12836.421875 / 12857.265625 [-0.16%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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:
Debian80-64:
OCCT
Total CPU difference: 17876.110000000237 / 17806.660000000233 [+0.39%]
Products
Total CPU difference: 11541.23000000011 / 11513.250000000124 [+0.24%]
Windows-64-VC14:
OCCT
Total CPU difference: 19352.0 / 19376.859375 [-0.13%]
Products
Total CPU difference: 12836.421875 / 12857.265625 [-0.16%]
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