I think that since the Chamfer starts with 1 mm, it is seg faulting Freecad.
It follows the crash if helps.
Link to the file
https://www.dropbox.com/s/jqewhorkvg71n ... FCStd?dl=0
Code: Select all
➜ freecad
Latest FreeCAD /home/lheck/Applications/FreeCAD_weekly-builds-32637-2023-03-30-conda-Linux-x86_64-py310.AppImage
FreeCAD 0.21.0, Libs: 0.21.0R32637 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Assembly4 workbench (v0.12.6) loaded
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0) [0x7f84d9a36cf0]
#1 0x7f84a4559654 in BRep_Tool::CurveOnSurface(TopoDS_Edge const&, opencascade::handle<Geom_Surface> const&, TopLoc_Location const&, double&, double&, bool*) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKBRep.so.7+0x174
#2 0x7f84a4559733 in BRep_Tool::CurveOnSurface(TopoDS_Edge const&, TopoDS_Face const&, double&, double&, bool*) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKBRep.so.7+0xb3
#3 0x7f84a4567bbe in BRepAdaptor_Curve2d::Initialize(TopoDS_Edge const&, TopoDS_Face const&) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKBRep.so.7+0xde
#4 0x7f84a47339db in ChFi3d_Builder::StartSol(opencascade::handle<ChFiDS_Spine> const&, opencascade::handle<BRepAdaptor_Surface>&, gp_Pnt2d&, opencascade::handle<BRepAdaptor_Curve2d>&, double&, opencascade::handle<ChFiDS_SurfData> const&, bool, int, opencascade::handle<BRepAdaptor_Surface>&, opencascade::handle<BRepAdaptor_Curve2d>&, bool&, bool&, bool&, bool&, opencascade::handle<BRepAdaptor_Surface>&, gp_Pnt2d&, bool, TopoDS_Vertex const&) const from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKFillet.so.7+0xdcb
#5 0x7f84a47394a7 in ChFi3d_Builder::PerformSetOfSurfOnElSpine(opencascade::handle<ChFiDS_ElSpine> const&, opencascade::handle<ChFiDS_Stripe>&, opencascade::handle<BRepTopAdaptor_TopolTool>&, opencascade::handle<BRepTopAdaptor_TopolTool>&, bool) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKFillet.so.7+0x637
#6 0x7f84a473bdd9 in ChFi3d_Builder::PerformSetOfKGen(opencascade::handle<ChFiDS_Stripe>&, bool) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKFillet.so.7+0x109
#7 0x7f84a474147a in ChFi3d_Builder::PerformSetOfSurf(opencascade::handle<ChFiDS_Stripe>&, bool) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKFillet.so.7+0x6a
#8 0x7f84a4704797 in ChFi3d_Builder::Compute() from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKFillet.so.7+0x437
#9 0x7f84a489530e in BRepFilletAPI_MakeChamfer::Build(Message_ProgressRange const&) from /tmp/.mount_FreeCAuhlVld/usr/lib/./libTKFillet.so.7+0x2e
#10 0x7f83c819d99a in PartDesign::Chamfer::execute() from /tmp/.mount_FreeCAuhlVld/usr/lib/_PartDesign.so+0xd1a
#11 0x7f84db433aa2 in App::DocumentObject::recompute() from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADApp.so+0xc2
#12 0x7f84b466bbaa in Part::Feature::recompute() from /tmp/.mount_FreeCAuhlVld/usr/lib/Part.so+0xa
#13 0x7f84db3c750d in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADApp.so+0x41d
#14 0x7f84db41547a in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADApp.so+0xb4a
#15 0x7f84db49cc5f in App::DocumentPy::recompute(_object*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADApp.so+0x2ff
#16 0x7f84db49cd89 in App::DocumentPy::staticCallback_recompute(_object*, _object*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADApp.so+0x29
#17 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(+0x1438a8) [0x7f84db9438a8]
#18 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(_PyObject_MakeTpCall+0x27b) [0x7f84db93cf2b]
#19 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(_PyEval_EvalFrameDefault+0x5828) [0x7f84db938d38]
#20 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(+0x1deaf2) [0x7f84db9deaf2]
#21 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(PyEval_EvalCode+0x8c) [0x7f84db9dea3c]
#22 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(+0x20fe94) [0x7f84dba0fe94]
#23 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(+0x20ad7b) [0x7f84dba0ad7b]
#24 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libpython3.10.so.1.0(PyRun_StringFlags+0x7d) [0x7f84dba02e8d]
#25 0x7f84daf1dd8c in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADBase.so+0x6c
#26 0x7f84dc12bdf3 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x93
#27 0x7f84dc12bf86 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0xe6
#28 0x7f84dc12c0a5 in Gui::Command::updateActive() from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x45
#29 0x7f83938f127e in finishFeature(Gui::Command const*, App::DocumentObject*, App::DocumentObject*, bool, bool) from /tmp/.mount_FreeCAuhlVld/usr/lib/PartDesignGui.so+0x4de
#30 0x7f83938f28c6 in finishDressupFeature(Gui::Command const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Part::Feature*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) from /tmp/.mount_FreeCAuhlVld/usr/lib/PartDesignGui.so+0x9c6
#31 0x7f8393904d9f in makeChamferOrFillet(Gui::Command*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) from /tmp/.mount_FreeCAuhlVld/usr/lib/PartDesignGui.so+0x1cf
#32 0x7f839390502d in CmdPartDesignChamfer::activated(int) from /tmp/.mount_FreeCAuhlVld/usr/lib/PartDesignGui.so+0x4d
#33 0x7f84dc134aa1 in Gui::Command::_invoke(int, bool) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x271
#34 0x7f84dc134f57 in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x127
#35 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Core.so.5(+0x1dff9b) [0x7f84d9ddff9b]
#36 0x7f84da965136 in QAction::triggered(bool) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0x32
#37 0x7f84da966c20 in QAction::activate(QAction::ActionEvent) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0xc6
#38 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5(+0x2036cb) [0x7f84daa036cb]
#39 0x7f84daa037a7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0x79
#40 0x7f84daa9c0d0 in QToolButton::mouseReleaseEvent(QMouseEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0xa
#41 0x7f84da994202 in QWidget::event(QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0x134
#42 0x7f84da96a087 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0xd9
#43 0x7f84da96e36d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0x663
#44 0x7f84dc0e6a29 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x99
#45 0x7f84d9dc2a18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Core.so.5+0x8e
#46 0x7f84da96d981 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0x283
#47 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5(+0x1a338d) [0x7f84da9a338d]
#48 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5(+0x1a4505) [0x7f84da9a4505]
#49 0x7f84da96a087 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Widgets.so.5+0xd9
#50 0x7f84dc0e6a29 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x99
#51 0x7f84d9dc2a18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Core.so.5+0x8e
#52 0x7f84da30956e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Gui.so.5+0x6b6
#53 0x7f84da2f6091 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Gui.so.5+0x57
#54 /tmp/.mount_FreeCAuhlVld/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5672c) [0x7f84d4ae472c]
#55 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x25c) [0x7f84d851b1bc]
#56 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/./libglib-2.0.so.0(+0x58489) [0x7f84d851b489]
#57 /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7f84d851b551]
#58 0x7f84d9df3d50 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Core.so.5+0x5c
#59 0x7f84d9dc05d8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Core.so.5+0x180
#60 0x7f84d9dc47af in QCoreApplication::exec() from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libQt5Core.so.5+0x107
#61 0x7f84dc059e36 in Gui::Application::runApplication() from /tmp/.mount_FreeCAuhlVld/usr/bin/../lib/libFreeCADGui.so+0x22c6
#62 /tmp/.mount_FreeCAuhlVld/usr/bin/freecad(+0x8a92) [0x5603746b9a92]
#63 /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7f84d9a1e510]
#64 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7f84d9a1e5c9]
#65 /tmp/.mount_FreeCAuhlVld/usr/bin/freecad(+0x8de1) [0x5603746b9de1]
Code: Select all
OS: Ubuntu 22.10 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32637 (Git) AppImage
Build type: Release
Branch: master
Hash: 7fa7cb7f0b222864be7416c683166876eab190bc
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* Defeaturing 1.2.0
* Curves 0.6.8
* fasteners 0.4.55
* lattice2 1.0.0
* FreeCAD_Assembly4 0.12.6
* freecad.gears 1.0.0
* kicadStepUpMod 10.17.1
* ProDarkThemePreferencePack 1.0.0
* Help 1.0.3