Freecad daily (many) segfaults

Having trouble installing or compiling FreeCAD? Get help here.
arcol
Posts: 221
Joined: Sun Nov 10, 2013 9:02 am

Freecad daily (many) segfaults

Postby arcol » Tue Jan 29, 2019 11:51 am

Hi,

I installed freecad from freecad-daily ppa on ubuntu 18.04.

Code: Select all

freecad-daily                                                    0.18~beta1+git201901290233~ubuntu18.04.1
When I start (from console), this is the error message:

Code: Select all

During initialization the error No module named QtWidgets occurred in /usr/lib/freecad-daily/Mod/Ship/InitGui.py
Please look into the log file for further information
During initialization the error No module named QtWidgets occurred in /usr/lib/freecad-daily/Mod/Plot/InitGui.py
Please look into the log file for further information
During initialization the error No module named QtWidgets occurred in /usr/lib/freecad-daily/Mod/Tux/InitGui.py
Please look into the log file for further information
No module named QtWidgets
What package is missing? Any idea?

Also it segfaults if I change between Draft and Part workbench:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f8aada05f20]
#1  0x7f8aacfa7107 in SoState::getElement(int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x167
#2  0x7f8aacec4217 in SoViewportRegionElement::set(SoState*, SbViewportRegion const&) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x27
#3  0x7f8aacdf9e19 in SoHandleEventAction::beginTraversal(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x39
#4  0x7f8aacdf0a82 in SoAction::apply(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x372
#5  0x7f8ab0749f58 in Gui::NavigationStyle::handleEventInForeground(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x88
#6  0x7f8ab074bf02 in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x152
#7  0x7f8ab0748cc8 in Gui::NavigationStyle::processEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0xf8
#8  0x7f8ab0768963 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x63
#9  0x7f8ab072d5f5 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x185
#10  0x7f8aae5e868c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x7c
#11  0x7f8aaebfd805 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x75
#12  0x7f8aaec0564f in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7ff
#13  0x7f8ab0509448 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x88
#14  0x7f8aae5e89a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
#15  0x7f8aaec04622 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d2
#16  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1ae14b) [0x7f8aaec5714b]
#17  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1b07ba) [0x7f8aaec597ba]
#18  0x7f8aaebfd82c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x9c
#19  0x7f8aaec050f4 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x2a4
#20  0x7f8ab0509448 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x88
#21  0x7f8aae5e89a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
#22  0x7f8aaa309523 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x6f3
#23  0x7f8aaa30aff5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x135
#24  0x7f8aaa2e22eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0xab
#25  /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x9d1c0) [0x7f8a9e64c1c0]
#26  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7f8aa8a96287]
#27  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c4c0) [0x7f8aa8a964c0]
#28  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f8aa8a9654c]
#29  0x7f8aae6418ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x5f
#30  0x7f8aae5e69ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13a
#31  0x7f8aae5efa84 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x94
#32  0x7f8ab048f19b in Gui::Application::runApplication() from /usr/lib/freecad-daily/lib/libFreeCADGui.so+0x133b
#33  freecad(main+0x6ad) [0x557ddd20f47d]
#34  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f8aad9e8b97]
#35  freecad(_start+0x2a) [0x557ddd2101ca]
gdb backtrace:

Code: Select all

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007ffff3acc107 in SoState::getElement(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
(gdb) bt
#0  0x00007ffff3acc107 in SoState::getElement(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#1  0x00007ffff39e9217 in SoViewportRegionElement::set(SoState*, SbViewportRegion const&) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#2  0x00007ffff391ee19 in SoHandleEventAction::beginTraversal(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#3  0x00007ffff3915a82 in SoAction::apply(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#4  0x00007ffff726ef58 in Gui::NavigationStyle::handleEventInForeground(SoEvent const*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#5  0x00007ffff7270f02 in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#6  0x00007ffff726dcc8 in Gui::NavigationStyle::processEvent(SoEvent const*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#7  0x00007ffff728d963 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#8  0x00007ffff72525f5 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#9  0x00007ffff510d68c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff5722805 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff572a64f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff702e448 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#13 0x00007ffff510d9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff5729622 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff577c14b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff577e7ba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff572282c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff572a0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff702e448 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#20 0x00007ffff510d9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff0e2e523 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007ffff0e2fff5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ffff0e072eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007fffe51711c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#25 0x00007fffef5bb287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fffef5bb4c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fffef5bb54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff51668ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ffff510b9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff5114a84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff6fb419b in Gui::Application::runApplication() () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#32 0x000055555555747d in main ()
I wanted to create a cylinder and attach a sketch to its side. It also segfaulted. Backtrace:

Code: Select all

Unknown command 'Sketcher_ProfilesHexagon1'
Show.TempoVis.isIn3DView error: 'NoneType' object has no attribute 'getTail'Show.TempoVis.isIn3DView error: 'NoneType' object has no attribute 'getTail'
Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007ffff3acc107 in SoState::getElement(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
(gdb) bt
#0  0x00007ffff3acc107 in SoState::getElement(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#1  0x00007ffff39d51d4 in SoInt32Element::set(int, SoState*, SoNode*, int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#2  0x00007ffff3b22218 in SoSwitch::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#3  0x00007ffff3915504 in SoAction::traverse(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#4  0x00007ffff3ab5008 in SoChildList::traverse(SoAction*, int, int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#5  0x00007ffff3b044e6 in SoGroup::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#6  0x00007ffff3b1e967 in SoSeparator::doAction(SoAction*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#7  0x00007ffff3915504 in SoAction::traverse(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#8  0x00007ffff39255a1 in SoSearchAction::beginTraversal(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#9  0x00007ffff3915a82 in SoAction::apply(SoNode*) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80c
#10 0x00007ffff728a9ac in Gui::View3DInventorViewer::searchNode(SoNode*) const () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#11 0x00007ffff6ffa273 in Gui::Document::getViewOfNode(SoNode*) const () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#12 0x00007fffadb5d1c5 in SketcherGui::ViewProviderSketch::getScaleFactor() () from /usr/lib/freecad-daily/lib/SketcherGui.so
#13 0x00007fffadb6bdc4 in SketcherGui::ViewProviderSketch::combineConstraintIcons(std::vector<SketcherGui::ViewProviderSketch::constrIconQueueItem, std::allocator<SketcherGui::ViewProviderSketch::constrIconQueueItem> >) () from /usr/lib/freecad-daily/lib/SketcherGui.so
#14 0x00007fffadb6d2fb in SketcherGui::ViewProviderSketch::drawConstraintIcons() () from /usr/lib/freecad-daily/lib/SketcherGui.so
#15 0x00007fffadb72d7a in SketcherGui::ViewProviderSketch::draw(bool, bool) () from /usr/lib/freecad-daily/lib/SketcherGui.so
#16 0x00007fffadb7ff26 in SketcherGui::ViewProviderSketch::setEdit(int) () from /usr/lib/freecad-daily/lib/SketcherGui.so
#17 0x00007ffff72ba4fa in Gui::ViewProvider::startEditing(int) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#18 0x00007ffff728999d in Gui::View3DInventorViewer::setEditingViewProvider(Gui::ViewProvider*, int) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#19 0x00007ffff6ffa47f in Gui::Document::setEdit(Gui::ViewProvider*, int) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#20 0x00007ffff7011226 in Gui::DocumentPy::setEdit(_object*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#21 0x00007ffff70113d7 in Gui::DocumentPy::staticCallback_setEdit(_object*, _object*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#22 0x00007ffff5ec41d0 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007ffff5ff4278 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#24 0x00007ffff5ebc029 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#25 0x00007ffff5f5f546 in PyRun_StringFlags () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#26 0x00007ffff64429a6 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) () from /usr/lib/freecad-daily/lib/libFreeCADBase.so
#27 0x00007ffff705daf3 in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#28 0x00007fffada9bc56 in CmdSketcherNewSketch::activated(int) () from /usr/lib/freecad-daily/lib/SketcherGui.so
#29 0x00007ffff7062f7b in Gui::Command::invoke(int) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#30 0x00007ffff513c5b5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff571c122 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff571e80c in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff581510b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff581536d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff58f3fea in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff5761038 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff58f4084 in QToolButton::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff572282c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007ffff572a64f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff702e448 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#41 0x00007ffff510d9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007ffff5729622 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
---Type <return> to continue, or q <return> to quit--- 
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ffff577c14b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff577e7ba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff572282c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007ffff572a0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007ffff702e448 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#48 0x00007ffff510d9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff0e2e523 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#50 0x00007ffff0e2fff5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#51 0x00007ffff0e072eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#52 0x00007fffe51711c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#53 0x00007fffef5bb287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fffef5bb4c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fffef5bb54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007ffff51668ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007ffff510b9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007ffff5114a84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007ffff6fb419b in Gui::Application::runApplication() () from /usr/lib/freecad-daily/lib/libFreeCADGui.so
#60 0x000055555555747d in main ()
(gdb)  
arcol
Posts: 221
Joined: Sun Nov 10, 2013 9:02 am

Re: Freecad daily (many) segfaults

Postby arcol » Tue Jan 29, 2019 12:03 pm

I wanted to create this simple object:
oDZXsk6.jpg
oDZXsk6.jpg (43.29 KiB) Viewed 861 times
A big cylinder has two smaller cylinders (pipes) sticking out.
I thought I create big cylinder (D=1900mm, height=1450mm) first,
and then attach a sketch somehow to the side to be able to extrude two smaller cylinders from it.

It would be a water tank in the end:)
Jee-Bee
Posts: 2011
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Freecad daily (many) segfaults

Postby Jee-Bee » Tue Jan 29, 2019 12:35 pm

Please at your FreeCAD info (Help >> about FreeCAD)

if you install AppImage from https://github.com/FreeCAD/FreeCAD/releases. do you have same issues as well?
arcol
Posts: 221
Joined: Sun Nov 10, 2013 9:02 am

Re: Freecad daily (many) segfaults

Postby arcol » Tue Jan 29, 2019 12:51 pm

Code: Select all

OS: Ubuntu 18.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15713 (Git)
Build type: Release
Branch: master
Hash: 93dd00cc3953416bf46fb0a5b7b3c6397df6e4d0
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Hungarian/Hungary (hu_HU)
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Freecad daily (many) segfaults

Postby NormandC » Tue Jan 29, 2019 3:49 pm

Hi,

arcol wrote:
Tue Jan 29, 2019 11:51 am

Code: Select all

During initialization the error No module named QtWidgets occurred in /usr/lib/freecad-daily/Mod/Ship/InitGui.py
Please look into the log file for further information 
During initialization the error No module named QtWidgets occurred in /usr/lib/freecad-daily/Mod/Plot/InitGui.py 
Please look into the log file for further information
Ship and Plot have not been maintained for years, they aren't functional currently in v0.17/v0.18. Loooo has been working to remove them from FreeCAD's source, and maybe make them build again. Personally, I removed them from my list of workbenches so they don't load.

Not sure about Tux. I don't have issues with it. Tux is the module that hosts the Navigation Indicator.

arcol wrote:
Tue Jan 29, 2019 11:51 am
#1 0x7f8aacfa7107 in SoState::getElement(int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x167
This is related to the new libcoin80c package uploaded to the PPA, and possibly to python-pivy. Had you previously applied the fix to prevent crash on SVG open (see Known issues)? It required to downgrade the libexpat1 package to the version from Ubuntu 16.04. If you did, then there is a conflict between old and new versions of libcoin, python-pivy and libexpat1.
triplus
Posts: 9428
Joined: Mon Dec 12, 2011 4:45 pm

Re: Freecad daily (many) segfaults

Postby triplus » Tue Jan 29, 2019 6:18 pm

AppImage will likely work and AFAIK FreeCAD from the Daily PPA should work too. Does this look OK:

Code: Select all

sudo apt update
sudo apt upgrade
arcol
Posts: 221
Joined: Sun Nov 10, 2013 9:02 am

Re: Freecad daily (many) segfaults

Postby arcol » Tue Jan 29, 2019 8:44 pm

triplus wrote:
Tue Jan 29, 2019 6:18 pm
AppImage will likely work and AFAIK FreeCAD from the Daily PPA should work too. Does this look OK:

Code: Select all

sudo apt update
sudo apt upgrade
Hmm, seems like it is updated. I'll test more, but it does not crash anymore.
Also python-pivy is updated (0.5.0->0.6.4)

My libexpat1 version is 2.2.5-3. I have not applied any fix manually.

I'll report back if it still crashes, I will test in the coming days. I need to polish my modelling skills, this simple cylinder is tough to model...
triplus
Posts: 9428
Joined: Mon Dec 12, 2011 4:45 pm

Re: Freecad daily (many) segfaults

Postby triplus » Tue Jan 29, 2019 9:49 pm

arcol wrote:
Tue Jan 29, 2019 8:44 pm
Hmm, seems like it is updated. I'll test more, but it does not crash.
Good to hear that.
I need to polish my modelling skills, this simple cylinder is tough to model...
It depends, on what you would like to achieve. An example:
Cylinders.png
Cylinders.png (24.3 KiB) Viewed 759 times
PartDesign AdditiveCylinder feature was added, Sketcher CreateCircle can be attached on XZ or YZ plane and can be used as a basis for PartDesign Pad feature. PartDesign Thickness was used on the result (by removing 3 faces).
arcol
Posts: 221
Joined: Sun Nov 10, 2013 9:02 am

Re: Freecad daily (many) segfaults

Postby arcol » Wed Jan 30, 2019 10:00 am

triplus wrote:
Tue Jan 29, 2019 9:49 pm
Cylinders.png

Thank you very much the pointers. I'll open a thread on "help on using freecad", because I successed creating one perpandicular cylinder,
however the second one do not show up (on pipe should be at the bottom of the side, and the other at the top of the side).

May be a user error.... :)
This is the thread:
https://forum.freecadweb.org/viewtopic. ... 59#p283359
arcol
Posts: 221
Joined: Sun Nov 10, 2013 9:02 am

Re: Freecad daily (many) segfaults

Postby arcol » Wed Jan 30, 2019 9:17 pm

Another find.

freecad-daily (ubuntu ppa) does not show Part Designs create sketch (eg. creating a circle). While the Appimage version do show it.
Do not even show the sketch's plane.

Can somebody confirm?
Last edited by arcol on Thu Jan 31, 2019 2:56 pm, edited 1 time in total.