Bug#1004007: freecad: Segfaults on armhf when clicking "Ceate New..." or File -> New
Serge Schneider
serge at raspberrypi.com
Wed Jan 19 08:17:11 GMT 2022
Package: freecad
Version: 0.19.1+dfsg1-2
Severity: important
X-Debbugs-Cc: serge at raspberrypi.com
Dear Maintainer,
When running FreeCAD, creating a new file crashes with a segfault:
connect failed: No such file or directory
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/arm-linux-gnueabihf/libc.so.6(+0x2acb0) [0xb4aaacb0]
FreeCAD 0.19, Libs: 0.19R
© 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.
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
This is the same issue as #931458, which was closed because it was reported against Raspbian's packages.
However, the issue is reproducible in Debian too (using 20210823_raspi_2_bullseye.img.xz).
The crash seems to have something to do with how Ccoin3D creates the context in Qt.
Rebuilding FreeCAD against Qt4 rather than Qt5 makes it work. It also works on arm64.
The main difference I can see is that Qt is built with OpenGL support on arm64, but only OpenGL ES support on armhf.
The issue has also been reported upstream at https://tracker.freecadweb.org/view.php?id=4083, but there hasn't been any progess in a few years.
-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: armhf (armv7l)
Kernel: Linux 5.10.0-8-armmp (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages freecad depends on:
ii freecad-python3 0.19.1+dfsg1-2
Versions of packages freecad recommends:
ii calculix-ccx 2.17-3
ii graphviz 2.42.2-5
Versions of packages freecad suggests:
pn povray <none>
-- no debconf information
More information about the debian-science-maintainers
mailing list