#28828·FreeCAD

OCC: Crash in Chamfer (all edges) in 1.1 AppImage

Author: cpargCreated Mar 29, 2026Updated Sep 30, 2026
LabelsType: BugMod: Part Design3rd party: OCCType: CrashOS: LinuxPackaging: AppImageStatus: Confirmed

Problem description

Crash in FreeCAD 1.1 App Image

  • OS: RHEL 9

Workbench affected?

None

Steps to reproduce

e
Robust MCP Bridge: Status bar sync scheduled from InitGui (2s)
Robust MCP Bridge: Auto-start disabled in preferences
Chamfer003: BRep_API: command not done
Program received signal SIGSEGV, Segmentation fault.
#0  /lib64/libc.so.6(+0x3fc30) [0x7f3385c3fc30]
#1  0x7f33124fab94 in BRep_Tool::CurveOnSurface(TopoDS_Edge const&, opencascade::handle<Geom_Surface> const&, TopLoc_Location const&, double&, double&, bool*) from /tmp/.mount_FreeCAApliOg/usr/lib/libTKBRep.so.7.8+0x174
#2  0x7f33124fac6b in BRep_Tool::CurveOnSurface(TopoDS_Edge const&, TopoDS_Face const&, double&, double&, bool*) from /tmp/.mount_FreeCAApliOg/usr/lib/libTKBRep.so.7.8+0xab
#3  0x7f3312508fa4 in BRepAdaptor_Curve2d::Initialize(TopoDS_Edge const&, TopoDS_Face const&) from /tmp/.mount_FreeCAApliOg/usr/lib/libTKBRep.so.7.8+0xf4
#4  0x7f3312b47f20 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_FreeCAApliOg/usr/lib/libTKFillet.so.7.8+0xd90
#5  0x7f3312b4c8f4 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_FreeCAApliOg/usr/lib/libTKFillet.so.7.8+0x624
#6  0x7f3312b51c71 in ChFi3d_Builder::PerformSetOfKGen(opencascade::handle<ChFiDS_Stripe>&, bool) from /tmp/.mount_FreeCAApliOg/usr/lib/libTKFillet.so.7.8+0xd1
#7  0x7f3312b55faa in ChFi3d_Builder::PerformSetOfSurf(opencascade::handle<ChFiDS_Stripe>&, bool) from /tmp/.mount_FreeCAApliOg/usr/lib/libTKFillet.so.7.8+0x6a
#8  0x7f3312b1a484 in ChFi3d_Builder::Compute() from /tmp/.mount_FreeCAApliOg/usr/lib/libTKFillet.so.7.8+0x4a4
#9  0x7f3312c9abb6 in BRepFilletAPI_MakeChamfer::Build(Message_ProgressRange const&) from /tmp/.mount_FreeCAApliOg/usr/lib/libTKFillet.so.7.8+0x36
#10  0x7f330f069a4d in BRepBuilderAPI_MakeShape::Shape() from /tmp/.mount_FreeCAApliOg/usr/lib/libTKTopAlgo.so.7.8+0x8d
#11  0x7f33133e58f5 in Part::TopoShape::makeElementShape(BRepBuilderAPI_MakeShape&, std::vector<Part::TopoShape, std::allocator<Part::TopoShape> > const&, char const*) from /tmp/.mount_FreeCAApliOg/usr/lib/Part.so+0x75
#12  0x7f33133f988b in Part::TopoShape::makeElementChamfer(Part::TopoShape const&, std::vector<Part::TopoShape, std::allocator<Part::TopoShape> > const&, Part::ChamferType, double, double, char const*, Part::Flip) from /tmp/.mount_FreeCAApliOg/usr/lib/Part.so+0x4bb
#13  0x7f33091ca669 in PartDesign::Chamfer::execute() from /tmp/.mount_FreeCAApliOg/usr/lib/_PartDesign.so+0x419
#14  0x7f3389ba218b in App::DocumentObject::recompute() from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libFreeCADApp.so+0x6b
#15  0x7f3313125c5a in Part::Feature::recompute() from /tmp/.mount_FreeCAApliOg/usr/lib/Part.so+0xa
#16  0x7f330910f8c0 in PartDesign::Feature::recompute() from /tmp/.mount_FreeCAApliOg/usr/lib/_PartDesign.so+0x160
#17  0x7f3389b5576c in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libFreeCADApp.so+0x2bc
#18  0x7f3389b57977 in App::Document::recomputeFeature(App::DocumentObject*, bool) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libFreeCADApp.so+0xd7
#19  0x7f3279b5384c in PartDesignGui::TaskChamferParameters::onCheckBoxUseAllEdgesToggled(bool) from /tmp/.mount_FreeCAApliOg/usr/lib/PartDesignGui.so+0xbc
#20  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Core.so.6(+0x31684a) [0x7f338671684a]
#21  0x7f3387a56797 in QAbstractButton::toggled(bool) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0x47
#22  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6(+0x47c818) [0x7f3387a7c818]
#23  0x7f3387aae08b in QAbstractButton::setChecked(bool) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0xcb
#24  0x7f3387aaec8e in QCheckBox::nextCheckState() from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0x4e
#25  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6(+0x4adb49) [0x7f3387aadb49]
#26  0x7f3387aadd6d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0xbd
#27  0x7f3387bc3864 in QWidget::event(QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0xa64
#28  0x7f3387bb3e48 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0x88
#29  0x7f3387bb4cbd in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0xdad
#30  0x7f338c3b30e8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libFreeCADGui.so+0x78
#31  0x7f338675fb8a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Core.so.6+0x17a
#32  0x7f3387bbbe7c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0x1ec
#33  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6(+0x5be8c7) [0x7f3387bbe8c7]
#34  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6(+0x5c5440) [0x7f3387bc5440]
#35  0x7f3387bb3e48 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Widgets.so.6+0x88
#36  0x7f338c3b30e8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libFreeCADGui.so+0x78
#37  0x7f338675fb8a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Core.so.6+0x17a
#38  0x7f3386dd1970 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Gui.so.6+0x810
#39  0x7f3386e31e14 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Gui.so.6+0xb4
#40  /tmp/.mount_FreeCAApliOg/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6(+0x58f90) [0x7f3375587f90]
#41  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/./libglib-2.0.so.0(+0x5bde6) [0x7f3383d06de6]
#42  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/./libglib-2.0.so.0(+0x5f0a7) [0x7f3383d0a0a7]
#43  /tmp/.mount_FreeCAApliOg/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7f3383d0a81e]
#44  0x7f33864f6b12 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Core.so.6+0x72
#45  0x7f338679747c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Core.so.6+0x25c
#46  0x7f33867977da in QCoreApplication::exec() from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libQt6Core.so.6+0x9a
#47  0x7f338c2d8a11 in Gui::Application::runApplication() from /tmp/.mount_FreeCAApliOg/usr/bin/../lib/libFreeCADGui.so+0xd61
#48  /tmp/.mount_FreeCAApliOg/usr/bin/freecad(+0x9cf5) [0x55dfcf047cf5]
#49  /lib64/libc.so.6(+0x2a610) [0x7f3385c2a610]
#50  /lib64/libc.so.6(__libc_start_main+0x80) [0x7f3385c2a6c0]
#51  /tmp/.mount_FreeCAApliOg/usr/bin/freecad(+0x8de9) [0x55dfcf046de9]
cparg@bart : /home/cparg$ 

Expected behavior

The initial default value of the chamfer may be too large. The feature has a thickness or 0.3mm and the default chamfer is 1mm. If this is an error condition it is not handled well.

Actual behavior

When trying to add a asymetrical chamfer the tool crashes.

Development version About Info (in Safe Mode)

bash
OS: Red Hat Enterprise Linux 9.7 (Plow) (KDE/plasmax11/xcb)
Architecture: x86_64
Version: 1.1.0.20260325 (Git shallow) AppImage
Build date: 2026/03/25 02:17:53
Build type: Release
Branch: (HEAD detached at 34a971666)
Hash: 34a9716668b1ddeb55b914f1c5be644826bdbbbf
Python 3.11.14, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.4, OCC 7.8.1
Locale: German/Germany (de_DE)
Navigation Style/Orbit Style/Rotation Mode: Blender/Trackball/Drag at cursor
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Dark/
Logical DPI/Physical DPI/Pixel Ratio: 96/109.338/1
Installed mods: 
  * freecad_robust_mcp-0.6.2

Last known good version (optional)

bash