View Issue Details

IDProjectCategoryView StatusLast Update
0004760FreeCADBugpublic2021-10-22 03:09
Reporterelectro707 Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version0.19 
Summary0004760: Crashing when extending dimension
DescriptionWhen changing the length of a certain sketch's geometry in the attached file from 3mm to 4mm or 5mm, FreeCAD crashes with the attached debug trace with a segmentation fault.
Steps To ReproduceOpen at the attached file
Edit Sketch001
Change the 3mm dimension to 5mm
Exit out of editing the sketch
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/libc.so.6(+0x3cda0) [0x7f8b333aeda0]
#1 0x7f8a7913bae8 in Geom2d_Curve::Value(double) const from /usr/lib/libTKG2d.so.7+0x18
0000002 0x7f8a7b5ba94d in ChFi3d_Builder::PerformMoreThreeCorner(int, int) from /usr/lib/libTKFillet.so.7+0xb73d
0000003 0x7f8a7b59db6f in ChFi3d_Builder::PerformIntersectionAtEnd(int) from /usr/lib/libTKFillet.so.7+0x80bf
0000004 0x7f8a7b5a28ac in ChFi3d_Builder::PerformOneCorner(int, bool) from /usr/lib/libTKFillet.so.7+0x2d2c
0000005 0x7f8a7b53fa59 in ChFi3d_Builder::PerformFilletOnVertex(int) from /usr/lib/libTKFillet.so.7+0x499
0000006 0x7f8a7b540ad3 in ChFi3d_Builder::Compute() from /usr/lib/libTKFillet.so.7+0xfa3
0000007 0x7f8a7b6d52ce in BRepFilletAPI_MakeFillet::Build() from /usr/lib/libTKFillet.so.7+0x2e
0000008 0x7f89dc5a7479 in PartDesign::Fillet::execute() from /usr/lib/freecad/lib/_PartDesign.so+0x3e9
0000009 0x7f8b352e3f62 in App::DocumentObject::recompute() from /usr/lib/freecad/lib/libFreeCADApp.so+0x122
0000010 0x7f8a8c76bdea in Part::Feature::recompute() from /usr/lib/freecad/lib/Part.so+0xa
0000011 0x7f8b3525fead in App::Document::_recomputeFeature(App::DocumentObject*) from /usr/lib/freecad/lib/libFreeCADApp.so+0x33d
0000012 0x7f8b3527b314 in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) from /usr/lib/freecad/lib/libFreeCADApp.so+0x8f4
0000013 0x7f8b35335eed in App::DocumentPy::recompute(_object*) from /usr/lib/freecad/lib/libFreeCADApp.so+0x2dd
0000014 0x7f8b353360b9 in App::DocumentPy::staticCallback_recompute(_object*, _object*) from /usr/lib/freecad/lib/libFreeCADApp.so+0x29
0000015 /usr/lib/libpython3.9.so.1.0(+0x148f08) [0x7f8b34ba2f08]
0000016 /usr/lib/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x2e3) [0x7f8b34b8b333]
0000017 /usr/lib/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x52a8) [0x7f8b34b87218]
0000018 /usr/lib/libpython3.9.so.1.0(+0x126fd9) [0x7f8b34b80fd9]
0000019 /usr/lib/libpython3.9.so.1.0(_PyEval_EvalCodeWithName+0x51) [0x7f8b34b80c41]
0000020 /usr/lib/libpython3.9.so.1.0(PyEval_EvalCode+0x23) [0x7f8b34c37ae3]
0000021 /usr/lib/libpython3.9.so.1.0(+0x1ed9f4) [0x7f8b34c479f4]
0000022 /usr/lib/libpython3.9.so.1.0(+0x1e96cb) [0x7f8b34c436cb]
0000023 /usr/lib/libpython3.9.so.1.0(PyRun_StringFlags+0xa0) [0x7f8b34c3c330]
0000024 0x7f8b34f48cfc in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x6c
0000025 0x7f8b35b23656 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x96
0000026 0x7f8b35b237e6 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /usr/lib/freecad/lib/libFreeCADGui.so+0xe6
0000027 0x7f8b35b23915 in Gui::Command::updateActive() from /usr/lib/freecad/lib/libFreeCADGui.so+0x45
0000028 0x7f89d902e583 in SketcherGui::ViewProviderSketch::unsetEdit(int) from /usr/lib/freecad/lib/SketcherGui.so+0x1f3
0000029 0x7f8b35e5d773 in Gui::ViewProvider::finishEditing() from /usr/lib/freecad/lib/libFreeCADGui.so+0x13
0000030 0x7f8b35aa781d in Gui::Document::_resetEdit() from /usr/lib/freecad/lib/libFreeCADGui.so+0x9d
0000031 0x7f8b35a39dda in Gui::Application::setEditDocument(Gui::Document*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x3a
0000032 0x7f8b35ad2522 in Gui::DocumentPy::resetEdit(_object*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x32
0000033 0x7f8b35ad2559 in Gui::DocumentPy::staticCallback_resetEdit(_object*, _object*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x29
0000034 /usr/lib/libpython3.9.so.1.0(+0x148f08) [0x7f8b34ba2f08]
0000035 /usr/lib/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x2e3) [0x7f8b34b8b333]
0000036 /usr/lib/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x52a8) [0x7f8b34b87218]
0000037 /usr/lib/libpython3.9.so.1.0(+0x126fd9) [0x7f8b34b80fd9]
0000038 /usr/lib/libpython3.9.so.1.0(_PyEval_EvalCodeWithName+0x51) [0x7f8b34b80c41]
#39 /usr/lib/libpython3.9.so.1.0(PyEval_EvalCode+0x23) [0x7f8b34c37ae3]
#40 /usr/lib/libpython3.9.so.1.0(+0x1ed9f4) [0x7f8b34c479f4]
0000041 /usr/lib/libpython3.9.so.1.0(+0x1e96cb) [0x7f8b34c436cb]
0000042 /usr/lib/libpython3.9.so.1.0(PyRun_StringFlags+0xa0) [0x7f8b34c3c330]
0000043 0x7f8b34f48cfc in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x6c
0000044 0x7f8b35b23656 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x96
0000045 0x7f8b35b237e6 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /usr/lib/freecad/lib/libFreeCADGui.so+0xe6
0000046 0x7f89d905f529 in SketcherGui::TaskDlgEditSketch::reject() from /usr/lib/freecad/lib/SketcherGui.so+0x159
0000047 0x7f8b35dd5979 in Gui::TaskView::TaskView::reject() from /usr/lib/freecad/lib/libFreeCADGui.so+0x69
0000048 /usr/lib/libQt5Core.so.5(+0x2f07a0) [0x7f8b33a5f7a0]
0000049 /usr/lib/libQt5Widgets.so.5(+0x2ff761) [0x7f8b346a4761]
0000050 /usr/lib/libQt5Core.so.5(+0x2f07a0) [0x7f8b33a5f7a0]
0000051 0x7f8b345f74e3 in QAbstractButton::clicked(bool) from /usr/lib/libQt5Widgets.so.5+0x43
0000052 /usr/lib/libQt5Widgets.so.5(+0x25276c) [0x7f8b345f776c]
0000053 /usr/lib/libQt5Widgets.so.5(+0x254374) [0x7f8b345f9374]
0000054 0x7f8b345f9595 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/libQt5Widgets.so.5+0xf5
0000055 0x7f8b345430be in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x20e
0000056 0x7f8b344ffd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x82
0000057 0x7f8b34507ac9 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0xaa9
0000058 0x7f8b35af2ab9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x89
0000059 0x7f8b33a283ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x13a
0000060 0x7f8b3450657b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /usr/lib/libQt5Widgets.so.5+0x1bb
0000061 /usr/lib/libQt5Widgets.so.5(+0x1b7a84) [0x7f8b3455ca84]
0000062 /usr/lib/libQt5Widgets.so.5(+0x1badb5) [0x7f8b3455fdb5]
0000063 0x7f8b344ffd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x82
0000064 0x7f8b35af2ab9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x89
0000065 0x7f8b33a283ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x13a
0000066 0x7f8b33e031f0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/libQt5Gui.so.5+0x6b0
0000067 0x7f8b33dd87d5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Gui.so.5+0xb5
0000068 /usr/lib/libQt5XcbQpa.so.5(+0x62fcc) [0x7f8b2df7ffcc]
0000069 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x26c) [0x7f8b317a44dc]
0000070 /usr/lib/libglib-2.0.so.0(+0xa8749) [0x7f8b317f8749]
0000071 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7f8b317a1bc1]
0000072 0x7f8b33a80fe6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x66
0000073 0x7f8b33a26d2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x12c
0000074 0x7f8b33a2f294 in QCoreApplication::exec() from /usr/lib/libQt5Core.so.5+0x94
0000075 0x7f8b35a4482e in Gui::Application::runApplication() from /usr/lib/freecad/lib/libFreeCADGui.so+0x1b9e
0000076 freecad(+0x4858) [0x560a8a909858]
0000077 /usr/lib/libc.so.6(__libc_start_main+0xd5) [0x7f8b33399b25]
0000078 freecad(+0x4b8e) [0x560a8a909b8e]
Tags#post-to-forum
FreeCAD Information<!--ATTENTION:
COMPLETELY ERASE THIS AFTER PASTING YOUR
Help > About FreeCAD > Copy to clipboard
NOTE: just the snippet alone will do without anything else included.
The ticket will not be submitted without it.
-->
OS: Arch Linux (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: makepkg
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.9.6
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

Activities

electro707

2021-10-08 04:23

reporter  

bench_meter.FCStd (69,264 bytes)

electro707

2021-10-08 04:42

reporter   ~0015962

Note: This is also an issue in the most recent git version:
OS: Arch Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.25997 (Git)
Build type: Release
Branch: master
Hash: 77b198048a63f1e9ca15eef64c8042d599a14cf3
Python version: 3.9.7
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

openBrain

2021-10-13 14:14

developer   ~0015971

@electro707 : could you please open a new thread in our forum (per our reporting guidelines) and add link here ? Thx

electro707

2021-10-16 04:54

reporter   ~0015990

Last edited: 2021-10-16 04:54

Created, as https://forum.freecadweb.org/viewtopic.php?f=3&t=62912

electro707

2021-10-22 03:09

reporter   ~0015995

Issue is closed due to issue #992 as mentioned in the forum thread.

Issue History

Date Modified Username Field Change
2021-10-08 04:23 electro707 New Issue
2021-10-08 04:23 electro707 File Added: bench_meter.FCStd
2021-10-08 04:42 electro707 Note Added: 0015962
2021-10-13 14:14 openBrain Status new => feedback
2021-10-13 14:14 openBrain Note Added: 0015971
2021-10-13 14:14 openBrain Tag Attached: #post-to-forum
2021-10-16 04:54 electro707 Note Added: 0015990
2021-10-16 04:54 electro707 Status feedback => new
2021-10-16 04:54 electro707 Note Edited: 0015990
2021-10-22 03:09 electro707 Note Added: 0015995