View Issue Details

IDProjectCategoryView StatusLast Update
0002325PartDesignBugpublic2019-04-24 11:53
ReporterjoostnAssigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status confirmedResolutionopen 
PlatformMacOS10.11OS Version10.11
Product Version0.15 
Target Version0.19Fixed in Version 
Summary0002325: Pad -> Fillet -> Apply Thickness causes crash (upstream OCC bug)
DescriptionSee attached project and steps below:
Steps To Reproduce- Open test3.FCStd
- Switch to Part workbench
- highlight a face of the 'Fillet' solid (I tried the topmost flat face as displayed)
- select the Apply Thickness tool

Bang! crash.
Additional InformationOS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4671 (Git)
Branch: releases/FreeCAD-0-15
Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a

I've also tried with a daily build:

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5846 (Git)
Build type: Unknown
Branch: master
Hash: 71be79e09e293bd2ccb1470981f07807be4c04fb
Python version: 2.7.10
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.7.0
TagsOCC 7.2.1, OCC Bug, OCC NotOnRoadmap, upstream

Activities

joostn

2015-11-01 21:56

reporter  

test3.FCStd (Attachment missing)

wmayer

2016-02-28 20:47

administrator   ~0006859

TKG3dd.dll!Geom_TrimmedCurve::Geom_TrimmedCurve(const Handle_Geom_Curve & C={...}, const double U1=0.00000000000000000, const double U2=1.5707963267949001, const bool Sense=true) Line 80 + 0x1d bytes C++
TKOffsetd.dll!BRepOffset_Tool::TryProject(const TopoDS_Face & F1={...}, const TopoDS_Face & F2={...}, const TopTools_ListOfShape & Edges={...}, TopTools_ListOfShape & LInt1={...}, TopTools_ListOfShape & LInt2={...}, const TopAbs_State Side=TopAbs_IN, const double TolConf=4.9999999999999998e-007) Line 1983 + 0x49 bytes C++
TKOffsetd.dll!BRepOffset_Inter3d::ContextIntByArc(const TopTools_IndexedMapOfShape & ContextFaces={...}, const bool InSide=false, const BRepOffset_Analyse & Analyse={...}, const BRepAlgo_Image & InitOffsetFace={...}, BRepAlgo_Image & InitOffsetEdge={...}) Line 864 C++
TKOffsetd.dll!BRepOffset_MakeOffset::Intersection3D(BRepOffset_Inter3d & Inter={...}) Line 2591 C++
TKOffsetd.dll!BRepOffset_MakeOffset::MakeOffsetShape() Line 727 C++
TKOffsetd.dll!BRepOffset_MakeOffset::MakeThickSolid() Line 792 C++
TKOffsetd.dll!BRepOffsetAPI_MakeThickSolid::Build() Line 72 C++
TKOffsetd.dll!BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape & S={...}, const TopTools_ListOfShape & ClosingFaces={...}, const double Offset=1.0000000000000000, const double Tol=9.9999999999999995e-008, const BRepOffset_Mode Mode=BRepOffset_Skin, const bool Intersection=false, const bool SelfInter=false, const GeomAbs_JoinType Join=GeomAbs_Arc) Line 60 + 0xd bytes C++
Part_d.pyd!Part::TopoShape::makeThickSolid(const TopTools_ListOfShape & remFace={...}, double offset=1.0000000000000000, double tol=9.9999999999999995e-008, bool intersection=false, bool selfInter=false, short offsetMode=0, short join=0) Line 2099 + 0xa2 bytes C++
Part_d.pyd!Part::Thickness::execute() Line 605 + 0x64 bytes C++

That's a bug in the OCC library.

jmaustpc

2016-03-01 15:11

manager   ~0006870

Still crashes here with the OCE from tanderson, OCE patches over OCC 6.9.1

OS: Ubuntu 12.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6523 (Git)
Build type: Release
Branch: master
Hash: ecd6517cb00fcf05edd41a38b3ce1fa8b16ec3ad
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18-dev

wmayer

2016-03-14 19:52

administrator   ~0006907

Might be related: http://forum.freecadweb.org/viewtopic.php?f=3&t=14677

Kunda1

2017-05-12 12:32

administrator   ~0008973

@joostn do you mind re-uploading the attachment? It didn't survive are previous tracker backup restore.

joostn

2017-05-12 13:21

reporter   ~0008974

I hope this is the file (it has the same name).

test3-2.FCStd (9,368 bytes)

Kunda1

2017-08-21 11:07

administrator   ~0009976

@normandc do you mind weighing in ?

wmayer

2017-09-02 11:27

administrator   ~0010060

With occ7.2 it still crashes and shows the identical stack trace.

Kunda1

2018-09-13 20:09

administrator   ~0011731

@chrisb would you please test to see if issue is still present. Thanks!

Kunda1

2019-04-24 11:53

administrator   ~0013045

Adding to 0.19 roadmap so that bug gets attention

Issue History

Date Modified Username Field Change
2015-11-01 21:56 joostn New Issue
2015-11-01 21:56 joostn File Added: test3.FCStd
2016-02-28 20:47 wmayer Note Added: 0006859
2016-02-28 20:47 wmayer Status new => confirmed
2016-03-01 15:11 jmaustpc Note Added: 0006870
2016-03-14 19:52 wmayer Note Added: 0006907
2017-01-27 01:09 Kunda1 Tag Attached: OCC Bug
2017-01-27 01:09 Kunda1 Tag Attached: upstream
2017-05-12 12:32 Kunda1 Note Added: 0008973
2017-05-12 13:21 joostn File Added: test3-2.FCStd
2017-05-12 13:21 joostn Note Added: 0008974
2017-08-21 11:07 Kunda1 Note Added: 0009976
2017-09-02 11:27 wmayer Note Added: 0010060
2017-10-10 02:10 Kunda1 Tag Attached: OCC 7.2.1
2017-10-10 02:11 Kunda1 Summary Pad -> Fillet -> Apply Thickness causes crash => Pad -> Fillet -> Apply Thickness causes crash (upstream OCC bug)
2017-10-10 02:12 Kunda1 Tag Attached: OCC NotOnRoadmap
2017-10-18 11:20 wmayer Project FreeCAD => PartDesign
2018-09-13 20:09 Kunda1 Note Added: 0011731
2019-04-24 11:53 Kunda1 Target Version => 0.19
2019-04-24 11:53 Kunda1 Note Added: 0013045