MantisBT - Community
View Issue Details
0026406Community[OCCT] OCCT:Modeling Algorithmspublic2015-07-07 15:572015-10-23 20:51
Vico Liang 
bugmaster 
normalcrash 
closedfixed 
WindowsVC++ 201364 bit
[OCCT] 6.9.0 
[OCCT] 6.9.1[OCCT] 6.9.1 
bugs modalg_6 bug26406
0026406: BRepPrimAPI_MakeRevol crash when rotating Paraboloid face.
Code snippets:
 TopoDS_Shape aParaboloid = // load from file Paraboloid.brep.
 gp_Ax1 aAxis(gp::Origin(), gp::DZ());
 BRepPrimAPI_MakeRevol aMakeRevol(aParaboloid , aAxis, M_PI/2.0,Standard_True);

 Crash stack frame:

> TKPrim.dll!BRepSweep_Rotation::MakeEmptyGeneratingEdge(const TopoDS_Shape & aGenE, const Sweep_NumShape & aDirV) Line 222 C++
     TKPrim.dll!BRepSweep_NumLinearRegularSweep::Shape(const TopoDS_Shape & aGenS, const Sweep_NumShape & aDirS) Line 131 C++
     TKPrim.dll!BRepSweep_NumLinearRegularSweep::Shape(const TopoDS_Shape & aGenS, const Sweep_NumShape & aDirS) Line 161 C++
     TKPrim.dll!BRepSweep_NumLinearRegularSweep::Shape(const TopoDS_Shape & aGenS, const Sweep_NumShape & aDirS) Line 309 C++
     TKPrim.dll!BRepSweep_NumLinearRegularSweep::Shape(const TopoDS_Shape & aGenS, const Sweep_NumShape & aDirS) Line 253 C++
     TKPrim.dll!BRepSweep_NumLinearRegularSweep::Shape() Line 81 C++
     TKPrim.dll!BRepSweep_Revol::Shape() Line 71 C++
     TKPrim.dll!BRepPrimAPI_MakeRevol::Build() Line 80 C++
     TKPrim.dll!BRepPrimAPI_MakeRevol::BRepPrimAPI_MakeRevol(const TopoDS_Shape & S, const gp_Ax1 & A, const double D, const unsigned int Copy) Line 44 C++
restore Paraboloid.brep p
revol r p 0 0 0 0 0 1 180 c
checkshape r
The treatment of degenerated and seem edges of input shape in methods BRepSweep_Rotation::HasShape(...) and MakeEmptyGeneratingEdge(...) was improved to avoid creating extra faces based on these edges.
No tags attached.
related to 0026387closed bugmaster BRepPrimAPI_MakePrism crash when extruding Paraboloid face. 
? Paraboloid.brep (38,563) 2015-07-07 15:57
https://tracker.dev.opencascade.org/
Issue History
2015-07-07 15:57Vico LiangNew Issue
2015-07-07 15:57Vico LiangAssigned To => msv
2015-07-07 15:57Vico LiangFile Added: Paraboloid.brep
2015-07-07 16:00Vico LiangRelationship addedrelated to 0026387
2015-07-07 17:08msvAssigned Tomsv => ifv
2015-07-10 10:09gitNote Added: 0042893
2015-07-10 10:10ifvStatusnew => assigned
2015-07-10 10:11ifvNote Added: 0042894
2015-07-10 10:11ifvAssigned Toifv => msv
2015-07-10 10:11ifvStatusassigned => resolved
2015-07-10 10:11ifvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10924#r10924
2015-07-10 14:56msvNote Added: 0042917
2015-07-10 14:56msvAssigned Tomsv => bugmaster
2015-07-10 14:56msvStatusresolved => reviewed
2015-07-10 16:34apvAssigned Tobugmaster => apv
2015-07-10 16:45gitNote Added: 0042928
2015-07-10 16:46apvNote Added: 0042929
2015-07-13 16:03gitNote Added: 0042972
2015-07-13 16:03apvTest case number => bugs modalg_6 bug26406
2015-07-13 16:48apvNote Added: 0042975
2015-07-13 16:48apvAssigned Toapv => bugmaster
2015-07-13 16:48apvStatusreviewed => tested
2015-07-23 11:55bugmasterChangeset attached => occt master 4f0fb8b3
2015-07-23 11:55bugmasterStatustested => verified
2015-07-23 11:55bugmasterResolutionopen => fixed
2015-07-23 13:25bugmasterTarget Version => 7.0.0
2015-08-14 10:56gitNote Added: 0044194
2015-08-26 11:04abvTarget Version7.0.0 => 6.9.1
2015-09-01 13:53ifvAdditional Information Updatedbug_revision_view_page.php?rev_id=11407#r11407
2015-10-16 14:56aivStatusverified => closed
2015-10-23 20:51aivFixed in Version => 6.9.1

Notes
(0042893)
git   
2015-07-10 10:09   
Branch CR26406 has been created by ifv.

SHA-1: bcf5d2579116f429d40e357d834ff7d995cc69d7


Detailed log of new commits:

Author: ifv
Date: Fri Jul 10 10:09:19 2015 +0300

    0026406: BRepPrimAPI_MakeRevol crash when rotating Paraboloid face.
(0042894)
ifv   
2015-07-10 10:11   
Please review branch CR26406
(0042917)
msv   
2015-07-10 14:56   
Reviewed.
(0042928)
git   
2015-07-10 16:45   
Branch CR26406 has been updated forcibly by apv.

SHA-1: c99379c6d74be330ab6d49de4054df550b29e3a1
(0042929)
apv   
2015-07-10 16:46   
Branch CR26406 has been rebased on the current master
(0042972)
git   
2015-07-13 16:03   
Branch CR26406 has been updated by apv.

SHA-1: 9a1f64925f4ca85dd0a28e2fd27b1b79c595ee24


Detailed log of new commits:

Author: apv
Date: Mon Jul 13 16:02:57 2015 +0300

    Test-case for issue 0026406

(0042975)
apv   
2015-07-13 16:48   
Dear BugMaster,

Branch CR26406 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested.
SHA-1: c99379c6d74be330ab6d49de4054df550b29e3a1

Number of compiler warnings:
occt component:
   Linux: 24 (24 on master)
   Windows: 0 (0 on master)
products component:
   Linux: 37 (37 on master)
   Windows: 0 (0 on master)

Regressions/Differences:
Not detected

Testing cases:
bugs modalg_6 bug26406 - OK
http://occt-tests/CR26406-master-occt-64/Debian70-64/bugs/modalg_6/bug26406.html [^]
http://occt-tests/CR26406-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26406.html [^]

Testing on Linux:
Total MEMORY difference: 95921212 / 96685045 [-0.79%]
Total CPU difference: 16809.880000000012 / 17351.219999999736 [-3.12%]

Testing on Windows:
Total MEMORY difference: 57065519 / 56550310 [+0.91%]
Total CPU difference: 16042.394035198779 / 15995.874536998928 [+0.29%]
(0044194)
git   
2015-08-14 10:56   
Branch CR26406 has been deleted by inv.

SHA-1: 9a1f64925f4ca85dd0a28e2fd27b1b79c595ee24