You are not logged in.

#1 2019-05-20 18:22:52

Alp
Member
Registered: 2008-09-27
Posts: 89

FreeCAD segmentation fault

I installed FreeCAD from AUR. When starting it i see the welcome screen. If i open a new project or an example it just quits the application with a segementation fault. See the following log:

$ freecad
FreeCAD 0.18, Libs: 0.18R16117 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Program received signal SIGSEGV, Segmentation fault.
#0  /usr/lib/libc.so.6(+0x378b0) [0x7fecd65a98b0]
#1  /usr/lib/libc.so.6(+0x15f7ee) [0x7fecd66d17ee]
#2  /usr/lib/libCoin.so.80(cc_glglue_instance+0x15d) [0x7fecd60d82bd]
#3  0x7fecd5f59719 in SoGLRenderActionP::isDirectRendering(SoState const*) const from /usr/lib/libCoin.so.80+0x49
#4  0x7fecd5f5bb36 in SoGLRenderActionP::render(SoNode*) from /usr/lib/libCoin.so.80+0xc6
#5  0x7fecd5f5bd82 in SoGLRenderAction::beginTraversal(SoNode*) from /usr/lib/libCoin.so.80+0xa2
#6  0x7fecd5f550d2 in SoAction::apply(SoNode*) from /usr/lib/libCoin.so.80+0x442
#7  0x7fecd8329efa in Gui::SoBoxSelectionRenderAction::apply(SoNode*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x2a
#8  0x7fecd83c47a8 in Gui::View3DInventorViewer::renderScene() from /usr/lib/freecad/lib/libFreeCADGui.so+0x158
#9  0x7fecd8392fd5 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x1b5
#10  0x7fecd839afbe in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::paintEvent(QPaintEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x1e
#11  0x7fecd6faeaf8 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1d8
#12  0x7fecd705671f in QFrame::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1f
#13  0x7fecd72afcac in QGraphicsView::viewportEvent(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x16c
#14  0x7fecd8393129 in SIM::Coin3D::Quarter::QuarterWidget::viewportEvent(QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x99
#15  0x7fecd6b5c55b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x9b
#16  0x7fecd6f6dd94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x74
#17  0x7fecd6f753c1 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x211
#18  0x7fecd8177159 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x89
#19  0x7fecd6b5c849 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x179
#20  0x7fecd6fa7467 in QWidgetPrivate::sendPaintEvent(QRegion const&) from /usr/lib/libQt5Widgets.so.5+0x37
#21  0x7fecd6fa7d56 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x896
#22  0x7fecd6fa898e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x4de
#23  0x7fecd6fa79cd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x50d
#24  0x7fecd6fa898e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x4de
#25  0x7fecd6fa79cd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x50d
#26  0x7fecd6fa898e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x4de
#27  0x7fecd6fa79cd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x50d
#28  0x7fecd6fa898e in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x4de
#29  0x7fecd6fa79cd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/libQt5Widgets.so.5+0x50d
#30  /usr/lib/libQt5Widgets.so.5(+0x168f89) [0x7fecd6f7df89]
#31  /usr/lib/libQt5Widgets.so.5(+0x169379) [0x7fecd6f7e379]
#32  0x7fecd6f96337 in QWidgetPrivate::syncBackingStore() from /usr/lib/libQt5Widgets.so.5+0xa7
#33  0x7fecd6faec39 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x319
#34  0x7fecd70bc405 in QMainWindow::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x65
#35  0x7fecd842fc14 in Gui::MainWindow::event(QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x1a4
#36  0x7fecd6f6dda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x84
#37  0x7fecd6f753c1 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x211
#38  0x7fecd8177159 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x89
#39  0x7fecd6b5c849 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x179
#40  /usr/lib/libQt5Widgets.so.5(+0x16a00d) [0x7fecd6f7f00d]
#41  /usr/lib/libQt5Widgets.so.5(+0x16af87) [0x7fecd6f7ff87]
#42  0x7fecd6f9818d in QWidget::repaint(QRect const&) from /usr/lib/libQt5Widgets.so.5+0x8d
#43  0x7fecd6f981ed in QWidget::repaint() from /usr/lib/libQt5Widgets.so.5+0x3d
#44  /usr/lib/libQt5Widgets.so.5(+0x247836) [0x7fecd705c836]
#45  0x7fecd705ca46 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/libQt5Widgets.so.5+0xe6
#46  0x7fecd714c27b in QToolButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/libQt5Widgets.so.5+0xb
#47  0x7fecd6faeaf8 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1d8
#48  0x7fecd714c324 in QToolButton::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x34
#49  0x7fecd6f6dda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x84
#50  0x7fecd6f75609 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x459
#51  0x7fecd8177159 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x89
#52  0x7fecd6b5c849 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x179
#53  0x7fecd6f74937 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /usr/lib/libQt5Widgets.so.5+0x1b7
#54  /usr/lib/libQt5Widgets.so.5(+0x1b4c13) [0x7fecd6fc9c13]
#55  /usr/lib/libQt5Widgets.so.5(+0x1b7cd7) [0x7fecd6fcccd7]
#56  0x7fecd6f6dda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x84
#57  0x7fecd6f753c1 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x211
#58  0x7fecd8177159 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x89
#59  0x7fecd6b5c849 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x179
#60  0x7fecd4dea52d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/libQt5Gui.so.5+0x6dd
#61  0x7fecd4deb956 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib/libQt5Gui.so.5+0x136
#62  0x7fecd4dc4d9c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Gui.so.5+0xbc
#63  /usr/lib/libQt5XcbQpa.so.5(+0x6db8c) [0x7fecd020cb8c]
#64  /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2bf) [0x7fecd421690f]
#65  /usr/lib/libglib-2.0.so.0(+0x6d869) [0x7fecd4218869]
#66  /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7fecd42188ae]
#67  0x7fecd6bb1969 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x69
#68  0x7fecd6b5b4dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x13c
#69  0x7fecd6b63596 in QCoreApplication::exec() from /usr/lib/libQt5Core.so.5+0x96
#70  0x7fecd810e385 in Gui::Application::runApplication() from /usr/lib/freecad/lib/libFreeCADGui.so+0x1565
#71  freecad(main+0x6ef) [0x556b96ba545f]
#72  /usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7fecd6595ce3]
#73  freecad(_start+0x2e) [0x556b96ba577e]

The stack trace indicates some kind of problem with QT5. Any idea what could cause this and how to debug the root cause?

Offline

#2 2019-05-20 18:43:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,123
Website

Re: FreeCAD segmentation fault

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

#3 2019-05-20 18:55:39

Alp
Member
Registered: 2008-09-27
Posts: 89

Re: FreeCAD segmentation fault

jasonwryan wrote:

Moving to AUR Issues...

Thanks, didn't know that was the right place to ask.

Offline

#4 2019-06-08 12:55:51

kunda
Member
Registered: 2019-01-06
Posts: 9

Re: FreeCAD segmentation fault

@Alp please also post to the comment section of https://aur.archlinux.org/packages/freecad/

Offline

Board footer

Powered by FluxBB