Ticket #4083: A bug in the Coin3D library causing app to crash on RPi4

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Kunda1
Posts: 5541
Joined: Thu Jan 05, 2017 9:03 pm

Ticket #4083: A bug in the Coin3D library causing app to crash on RPi4

Postby Kunda1 » Thu Sep 19, 2019 3:29 am

issue #4083: A bug in the Coin3D library causing app to crash on RPi4
Error:

Code: Select all

Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0)
Relevant thread:
https://forum.freecadweb.org/viewtopic. ... 58#p318973
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 5541
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4083: A bug in the Coin3D library causing app to crash on RPi4

Postby Kunda1 » Fri Sep 20, 2019 7:36 pm

Looks like a bug was opened on Debian for the same reason: https://bugs.debian.org/cgi-bin/bugrepo ... bug=931458

Other relevant threads:
https://www.raspberrypi.org/forums/view ... p?t=244151 (FreeCAD on PI4 and Raspbian Buster)
https://www.raspberrypi.org/forums/view ... p?t=244757 (Bugreport: Where?)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
kkremitzki
Posts: 1711
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Ticket #4083: A bug in the Coin3D library causing app to crash on RPi4

Postby kkremitzki » Sat Sep 21, 2019 2:32 pm

I tested this behavior inside a Debian 10 VM running the arm64 architecture, and wasn't able to reproduce it. (Using virt-manager/libvirt plus qemu-system-arm)
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
vocx
Posts: 1446
Joined: Thu Oct 18, 2018 9:18 pm

Re: Ticket #4083: A bug in the Coin3D library causing app to crash on RPi4

Postby vocx » Sat Sep 21, 2019 3:56 pm

kkremitzki wrote:
Sat Sep 21, 2019 2:32 pm
I tested this behavior inside a Debian 10 VM running the arm64 architecture, and wasn't able to reproduce it. (Using virt-manager/libvirt plus qemu-system-arm)
If I'm not mistaken, the Raspbian distribution used in Raspberry Pi is "armhf" (32-bit), not "arm64".
Last edited by vocx on Sat Sep 21, 2019 9:26 pm, edited 1 time in total.
User avatar
kkremitzki
Posts: 1711
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Ticket #4083: A bug in the Coin3D library causing app to crash on RPi4

Postby kkremitzki » Sat Sep 21, 2019 8:03 pm

Ah, oops, I thought they had updated already.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.