View Issue Details

IDProjectCategoryView StatusLast Update
0004793FreeCADBugpublic2021-11-28 16:25
Reporterwill1 Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version0.19 
Summary0004793: FreeCAD crashes when trying to create a new file in sway wm
Descriptionwhen using [sway](https://github.com/swaywm/sway) window manager in linux I get a crash when I do `File > New` with the output:
```
FreeCAD 0.19.2, Libs: 0.19.2R2_voidlinux
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

connect failed: No such file or directory
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/libc.so.6(+0x3d000) [0x7ff4af357000]
#1 /usr/lib/libX11.so.6(XDefaultScreenOfDisplay+0) [0x7ff4acf552e0]
0000002 /usr/lib/libCoin.so.80(+0x458c2e) [0x7ff4aeeb3c2e]
0000003 /usr/lib/libCoin.so.80(glxglue_init+0x3c) [0x7ff4aeeb44dc]
0000004 /usr/lib/libCoin.so.80(cc_glglue_instance+0x122) [0x7ff4aeead002]
0000005 0x7ff4aed3dbe8 in SoGLRenderActionP::isDirectRendering(SoState const*) const from /usr/lib/libCoin.so.80+0x48
0000006 0x7ff4aed3ff53 in SoGLRenderActionP::render(SoNode*) from /usr/lib/libCoin.so.80+0xc3
0000007 0x7ff4aed395c2 in SoAction::apply(SoNode*) from /usr/lib/libCoin.so.80+0x2d2
0000008 0x7ff4b1c1e5f9 in Gui::SoBoxSelectionRenderAction::apply(SoNode*) from /usr/lib/freecad/lib64/libFreeCADGui.so+0x29
0000009 0x7ff4b1cc2833 in Gui::View3DInventorViewer::renderScene() from /usr/lib/freecad/lib64/libFreeCADGui.so+0x143
0000010 0x7ff4b1c8a415 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*) from /usr/lib/freecad/lib64/libFreeCADGui.so+0x275
0000011 0x7ff4b1c90282 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::paintEvent(QPaintEvent*) from /usr/lib/freecad/lib64/libFreeCADGui.so+0x42
0000012 0x7ff4b057c03e in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1ce
0000013 0x7ff4b06244de in QFrame::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1e
0000014 0x7ff4afa11f03 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x93
0000015 0x7ff4b053c16e in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x6e
0000016 0x7ff4b1a05328 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib64/libFreeCADGui.so+0x88
0000017 0x7ff4afa1219a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x12a
0000018 0x7ff4b0574166 in QWidgetPrivate::sendPaintEvent(QRegion const&) from /usr/lib/libQt5Widgets.so.5+0x36
0000019 0x7ff4b05749b2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x7f2
0000020 0x7ff4b0575d03 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x503
0000021 0x7ff4b05746cc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x50c
0000022 0x7ff4b0575d03 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x503
0000023 0x7ff4b05746cc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x50c
0000024 0x7ff4b0575d03 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x503
0000025 0x7ff4b05746cc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x50c
0000026 0x7ff4b0575d03 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x503
0000027 0x7ff4b05746cc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) from /usr/lib/libQt5Widgets.so.5+0x50c
0000028 /usr/lib/libQt5Widgets.so.5(+0x173810) [0x7ff4b054c810]
0000029 0x7ff4b057c767 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x8f7
0000030 0x7ff4b053c17f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x7f
0000031 0x7ff4b1a05328 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib64/libFreeCADGui.so+0x88
0000032 0x7ff4afa1219a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x12a
0000033 0x7ff4afa14bd1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /usr/lib/libQt5Core.so.5+0x171
0000034 /usr/lib/libQt5Widgets.so.5(+0x475933) [0x7ff4b084e933]
0000035 0x7ff4afa3e1c1 in QObject::event(QEvent*) from /usr/lib/libQt5Core.so.5+0x291
0000036 0x7ff4b053c17f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x7f
0000037 0x7ff4b1a05328 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib64/libFreeCADGui.so+0x88
0000038 0x7ff4afa1219a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x12a
#39 0x7ff4afa14bd1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /usr/lib/libQt5Core.so.5+0x171
#40 /usr/lib/libQt5Core.so.5(+0x306ef3) [0x7ff4afa69ef3]
0000041 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x25b) [0x7ff4ad54ec0b]
0000042 /usr/lib/libglib-2.0.so.0(+0x53eb8) [0x7ff4ad54eeb8]
0000043 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2f) [0x7ff4ad54ef6f]
0000044 0x7ff4afa6957f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x5f
0000045 0x7ff4afa10b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x12b
0000046 0x7ff4afa18dd0 in QCoreApplication::exec() from /usr/lib/libQt5Core.so.5+0x90
0000047 0x7ff4b197af68 in Gui::Application::runApplication() from /usr/lib/freecad/lib64/libFreeCADGui.so+0x1978
0000048 FreeCAD(+0x4954) [0x55bdd297a954]
0000049 /usr/lib/libc.so.6(__libc_start_main+0xea) [0x7ff4af341e0a]
0000050 FreeCAD(+0x4c4a) [0x55bdd297ac4a]
```
Steps To ReproduceInstall FreeCAD from the void repository, open it in sway window manager, create a new file
TagsNo tags attached.
FreeCAD InformationOS: void (Sway)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.2.2_voidlinux
Build type: Release
Python version: 3.10.0
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-11-28 16:25 will1 New Issue