I'm havig a bit of trouble with a file that worked flawlessly prior to restarting FC. The file contains a working config table. After restarting FC , if I go and try to change the configuration of the body in the "Bracket Type" group FC will crash with this error message in the terminal. The strange thing is that it worked flawlessly prior to restarting FC.
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f8619588210]
#1 0x7f84efcac308 in Sketcher::SketchObject::rebuildExternalGeometry(bool) from /tmp/.mount_FreeCAuCb0FZ/usr/lib64/Sketcher.so+0x1f38
#2 0x7f84efcc5d23 in Sketcher::SketchObject::execute() from /tmp/.mount_FreeCAuCb0FZ/usr/lib64/Sketcher.so+0x63
#3 0x7f861ab539da in App::DocumentObject::recompute() from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADApp.so+0x8a
#4 0x7f861471029a in Part::Feature::recompute() from /tmp/.mount_FreeCAuCb0FZ/usr/lib64/Part.so+0xa
#5 0x7f861aae3c49 in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADApp.so+0x209
#6 0x7f861ab3b786 in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADApp.so+0x596
#7 0x7f861ba25af4 in Gui::PropertyEditor::PropertyEditor::closeTransaction() from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADGui.so+0xe4
#8 0x7f861ba29ecd in Gui::PropertyEditor::PropertyEditor::closeEditor(QWidget*, QAbstractItemDelegate::EndEditHint) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADGui.so+0x4d
#9 /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Widgets.so.5(+0x2f84ff) [0x7f861a4364ff]
#10 0x7f8619aa2a18 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0x6c0
#11 0x7f861a4437f4 in QAbstractItemDelegate::closeEditor(QWidget*, QAbstractItemDelegate::EndEditHint) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Widgets.so.5+0x40
#12 0x7f8619aa1594 in QObject::event(QEvent*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0xbc
#13 0x7f861a2b27f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Widgets.so.5+0xdc
#14 0x7f861a2b831d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
#15 0x7f861b74f809 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADGui.so+0x89
#16 0x7f8619a8c606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0x86
#17 0x7f8619a8c83e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0x1da
#18 /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5(+0x1dc54c) [0x7f8619abb54c]
#19 /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7f861613480d]
#20 /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/./libglib-2.0.so.0(+0x54aa1) [0x7f8616134aa1]
#21 /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7f8616134b41]
#22 0x7f8619abb0e8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0x5e
#23 0x7f8619a89019 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0x187
#24 0x7f8619a8ce8f in QCoreApplication::exec() from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib/libQt5Core.so.5+0xfd
#25 0x7f861b6ca527 in Gui::Application::runApplication() from /tmp/.mount_FreeCAuCb0FZ/usr/bin/../lib64/libFreeCADGui.so+0x1807
#26 /tmp/.mount_FreeCAuCb0FZ/usr/bin/FreeCADLink(+0x44bf) [0x55f2d74d34bf]
#27 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f86195690b3]
#28 /tmp/.mount_FreeCAuCb0FZ/usr/bin/FreeCADLink(+0x47d9) [0x55f2d74d37d9]
Code: Select all
OS: KDE neon User Edition 5.20 (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.0125.23662 +3138 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: 40e8834692a9f7d1ede120da0181b0361081bd1c
Python version: 3.8.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
There is another problem with this file tough. Prior to the crashes I was actually able to change the configuration of the body and make a link out of it. Set the link property "LinkCopyOnChange" to "Enabled". If the Bracket configuration is changed , the link geometry gets all messed up. Triyng to understand why this might be I noticed that some sketches of the linked object lose some of the constrints that actually exist in the parent body thus upon changing the dimensions of the linked braket using the bracket type property , the sketches won't follow the change because of the lack of apropriate constraints messing up the geometry. Could this be related to the interaction between link and the recent sketcher changes?
The configuration table and variant link are such powerfull tools , I really like them.Thank you.
BR