Anonymous | Login | 2021-01-16 05:37 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0023343 | Community | [OCCT] OCCT:Modeling Algorithms | public | 2012-07-23 15:39 | 2017-07-27 18:21 | ||||||||
Reporter | Alexander Schneller | ||||||||||||
Assigned To | jgv | ||||||||||||
Priority | normal | Severity | crash | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | Windows | OS | VC++ 2010 | OS Version | 32 bit | ||||||||
Product Version | [OCCT] 6.5.2 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0023343: Crash (ACCESS VIOLATION) in GeomPlate_BuildPlateSurface / MakeApprox if init Surface is set | ||||||||||||
Description | If GeomPlate_BuildPlateSurface is used with an initial surface and a curve constraint, it is possible to get an ACCESS VIOLATION by an internal call of GeomPlate_MakeApprox. If the curve constraint can not be completely projected onto the surface. -------------------------------------------------------- GeomPlate_MakeApprox App(myGeomPlateSurface, myTol3d, 1, 3, 15*myTol3d, -1, GeomAbs_C0, 1.3); -------------------------------------------------------- Because the parameter "myGeomPlateSurface" is Null. This was found at Line 525-529 at file GeomPlate_BuildPlateSurface.cxx The Exaption will raised on Line 329 at file GeomPlate_MakeApprox.cxx, by getting the UV-bounds of the surface. -------------------------------------------------------- myPlate->RealBounds(U0, U1, V0, V1); -------------------------------------------------------- Perhaps the variable must be initialized as in line 1689 at file GeomPlate_BuildPlateSurface.cxx ? -------------------------------------------------------- myGeomPlateSurface = new GeomPlate_Surface( mySurfInit, myPlate ); -------------------------------------------------------- | ||||||||||||
Steps To Reproduce | The Crash can reproduced with Draw (gplate). 1) unzip "gplateCrash.zip" 2) start the script "source gplateCrash" or copy & paste: restore initFace.brep initFace restore edge_constraint.brep edge_constraint point p1 30 -33.4729635533385 49.7661550602442 point p2 30 -49.6961550602442 33.3929635533386 point p3 23.3333333333333 -50 30.07 point p4 -30 -33.4729635533386 49.6161550602442 gplate r1 1 4 initFace edge_constraint1 0 p1 p2 p3 p4 | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | bugs modalg_7 bug23343 | ||||||||||||
Attached Files | ![]() | ||||||||||||
![]() |
|
(0068515) git (administrator) 2017-07-20 18:58 |
Branch CR23343 has been created by mkv. SHA-1: 01da7955fba9e656e8c1c657e064b73e09c02ae6 Detailed log of new commits: Author: mkv Date: Thu Jul 20 18:58:33 2017 +0300 Test for 0023343: Crash (ACCESS VIOLATION) in GeomPlate_BuildPlateSurface / MakeApprox if init Surface is set |
(0068816) mkv (tester) 2017-07-27 18:21 |
Dear BugMaster, problem described in issue is reproduced on current state of OCCT. |
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-23 15:39 | Alexander Schneller | New Issue | |
2012-07-23 15:39 | Alexander Schneller | Assigned To | => jgv |
2012-07-23 15:39 | Alexander Schneller | File Added: gplateCrash.zip | |
2017-07-20 18:58 | git | Note Added: 0068515 | |
2017-07-20 19:01 | mkv | Test case number | => bugs modalg_7 bug23343 |
2017-07-27 18:21 | mkv | Note Added: 0068816 |
Copyright © 2000 - 2021 MantisBT Team |