Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 798063

Summary: media-gfx/freecad-0.19-2-r2 crash
Product: Gentoo Linux Reporter: jang0 <ydmorenoc>
Component: Current packagesAssignee: Bernd <waebbl-gentoo>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mscardovi, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log of the crash
freecad --run-test 0 --write-log

Description jang0 2021-06-23 20:04:24 UTC
Freecad crash when try to open example from the homepage or other files.

$emerge --info

Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-10.3.0, glibc-2.33, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_0_@_2.90GHz-with-glibc2.33
KiB Mem:    65828912 total,    573568 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 22 Jun 2021 03:00:01 +0000
Head commit of repository gentoo: 9be12e004d03f9471d9b688c6d1ff9a8412a5f2c
Head commit of repository librewolf: 41d508cfb0c3ac0ff302a3c0a70615cd3169b6bb

Timestamp of repository steam-overlay: Mon, 21 Jun 2021 14:10:41 +0000
Head commit of repository steam-overlay: 795dafa684d73781e520181c7649c1351d6cc594

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -O1 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=x86-64 -O1 -pipe -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --buildpkg --usepkg-exclude 'sys-kernel/*-sources virtual/*'"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=x86-64 -O1 -pipe -ggdb"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=x86-64 -O1 -pipe -ggdb"
GENTOO_MIRRORS="https://gentoo.c3sl.ufpr.br/ http://gentoo.c3sl.ufpr.br/ rsync://gentoo.c3sl.ufpr.br/gentoo/ https://gentoo.osuosl.org/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j33"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 bzip2 crypt dbus elogind gles2 hardened iconv ipv6 libglvnd libtirpc multilib ncurses networkmanager nls nptl openmp pam pcre pie readline seccomp selinux split-usr ssl ssp symlink unicode wayland xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="as bn bo brx doi dz gu hi ja km kn ko kok ks mai ml mr ne or pa sa sat sd si syc ta te th zh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 jang0 2021-06-23 20:11:26 UTC
Created attachment 718350 [details]
Log of the crash
Comment 2 Marco Scardovi (scardracs) 2021-06-24 00:34:14 UTC Comment hidden (obsolete)
Comment 3 Bernd 2021-06-24 07:14:08 UTC
This one's different from bug #797700, being a run-time issue, while 797700 is a build time issue.
Comment 4 Bernd 2021-06-24 07:22:15 UTC
jang0, thanks for the report. This looks like an OpenGL issue. I need more info, before I can investigate in this.

- What OpenGL support do you use (graphics device and driver, hardware / software acceleration, mesa version and USE flags)?
- What USE flags did you use when building FreeCAD (output of emerge -pqv freecad)?
- Could you please run `freecad --run-test 0 --write-log` and attach the log file (usually ~/.FreeCAD/FreeCAD.log) here?

Thank you
Comment 5 jang0 2021-06-27 21:09:56 UTC
Created attachment 719613 [details]
freecad --run-test 0 --write-log

$ emerge -pqv freecad
[binary   R   ] media-gfx/freecad-0.19.2-r2  USE="addonmgr fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux -cloud -debug -headless (-pcl) -plot -ship -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
$ emerge -pqv mesa 
[binary   R   ] media-libs/mesa-21.0.3  USE="X classic dri3 egl gallium gbm gles2 llvm (selinux) vulkan wayland zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="intel nouveau radeon radeonsi (-freedreno) -i915 -i965 -iris (-lima) (-panfrost) -r100 -r200 -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware"
$ emerge -pqv opengl
[binary   R   ] virtual/opengl-7.0-r2  ABI_X86="32 (64) (-x32)"
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)

For video support I use Wayland under Sway and Xwayland support, video drivers are loaded by using gentoo-kernel-bin.
Comment 6 Bernd 2022-12-21 07:31:50 UTC
0.19 is no longer in the tree. If the issue persists for 0.20 versions, feel free to open a new bug.