Segfault when using part desgin fillet

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
patn
Posts: 27
Joined: Fri Sep 21, 2018 10:59 pm

Re: Segfault when using part desgin fillet

Post by patn »

Still crashes with current linux daily. Maybe OCC had a regression from 7.2 to 7.3...

OS: Debian GNU/Linux testing (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15094 (Git) AppImage
Build type: Release
Branch: master
Hash: 53ba33a805369c168644c9997fbb27cdec9d278b
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
kbex
Posts: 1
Joined: Sat Nov 07, 2020 12:25 pm

Re: Segfault when using part desgin fillet

Post by kbex »

thought to update about this issue i've stumbled upon.
trying to do a fillet with a 6mm radius get a segmentation fault and the program crashes.
attached is the file and screenshot, i hope this helps in some way.
Screenshot from 2020-11-07 13-46-29.png
Screenshot from 2020-11-07 13-46-29.png (105.64 KiB) Viewed 279 times

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7fe39df44210]
#1  0x7fe37d32bb98 in Geom2d_Curve::Value(double) const from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKG2d.so.7+0x18
#2  0x7fe37f4ce908 in ChFi3d_Builder::PerformMoreThreeCorner(int, int) from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKFillet.so.7+0xa708
#3  0x7fe37f4afffe in ChFi3d_Builder::PerformIntersectionAtEnd(int) from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKFillet.so.7+0x7cde
#4  0x7fe37f4b3e0a in ChFi3d_Builder::PerformOneCorner(int, bool) from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKFillet.so.7+0x10ba
#5  0x7fe37f4504fe in ChFi3d_Builder::PerformFilletOnVertex(int) from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKFillet.so.7+0x51e
#6  0x7fe37f4514fc in ChFi3d_Builder::Compute() from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKFillet.so.7+0xe5c
#7  0x7fe37f6164d4 in BRepFilletAPI_MakeFillet::Build() from /tmp/.mount_FreeCAd64k6i/usr/lib/./libTKFillet.so.7+0x34
#8  0x7fe328609409 in PartDesign::Fillet::execute() from /tmp/.mount_FreeCAd64k6i/usr/lib/_PartDesign.so+0x499
#9  0x7fe39fd00f02 in App::DocumentObject::recompute() from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADApp.so+0xf2
#10  0x7fe384c1116c in Part::Feature::recompute() from /tmp/.mount_FreeCAd64k6i/usr/lib/Part.so+0xc
#11  0x7fe39fc9308c in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADApp.so+0x31c
#12  0x7fe39fced5dc in App::Document::recomputeFeature(App::DocumentObject*, bool) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADApp.so+0xdc
#13  0x7fe39e4600d2 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Core.so.5+0x780
#14  0x7fe3a0ba3664 in Gui::QuantitySpinBox::valueChanged(double) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADGui.so+0x44
#15  0x7fe3a0ba4d97 in Gui::QuantitySpinBox::updateFromCache(bool) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADGui.so+0xb7
#16  0x7fe3a0ba657d in Gui::QuantitySpinBox::stepBy(int) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADGui.so+0x14d
#17  /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5(+0x27b74e) [0x7fe39ed7b74e]
#18  0x7fe39ed7b923 in QAbstractSpinBox::mousePressEvent(QMouseEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0x9d
#19  0x7fe39ec9fc0f in QWidget::event(QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0x121
#20  0x7fe39ed7e457 in QAbstractSpinBox::event(QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0xc9
#21  0x7fe39ec7483a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0xde
#22  0x7fe39ec790a9 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0x79d
#23  0x7fe3a078c0b9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADGui.so+0x89
#24  0x7fe39e449a9c in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Core.so.5+0x88
#25  0x7fe39ec78553 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0x283
#26  /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5(+0x1af580) [0x7fe39ecaf580]
#27  /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5(+0x1b03d2) [0x7fe39ecb03d2]
#28  0x7fe39ec7483a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0xde
#29  0x7fe39ec7a405 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Widgets.so.5+0x1af9
#30  0x7fe3a078c0b9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADGui.so+0x89
#31  0x7fe39e449a9c in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Core.so.5+0x88
#32  0x7fe39e7f0724 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Gui.so.5+0x684
#33  0x7fe39e7f12f7 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Gui.so.5+0x175
#34  0x7fe39e7de020 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Gui.so.5+0x64
#35  /tmp/.mount_FreeCAd64k6i/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5b1ea) [0x7fe399f1f1ea]
#36  /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x2cb) [0x7fe39b3e5d9b]
#37  /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/./libglib-2.0.so.0(+0x54fe1) [0x7fe39b3e5fe1]
#38  /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7fe39b3e606e]
#39  0x7fe39e478d23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Core.so.5+0x63
#40  0x7fe39e4464d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Core.so.5+0x187
#41  0x7fe39e44a34f in QCoreApplication::exec() from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libQt5Core.so.5+0x105
#42  0x7fe3a07024f2 in Gui::Application::runApplication() from /tmp/.mount_FreeCAd64k6i/usr/bin/../lib/libFreeCADGui.so+0x15a2
#43  /tmp/.mount_FreeCAd64k6i/usr/bin/freecad(+0x37cd) [0x55e5ecdb97cd]
#44  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fe39df250b3]
#45  /tmp/.mount_FreeCAd64k6i/usr/bin/freecad(+0x4521) [0x55e5ecdba521]

OS: Ubuntu 20.04.1 LTS (ubuntu:GNOME/ubuntu-wayland)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22894 (Git) AppImage
Build type: Release
Branch: master
Hash: 9eb080488d970d313c538473e7272117ea0a7cd1
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Attachments
nob_Phone_holder.FCStd
(9.97 KiB) Downloaded 8 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Segfault when using part desgin fillet

Post by GeneFC »

Looks quite similar to current discussion at

https://forum.freecadweb.org/viewtopic.php?f=3&t=51913

Gene
Post Reply