MantisBT - Open CASCADE
View Issue Details
0029926Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2018-07-04 09:172019-08-12 18:01
kgv 
ifv 
normalminor 
assignedopen 
[OCCT] 6.3.1 
[OCCT] 7.5.0* 
0029926: Modeling Algorithms - NULL dereference within GProp_GProps on Edge without 2D Curve
GProp_GProps crashes when passing an Edge without 2D Curve (NULL dereference).
pload MODELING VISUALIZATION
restore [locate_data bug29926.brep] f
vinit View1
vdisplay -dispMode 1 f
vfit
sprops f
vprops f


Result:
** Exception ** 0000000005334190 : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x0000000000000000 
during 'READ' operation
No tags attached.
parent of 0029939closed bugmaster Open CASCADE Modeling Algorithms - add NULL check to BRepGProp_Face::Load() 
? bug29926.brep (172,216) 2018-07-04 09:19
https://tracker.dev.opencascade.org/
Issue History
2018-07-04 09:17kgvNew Issue
2018-07-04 09:17kgvAssigned To => msv
2018-07-04 09:18kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19410#r19410
2018-07-04 09:18kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19411#r19411
2018-07-04 09:19kgvFile Added: bug29926.brep
2018-07-04 09:20kgvRelationship addedrelated to 0029457
2018-07-04 09:22kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19412#r19412
2018-07-04 09:33kgvProduct Version7.3.0 => 6.3.1
2018-07-04 12:13gitNote Added: 0077257
2018-07-04 12:15kgvNote Added: 0077258
2018-07-04 12:15kgvNote Edited: 0077258bug_revision_view_page.php?bugnote_id=77258#r19414
2018-07-04 12:47msvAssigned Tomsv => ifv
2018-07-04 12:47msvStatusnew => assigned
2018-07-04 17:54gitNote Added: 0077272
2018-07-09 10:12kgvRelationship addedparent of 0029939
2019-08-12 18:01msvTarget Version7.4.0 => 7.5.0*

Notes
(0077257)
git   
2018-07-04 12:13   
Branch CR29926 has been created by kgv.

SHA-1: 451be43367813fa0e9e6945ef437d183f0cc10b5


Detailed log of new commits:

Author: kgv
Date: Wed Jul 4 12:09:50 2018 +0300

    0029926: Modeling Algorithms - NULL dereference within GProp_GProps on Edge without 2D Curve
    
    Added NULL check to BRepGProp_Face::Load().
(0077258)
kgv   
2018-07-04 12:15   
Patch CR29926 just adds NULL check.

As has been discussed, it is proposed adding an interface to high-level tools computing shape properties,
which will return the completeness of computed values (e.g. enumeration - Complete, Failed and Partial).

(0077272)
git   
2018-07-04 17:54   
Branch CR29926 has been updated forcibly by kgv.

SHA-1: b1ca535ea743b5f3ec4d08942ba2d1529d04bcb7