View Issue Details

IDProjectCategoryView StatusLast Update
0030428Open CASCADEOCCT:Modeling Algorithmspublic2019-01-12 14:42
Reporterkgv Assigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
Product Version7.3.0 
Target Version7.4.0Fixed in Version7.4.0 
Summary0030428: Modeling Algorithms - BRepBndLib::AddOBB() throws exception on empty Compound
DescriptionCalling BRepBndLib::AddOBB() on empty Compound leads to unhandled exception due to intermediate Bnd_Box result is not checked for IsVoid().
Steps To Reproduce
pload MODELING
compound c
bounding c
# OK
bounding -obb c
# ** Exception ** 00000155170C33F0 : Standard_ConstructionError: Bnd_Box is void
TagsNo tags attached.
Test case numberNot needed

Activities

git

2018-12-29 15:45

administrator   ~0081653

Branch CR30428 has been created by kgv.

SHA-1: 20f20f99f996aa80430e9f47fafba5d2a2492c11


Detailed log of new commits:

Author: kgv
Date: Sat Dec 29 15:41:54 2018 +0300

    0030428: Modeling Algorithms - BRepBndLib::AddOBB() throws exception on empty Compound
    
    Added missing Bnd_Box::IsVoid() check.

kgv

2018-12-29 15:45

developer   ~0081654

Trivial patch is ready for review.

git

2018-12-30 14:58

administrator   ~0081657

Branch CR30428 has been deleted by inv.

SHA-1: 20f20f99f996aa80430e9f47fafba5d2a2492c11

msv

2019-01-09 10:05

developer   ~0081686

I have reviewed the branch. It was OK.
Why it was removed?

git

2019-01-09 10:27

administrator   ~0081687

Branch CR30428 has been created by kgv.

SHA-1: 20f20f99f996aa80430e9f47fafba5d2a2492c11


Detailed log of new commits:

Author: kgv
Date: Sat Dec 29 15:41:54 2018 +0300

    0030428: Modeling Algorithms - BRepBndLib::AddOBB() throws exception on empty Compound
    
    Added missing Bnd_Box::IsVoid() check.

bugmaster

2019-01-11 10:32

administrator   ~0081745

Last edited: 2019-01-11 10:33

Fix has been tested in framework of WEEK-2:

Combination -
OCCT branch : WEEK-2 SHA - e86ab0bbd895a6609d2b948088ffe4f46e3a5f64
Products branch : WEEK-2 SHA - 0b9df64a156abd5cbfbfccb15967b46cdabfe1f8
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: 16371.970000000036 / 16388.860000000008 [-0.10%]
Products
Total CPU difference: 7159.450000000021 / 7172.62000000003 [-0.18%]
Windows-64-VC14:
OCCT
Total CPU difference: 17753.953125 / 17753.9375 [+0.00%]
Products
Total CPU difference: 8592.859375 / 8592.53125 [+0.00%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

git

2019-01-12 14:42

administrator   ~0081768

Branch CR30428 has been deleted by inv.

SHA-1: 20f20f99f996aa80430e9f47fafba5d2a2492c11

Related Changesets

occt: master 0939d4cf

2018-12-29 12:41:54

kgv


Committer: bugmaster Details Diff
0030428: Modeling Algorithms - BRepBndLib::AddOBB() throws exception on empty Compound

Added missing Bnd_Box::IsVoid() check.
Affected Issues
0030428
mod - src/BRepBndLib/BRepBndLib_1.cxx Diff File

Issue History

Date Modified Username Field Change
2018-12-29 15:03 kgv New Issue
2018-12-29 15:03 kgv Assigned To => msv
2018-12-29 15:45 git Note Added: 0081653
2018-12-29 15:45 kgv Note Added: 0081654
2018-12-29 15:45 kgv Severity minor => trivial
2018-12-29 15:45 kgv Status new => resolved
2018-12-30 14:58 git Note Added: 0081657
2019-01-09 10:05 msv Note Added: 0081686
2019-01-09 10:05 msv Assigned To msv => bugmaster
2019-01-09 10:05 msv Status resolved => feedback
2019-01-09 10:27 git Note Added: 0081687
2019-01-09 17:43 bugmaster Status feedback => reviewed
2019-01-10 17:58 bugmaster Test case number => Not needed
2019-01-11 10:32 bugmaster Note Added: 0081745
2019-01-11 10:32 bugmaster Status reviewed => tested
2019-01-11 10:33 bugmaster Note Edited: 0081745
2019-01-12 14:34 bugmaster Changeset attached => occt master 0939d4cf
2019-01-12 14:34 bugmaster Status tested => verified
2019-01-12 14:34 bugmaster Resolution open => fixed
2019-01-12 14:42 git Note Added: 0081768