Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tricky fillet results in a crash (but only with a particular selection order) #202

Open
valpackett opened this issue Nov 5, 2021 · 2 comments

Comments

@valpackett
Copy link

Doing this kind of fillet:

Screen_2021-11-05-18:39:23

on each side individually works fine, but fails as one operation in two different ways.

Starting on the "rear" side and adding the "front" side: "recompute failed":

Screen_2021-11-05-18:42:28

But starting on the "front" side and then clicking the "rear" edge crashes!

* thread #1, name = 'FreeCAD', stop reason = signal SIGSEGV
  * frame #0: 0x000000085d964d7e libTKFillet.so.7`ChFi3d_StripeEdgeInter(opencascade::handle<ChFiDS_Stripe> const&, opencascade::handle<ChFiDS_Stripe> const&, TopOpeBRepDS_DataStructure&, double) + 382
    frame #1: 0x000000085d950232 libTKFillet.so.7`ChFi3d_Builder::Compute() + 3058
    frame #2: 0x000000085dae03ca libTKFillet.so.7`BRepFilletAPI_MakeFillet::Build() + 42
    frame #3: 0x0000000868686dcd libTKTopAlgo.so.7`BRepBuilderAPI_MakeShape::Shape() + 29
    frame #4: 0x000000085d71d8fb Part.so`Part::TopoShape::makEShape(BRepBuilderAPI_MakeShape&, Part::TopoShape const&, char const*) + 107
    frame #5: 0x000000085d73230f Part.so`Part::TopoShape::makEFillet(Part::TopoShape const&, std::__1::vector<Part::TopoShape, std::__1::allocator<Part::TopoShape> > const&, double, double, char const*) + 367
    frame #6: 0x000000090cea2fb0 _PartDesign.so`PartDesign::Fillet::execute() + 704
    frame #7: 0x0000000807c335b5 libFreeCADApp.so`App::DocumentObject::recompute() + 85
    frame #8: 0x000000085d4d938c Part.so`Part::Feature::recompute() + 12
    frame #9: 0x000000090ce163a7 _PartDesign.so`PartDesign::Feature::recompute() + 279
    frame #10: 0x0000000807b97def libFreeCADApp.so`App::Document::_recomputeFeature(App::DocumentObject*) + 111
    frame #11: 0x0000000807b9a763 libFreeCADApp.so`App::Document::recomputeFeature(App::DocumentObject*, bool) + 339
    frame #12: 0x0000000a88335fc7 PartDesignGui.so`PartDesignGui::TaskDressUpParameters::syncItems(std::__1::vector<App::SubObjectT, std::__1::allocator<App::SubObjectT> > const&, bool) + 1815
    frame #13: 0x0000000a8833514b PartDesignGui.so`PartDesignGui::TaskDressUpParameters::onSelectionChanged(Gui::SelectionChanges const&) +1451
    frame #14: 0x00000008063e48fc libFreeCADGui.so`Gui::SelectionObserver::_onSelectionChanged(Gui::SelectionChanges const&) + 28
…
@valpackett
Copy link
Author

Still happens with OpenCASCADE 7.6.0 (and LinkDaily 91c5e00).

@Shkolik
Copy link

Shkolik commented Jul 15, 2022

Still somewhat happens... I created more simple test file, hope it will help.

fillet-fail.zip

Fillet on a right side working fine no difference what edge was selected, curved or strait.

Fillet on a left side will be created distorted if strait edge selected (but will be fine if curved edge selected):
image

When trying to crate fillet on both sides shape became invalid:
image

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 2022.709.26244 +5001 (Git)
Build type: Release
Branch: LinkDaily
Hash: 096210d
Python version: 3.8.10
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/United States (en_US)

Same issue with main 0.20:
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.25541 (Git)
Build type: Release
Branch: master
Hash: ca043dc
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants