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
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ 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] 10+ 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
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ 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] 10+ 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
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ 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] 10+ 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
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ 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] 10+ 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
  2021-11-29 12:21 ` yopito
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ 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] 10+ 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
                   ` (3 preceding siblings ...)
  2021-11-23  0:39 ` foopub
@ 2021-11-29 12:21 ` yopito
  2022-03-02 19:20 ` luzpaz
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yopito @ 2021-11-29 12:21 UTC (permalink / raw)
  To: ml

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

New comment by yopito on void-packages repository

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

Comment:
sorry for late reply and thanks for your tests.
I don't feel confident enough about it, especially the patch's impact on X11 based system.
Let's discuss with upstream's first : see https://github.com/coin3d/coin/issues/451

^ permalink raw reply	[flat|nested] 10+ 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
                   ` (4 preceding siblings ...)
  2021-11-29 12:21 ` yopito
@ 2022-03-02 19:20 ` luzpaz
  2022-03-02 21:17 ` SammyTheSnake
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: luzpaz @ 2022-03-02 19:20 UTC (permalink / raw)
  To: ml

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

New comment by luzpaz on void-packages repository

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

Comment:
v0.18.x is obsolete.  
Ticket should probably be closed.

^ permalink raw reply	[flat|nested] 10+ 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
                   ` (5 preceding siblings ...)
  2022-03-02 19:20 ` luzpaz
@ 2022-03-02 21:17 ` SammyTheSnake
  2022-06-01  2:14 ` github-actions
  2022-06-15  2:16 ` [ISSUE] [CLOSED] " github-actions
  8 siblings, 0 replies; 10+ messages in thread
From: SammyTheSnake @ 2022-03-02 21:17 UTC (permalink / raw)
  To: ml

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

New comment by SammyTheSnake on void-packages repository

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

Comment:
Don't close the issue, the behaviour still continues with the latest versions.

As I understand it, the issue is with Wayland support in the Coin library used for 3d rendering. Coin can be hacked to just not link with GLX, but that's not a plan that works for most users of Coin so it hasn't been implemented.

reference: https://forum.freecadweb.org/viewtopic.php?t=33359

^ permalink raw reply	[flat|nested] 10+ 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
                   ` (6 preceding siblings ...)
  2022-03-02 21:17 ` SammyTheSnake
@ 2022-06-01  2:14 ` github-actions
  2022-06-15  2:16 ` [ISSUE] [CLOSED] " github-actions
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2022-06-01  2:14 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

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

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

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

* Re: [ISSUE] [CLOSED] FreeCAD 0.18.3 crashing on wayland
  2019-09-21 10:44 [ISSUE] FreeCAD 0.18.3 crashing on wayland voidlinux-github
                   ` (7 preceding siblings ...)
  2022-06-01  2:14 ` github-actions
@ 2022-06-15  2:16 ` github-actions
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2022-06-15  2:16 UTC (permalink / raw)
  To: ml

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

Closed 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


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] 10+ messages in thread

end of thread, other threads:[~2022-06-15  2:16 UTC | newest]

Thread overview: 10+ 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
2021-11-29 12:21 ` yopito
2022-03-02 19:20 ` luzpaz
2022-03-02 21:17 ` SammyTheSnake
2022-06-01  2:14 ` github-actions
2022-06-15  2:16 ` [ISSUE] [CLOSED] " github-actions

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).