View Issue Details

IDProjectCategoryView StatusLast Update
0030584Open CASCADEOCCT:Modeling Algorithmspublic2020-12-06 18:05
Reporterkgv Assigned Toapn  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version7.3.0 
Target Version7.4.0Fixed in Version7.4.0 
Summary0030584: Modeling Algorithms, BRepFill_OffsetWire - access violation on Face having no boundaries
DescriptionBRepFill_OffsetWire lacks checks on input Face having no boundaries leading to Access violation on working with uninitialized properties.
Steps To Reproduceoffset wire_closed_inside_0_005 H6
TagsNo tags attached.
Test case numberoffset wire_closed_inside_0_005 H6

Relationships

related to 0030585 closedbugmaster Open CASCADE Modeling Algorithms - BRepFill_OffsetWire uses global instance of BRepMAT2d_Explorer 
related to 0031977 closedbugmaster Community Modeling Algorithms - useless static variable in BRepFill_OffsetWire::Init() preventing its parallel usage 

Activities

git

2019-03-16 13:49

administrator   ~0083015

Branch CR30584 has been created by kgv.

SHA-1: e4706c96a8a837f16415973970c7e6db85d1e315


Detailed log of new commits:

Author: kgv
Date: Sat Mar 16 13:22:47 2019 +0300

    0030584: Modeling Algorithms, BRepFill_OffsetWire - access violation on Face having no boundaries
    
    Added missing NULL and empty result checks.
    Updated test cases using offset_wire_092.brep shape containing all Edges
    with TopAbs_INTERNAL orientation (hense no boundary to make offset).

kgv

2019-03-16 15:55

developer   ~0083018

Patch is ready for review.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30584-master-KGV

msv

2019-03-18 12:14

developer   ~0083039

Reviewed.

apn

2019-03-18 15:36

administrator   ~0083048

Combination -
OCCT branch : CR30584
master SHA - e4706c96a8a837f16415973970c7e6db85d1e315
d67d4b811012eef8913d3c535c29654d0acf3c4c
Products branch : master SHA - 19cf12d4f918562ea1456aa224c6f7a64b9c4ad7
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: 16619.430000000022 / 16599.24999999996 [+0.12%]
Products
Total CPU difference: 9089.650000000058 / 9092.71000000004 [-0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 18008.09375 / 17985.28125 [+0.13%]
Products
Total CPU difference: 10477.625 / 10460.953125 [+0.16%]

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

git

2019-04-08 12:18

administrator   ~0083503

Branch CR30584 has been deleted by inv.

SHA-1: e4706c96a8a837f16415973970c7e6db85d1e315

Related Changesets

occt: master 6b121e2b

2019-03-16 10:22:47

kgv


Committer: apn Details Diff
0030584: Modeling Algorithms, BRepFill_OffsetWire - access violation on Face having no boundaries

Added missing NULL and empty result checks.
Updated test cases using offset_wire_092.brep shape containing all Edges
with TopAbs_INTERNAL orientation (hense no boundary to make offset).
Affected Issues
0030584
mod - src/BRepFill/BRepFill_OffsetWire.cxx Diff File
mod - src/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx Diff File
mod - src/BRepMAT2d/BRepMAT2d_Explorer.cxx Diff File
mod - tests/offset/wire_closed_inside_0_005/H6 Diff File
mod - tests/offset/wire_closed_inside_0_025/H6 Diff File
mod - tests/offset/wire_closed_inside_0_075/H6 Diff File
mod - tests/offset/wire_closed_outside_0_005/H6 Diff File
mod - tests/offset/wire_closed_outside_0_025/H6 Diff File
mod - tests/offset/wire_closed_outside_0_075/H6 Diff File

Issue History

Date Modified Username Field Change
2019-03-16 13:25 kgv New Issue
2019-03-16 13:25 kgv Assigned To => msv
2019-03-16 13:27 kgv Summary Modeling Algorithms, BRepOffsetAPI_MakeOffset - access violation on Face having no boundaries => Modeling Algorithms, BRepFill_OffsetWire - access violation on Face having no boundaries
2019-03-16 13:27 kgv Description Updated
2019-03-16 13:49 git Note Added: 0083015
2019-03-16 13:54 kgv Relationship added related to 0030585
2019-03-16 15:55 kgv Note Added: 0083018
2019-03-16 15:55 kgv Status new => resolved
2019-03-18 12:14 msv Note Added: 0083039
2019-03-18 12:14 msv Assigned To msv => bugmaster
2019-03-18 12:14 msv Status resolved => reviewed
2019-03-18 15:36 apn Test case number => offset wire_closed_inside_0_005 H6
2019-03-18 15:36 apn Note Added: 0083048
2019-03-18 15:36 apn Status reviewed => tested
2019-03-24 18:54 apn Changeset attached => occt master 6b121e2b
2019-03-24 18:54 apn Assigned To bugmaster => apn
2019-03-24 18:54 apn Status tested => verified
2019-03-24 18:54 apn Resolution open => fixed
2019-04-08 12:18 git Note Added: 0083503
2020-12-06 18:05 kgv Relationship added related to 0031977