Void-packages: FreeCAD 0.18.3 crashing on wayland

Created on 21 Sep 2019  路  4Comments  路  Source: void-linux/void-packages

System

  • xuname:
    Void 5.2.16_1 x86_64 GenuineIntel uptodate rrrmFFF
  • package:
    FreeCAD 0.18.3

kwayland-5.62.0_1
kwayland-integration-5.16.5_1
qt5-wayland-5.13.0_4
wayland-1.17.0_1
xorg-server-xwayland-1.20.5_2

Expected behavior

Start FreeCAD -> Create new document (File->New) ->start sketching as it works on X server

Actual behavior

Start FreeCAD -> Create new document (File->New) -> app crashes with the following error:

FreeCAD 0.18.3, Libs: 0.18.3R1_voidlinux

FreeCAD: gl.cpp:2344: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.

Steps to reproduce the behavior

Run FreeCAD 0.18 on wayland

bug

Most helpful comment

As a workaround, does forcing Qt5 to use X11 backend works within the wayland context ?

$ QT_QPA_PLATFORM=xcb /usr/bin/FreeCAD

Others indicate that Coin3D might be the problem. I need a deeper look:
https://forum.freecadweb.org/viewtopic.php?t=33359

All 4 comments

As a workaround, does forcing Qt5 to use X11 backend works within the wayland context ?

$ QT_QPA_PLATFORM=xcb /usr/bin/FreeCAD

Others indicate that Coin3D might be the problem. I need a deeper look:
https://forum.freecadweb.org/viewtopic.php?t=33359

Seeing the same thing on Fedora... still searching for a fix.

https://bugzilla.redhat.com/show_bug.cgi?id=1768480

One helpful data point is that running as FreeCAD as root seems to make the symptoms disappear. Dunno if there is a permissions issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Seeder101 picture Seeder101  路  5Comments

edn9 picture edn9  路  4Comments

LinArcX picture LinArcX  路  5Comments

surafel911 picture surafel911  路  3Comments

RandomUnknown picture RandomUnknown  路  4Comments