Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] FreeCAD 0.18.3 crashing on wayland
@ 2019-09-21 10:44 voidlinux-github
  2019-10-01  4:29 ` voidlinux-github
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-09-21 10:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]

New issue by no2spam on void-packages repository

https://github.com/void-linux/void-packages/issues/14626

Description:
### 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
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FreeCAD 0.18.3 crashing on wayland
  2019-09-21 10:44 [ISSUE] FreeCAD 0.18.3 crashing on wayland voidlinux-github
@ 2019-10-01  4:29 ` voidlinux-github
  2019-12-29 13:27 ` voidlinux-github
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-10-01  4:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

New comment by yopito on void-packages repository

https://github.com/void-linux/void-packages/issues/14626#issuecomment-536858063

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FreeCAD 0.18.3 crashing on wayland
  2019-09-21 10:44 [ISSUE] FreeCAD 0.18.3 crashing on wayland voidlinux-github
  2019-10-01  4:29 ` voidlinux-github
@ 2019-12-29 13:27 ` voidlinux-github
  2021-11-22 16:37 ` foopub
  2021-11-23  0:39 ` foopub
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-12-29 13:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

New comment by luzpaz on void-packages repository

https://github.com/void-linux/void-packages/issues/14626#issuecomment-569505608

Comment:
Looks like a patch for the issue: https://forum.freecadweb.org/viewtopic.php?t=33359#p354412

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FreeCAD 0.18.3 crashing on wayland
  2019-09-21 10:44 [ISSUE] FreeCAD 0.18.3 crashing on wayland voidlinux-github
  2019-10-01  4:29 ` voidlinux-github
  2019-12-29 13:27 ` voidlinux-github
@ 2021-11-22 16:37 ` foopub
  2021-11-23  0:39 ` foopub
  3 siblings, 0 replies; 5+ messages in thread
From: foopub @ 2021-11-22 16:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

New comment by foopub on void-packages repository

https://github.com/void-linux/void-packages/issues/14626#issuecomment-975708851

Comment:
Any updates on this? Has anyone tried the patch? 
I can confirm the same behaviour - launching FreeCAD works fine until I try to create a new empty document or open an existing one. 
`FreeCAD 0.19.2 Revision: 2_voidlinux`
`Void 5.14.16_1 x86_64 AuthenticAMD uptodate rrFFF`

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FreeCAD 0.18.3 crashing on wayland
  2019-09-21 10:44 [ISSUE] FreeCAD 0.18.3 crashing on wayland voidlinux-github
                   ` (2 preceding siblings ...)
  2021-11-22 16:37 ` foopub
@ 2021-11-23  0:39 ` foopub
  3 siblings, 0 replies; 5+ messages in thread
From: foopub @ 2021-11-23  0:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

New comment by foopub on void-packages repository

https://github.com/void-linux/void-packages/issues/14626#issuecomment-976041712

Comment:
I've tested the patch from that website on coin3 package and it seems to work so far. 
`./xbps-src pkg -j24 coin3`
`doas xbps-install -fR hostdir/binpkgs/ coin3`

I'll be using FreeCAD the next few days and if something seemingly relevant breaks, I'll update. @yopito how do you recon this should be handled? 

I don't know what this functionality that's being removed does, but if it's important in general, we can patch it only when a `wayland` option is passed. Otherwise patch it normally, and add back the functionality with a `glx` option.  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-23  0:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-21 10:44 [ISSUE] FreeCAD 0.18.3 crashing on wayland voidlinux-github
2019-10-01  4:29 ` voidlinux-github
2019-12-29 13:27 ` voidlinux-github
2021-11-22 16:37 ` foopub
2021-11-23  0:39 ` foopub

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).