MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022821Community[OCCT] OCCT:Modeling Algorithmspublic2011-11-30 12:302017-12-05 17:09
Reporterszy 
Assigned Tomsv 
PrioritynormalSeveritycrash 
StatusassignedResolutionopen 
PlatformAOSLOS VersionL
Product Version[OCCT] 6.5.1 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0022821: Crash with BRepFilletAPI_MakeFillet
DescriptionPost from the Forum - http://www.opencascade.org/org/forum/thread_22269/. [^]
"Hi guys! I have a simple cube and would like to make a fillet on one of the edges. Here's the code I'm using

     BRepFilletAPI_MakeFillet mkFillet(body, ChFi3d_Rational);

     TopExp_Explorer aEdgeExplorer;
     aEdgeExplorer.Init(body, TopAbs_EDGE, 0);
     while (aEdgeExplorer.More())
     {
          TopoDS_Edge aEdge = TopoDS::Edge(aEdgeExplorer.Current());

          mkFillet.Add(0.01, aEdge);
          break;
     }
     mkFillet.Build();
     currentShape = mkFillet.Shape();

As soon as the last line is executed, the program crashes. Any idea why? Many thanks in advance!"
Steps To Reproducepload ALL
stepread test.step t *
renamevar t_1 t
checkshape t
## Ok
explo t E
fillet r t 0.01 t_1
Additional information
and documentation updates
1) Debug mode ==> crash
Log:
Dump of SweepApproximation
Error 3d = 2.57852368687218e-016
Error 2d = 6.32113758966443e-017 ,
2.26763809674508e-016
1 Segment(s) of degree 1
only one point of path MS/100 is attempted
and the controls are extended.
If it drags without control, quit.
EXCEPTION Stripe compute 00000000004D5A40 : Standard_Failure: CallPerformSurf : Path failed!

COMPUTE: temps total 0.015625s dont :
- Init + ExtentAnalyse 0s
- PerformSetOfSurf 0.015625s
- PerformFilletOnVertex 0s
- FilDS 0s
- Reconstruction 0s
- SetRegul 0s
=================================
2) Release mode ==>
Empty result.
TagsNo tags attached.
Test case numberbugs modalg_7 bug22821
Attached Files? file icon test.step (20,839 bytes) 2011-11-30 12:30

- Relationships

-  Notes
(0019110)
szy (administrator)
2012-01-13 14:27

The problem is reproducible on 6.5.2 too.
(0023553)
abv (manager)
2013-03-01 21:32

Reproduced on Git master branch as of 01.03.2013
(0032190)
abv (manager)
2014-09-26 09:48

Reproduced on current master (6.8.0.beta)
(0068321)
git (administrator)
2017-07-14 14:48

Branch CR22821 has been created by mkv.

SHA-1: f67adb90c49f6e08fa8e1736ce2190c8361f456c


Detailed log of new commits:

Author: mkv
Date: Fri Jul 14 14:48:27 2017 +0300

    Test for 0022821: Crash with BRepFilletAPI_MakeFillet
(0068434)
mkv (tester)
2017-07-19 16:32

Problem described in issue is reproduced on current state of OCCT.

- Issue History
Date Modified Username Field Change
2011-11-30 12:30 szy New Issue
2011-11-30 12:30 szy Assigned To => jgv
2011-11-30 12:30 szy File Added: test.step
2012-01-13 14:27 szy Note Added: 0019110
2012-01-13 14:27 szy Product Version 6.5.2 => 6.5.1
2012-02-09 08:54 abv Target Version 6.5.3 => 6.5.4
2012-10-23 18:41 abv Target Version 6.5.4 => 6.6.0
2013-03-01 21:30 abv Target Version 6.6.0 => 6.7.0
2013-03-01 21:32 abv Note Added: 0023553
2013-12-21 10:23 abv Target Version 6.7.0 => 6.7.1
2014-04-04 18:19 abv Target Version 6.7.1 => 6.8.0
2014-09-26 09:48 abv Note Added: 0032190
2014-09-26 09:48 abv Target Version 6.8.0 => 7.1.0
2016-10-28 15:33 msv Target Version 7.1.0 => 7.2.0
2017-07-14 14:48 git Note Added: 0068321
2017-07-19 16:32 mkv Note Added: 0068434
2017-07-19 16:33 mkv Test case number => bug modalg_7 bug22821
2017-07-19 16:33 mkv Status new => assigned
2017-07-19 16:34 mkv Assigned To jgv => msv
2017-07-21 10:35 msv Target Version 7.2.0 => 7.3.0
2017-07-21 19:00 mkv Test case number bug modalg_7 bug22821 => bugs modalg_7 bug22821
2017-12-05 17:09 msv Target Version 7.3.0 => 7.4.0*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker