1. Start FreeCAD. Make sure Arch WB is not autoloaded and do not activate Arch WB. Use Start "WB".
2. Load the attached file 3. Observe that FreeCAD crashes. Stacktrace below.
The file contains two draft dimensions, nothing else.
If I activate Arch WB before loading the file, FreeCAD does not crash.
If I activate Draft WB before loading the file, FreeCAD crashes.
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x152491499090]
#1 /lib/x86_64-linux-gnu/libCoin.so.80c(cc_rbptree_insert+0x17) [0x152490eba177]
#2 0x15249102de36 in SoChildList::append(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x26
#3 0x152491079cc9 in SoGroup::addChild(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x49
#4 /usr/lib/python3/dist-packages/pivy/_coin.cpython-38-x86_64-linux-gnu.so(+0x527fc0) [0x15247bb3cfc0]
#5 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8687) [0x152492cbe687]
#6 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyObject_MakeTpCall+0xab) [0x152492cbeb1b]
#7 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74df3) [0x152492a8adf3]
#8 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86) [0x152492a92ef6]
#9 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b) [0x152492a9606b]
#10 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa) [0x152492cbedaa]
#11 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d) [0x152492a8ad6d]
#12 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86) [0x152492a92ef6]
#13 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b) [0x152492a9606b]
#14 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8d27) [0x152492cbed27]
#15 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyVectorcall_Call+0x60) [0x152492cbe830]
#16 0x152495697117 in Base::pyCall(_object*, _object*) from /usr/local/freecad/lib/libFreeCADGui.so+0x3d
#17 0x152495c1f5f3 in Gui::ViewProviderPythonFeatureImp::attach(App::DocumentObject*) from /usr/local/freecad/lib/libFreeCADGui.so+0x1dd
#18 0x152495c2764f in Gui::ViewProviderPythonFeatureT<Gui::ViewProviderDocumentObject>::onChanged(App::Property const*) from /usr/local/freecad/lib/libFreeCADGui.so+0x139
#19 0x152494016dfe in App::Property::hasSetValue() from /usr/local/freecad/lib/libFreeCADApp.so+0x6c
#20 0x152494091dac in App::PropertyPythonObject::Restore(Base::XMLReader&) from /usr/local/freecad/lib/libFreeCADApp.so+0x9c8
#21 0x15249401c8fb in App::PropertyContainer::Restore(Base::XMLReader&) from /usr/local/freecad/lib/libFreeCADApp.so+0x737
#22 0x152493eb9f54 in App::ExtensionContainer::Restore(Base::XMLReader&) from /usr/local/freecad/lib/libFreeCADApp.so+0x3a
#23 0x152495bd5f5b in Gui::ViewProvider::Restore(Base::XMLReader&) from /usr/local/freecad/lib/libFreeCADGui.so+0x27
#24 0x15249560c7f1 in Gui::Document::RestoreDocFile(Base::Reader&) from /usr/local/freecad/lib/libFreeCADGui.so+0x309
#25 0x15249322593f in Base::XMLReader::readFiles(zipios::ZipInputStream&) const from /usr/local/freecad/lib/libFreeCADBase.so+0x2ab
#26 0x152493da0203 in App::Document::restore(char const*, bool, 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&) from /usr/local/freecad/lib/libFreeCADApp.so+0x567
#27 0x1524940e4e51 in App::Application::openDocumentPrivate(char const*, char const*, char const*, bool, bool, 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> > > >&&) from /usr/local/freecad/lib/libFreeCADApp.so+0x739
#28 0x1524940e33f9 in App::Application::openDocuments(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&, 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*, 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*, 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> > > >*, bool) from /usr/local/freecad/lib/libFreeCADApp.so+0x5bb
#29 0x1524940e2449 in App::Application::openDocument(char const*, bool) from /usr/local/freecad/lib/libFreeCADApp.so+0xe1
#30 0x152494128f20 in App::Application::sOpenDocument(_object*, _object*, _object*) from /usr/local/freecad/lib/libFreeCADApp.so+0xfe
#31 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8738) [0x152492cbe738]
#32 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyObject_MakeTpCall+0xab) [0x152492cbeb1b]
#33 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74df3) [0x152492a8adf3]
#34 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86) [0x152492a92ef6]
#35 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0x8fb) [0x152492be0e3b]
#36 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCodeEx+0x42) [0x152492be11c2]
#37 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCode+0x1f) [0x152492be15af]
#38 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x18c04c) [0x152492ba204c]
#39 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyRun_StringFlags+0x79) [0x152492ba2399]
#40 0x1524931d5611 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/local/freecad/lib/libFreeCADBase.so+0xeb
#41 0x152495712c59 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /usr/local/freecad/lib/libFreeCADGui.so+0xdd
#42 0x1524957128a8 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /usr/local/freecad/lib/libFreeCADGui.so+0x128
#43 0x152495559ad6 in Gui::Application::open(char const*, char const*) from /usr/local/freecad/lib/libFreeCADGui.so+0x3de
#44 0x1524955d84cf in Gui::Application::sLoadFile(_object*, _object*) from /usr/local/freecad/lib/libFreeCADGui.so+0x253
#45 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8687) [0x152492cbe687]
#46 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyObject_MakeTpCall+0xab) [0x152492cbeb1b]
#47 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74df3) [0x152492a8adf3]
#48 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86) [0x152492a92ef6]
#49 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0x8fb) [0x152492be0e3b]
#50 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCodeEx+0x42) [0x152492be11c2]
#51 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCode+0x1f) [0x152492be15af]
#52 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x18c04c) [0x152492ba204c]
#53 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyRun_StringFlags+0x79) [0x152492ba2399]
#54 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x1cfad0) [0x152492be5ad0]
#55 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x25f537) [0x152492c75537]
#56 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d) [0x152492a8ad6d]
#57 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x12fd) [0x152492a8c46d]
#58 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0x8fb) [0x152492be0e3b]
#59 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCodeEx+0x42) [0x152492be11c2]
#60 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCode+0x1f) [0x152492be15af]
#61 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x18c04c) [0x152492ba204c]
#62 /lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyRun_StringFlags+0x79) [0x152492ba2399]
#63 0x1524931d5611 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/local/freecad/lib/libFreeCADBase.so+0xeb
#64 0x152495712c59 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /usr/local/freecad/lib/libFreeCADGui.so+0xdd
#65 0x1524957128a8 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /usr/local/freecad/lib/libFreeCADGui.so+0x128
#66 0x15246341c73b in WebGui::BrowserView::urlFilter(QUrl const&) from /usr/local/freecad-latest/lib/WebGui.so+0x58f
#67 /usr/local/freecad-latest/lib/WebGui.so(+0x515e8) [0x15246341e5e8]
#68 0x152491af7c2a in QObject::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x23a
#69 0x15249252825d in QWidget::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x22d
#70 0x15249263d148 in QMainWindow::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x68
#71 0x1524924e5a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x86
#72 0x1524924ef0f0 in QApplication::notify(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x330
#73 0x1524956b7f82 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/local/freecad/lib/libFreeCADGui.so+0x112
#74 0x152491acb80a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x18a
#75 0x152491ace488 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x148
#76 /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2dee37) [0x152491b23e37]
#77 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x15248f77717d]
#78 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52400) [0x15248f777400]
#79 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x15248f7774a3]
#80 0x152491b23435 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x65
#81 0x152491aca3ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12b
#82 0x152491ad2116 in QCoreApplication::exec() from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x96
#83 0x152495564b16 in Gui::Application::runApplication() from /usr/local/freecad/lib/libFreeCADGui.so+0x28f2
#84 /usr/local/freecad/bin/FreeCAD(+0x12acf) [0x55baead82acf]
#85 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x15249147a083]
#86 /usr/local/freecad/bin/FreeCAD(+0x11cae) [0x55baead81cae]
Code: Select all
OS: Ubuntu 20.04.5 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: recent master branch (see hash)
Build type: Debug
Branch: master
Hash: 5df954690787dedbbf3c35f658f010f388474676
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United States (en_US)
Installed mods:
* 3DfindIT 1.2.0
* Render 2022.2.0
* BIM 2021.12.0
* Reinforcement
* Manipulator 1.4.9
* Assembly4.backup1662941442.2770898
* parts_library
* Assembly4 0.12.4
* fasteners 0.4.10
* dodo