View Issue Details

IDProjectCategoryView StatusLast Update
0002380FreeCADBugpublic2016-01-19 02:06
Reporternovazur Assigned Toyorik  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformPCOSGentoo Linux 
Product Version0.15 
Fixed in Version0.16 
Summary0002380: segfault when trying new file
DescriptionI'm trying to use FreeCAD on Linux (gentoo) but, each time I try to create a new file, it segfaults.
$ FreeCAD
FreeCAD 0.15, Libs: 0.15R$WCREV$
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

Unhandled std::exception caught in GUIApplication::notify.
The error message is: Permission non accordée
Erreur de segmentation

I read http://www.freecadweb.org/wiki/?title=FAQ#FreeCAD_crashes_on_creating_a_new_document_or_opening_a_file
but libCoin.so version is the same :
$ ldd /usr/lib64/freecad-0.15.4671/bin/FreeCAD | grep libCoin
        libCoin.so.60 => /usr/lib64/libCoin.so.60 (0x00007fcc177fa000)
$ ldd /usr/lib64/libSoQt.so | grep libCoin
        libCoin.so.60 => /usr/lib64/libCoin.so.60 (0x00007ff15326f000)

I don't know what to try else.

more informations in :
$ emerge --info
Portage 2.2.24 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.2
KiB Mem: 3081164 total, 37956 free
KiB Swap: 4192896 total, 4063536 free
Timestamp of repository gentoo: Fri, 11 Dec 2015 11:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.1.9 [enabled]
app-shells/bash: 4.3_p39::gentoo
dev-java/java-config: 2.2.0::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/ccache: 3.1.9-r4::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.18.4::gentoo
sys-apps/sandbox: 2.6-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc: 2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://novazur.fr/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/download/Linux/gentoo/portage"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.lug.udel.edu/pub/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/other/portage/pkgdir"
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"
PORTAGE_TMPDIR="/other/tmp"
USE="X a52 aac acl acpi aim alsa amd64 audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac gdbm gif glamor gphoto2 gtk gtk3 iconv imagemagick imlib jabber java joystick jpeg kde kipi lcms ldap libnotify libsamplerate lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pango pcre pdf phonon plasma png policykit portaudio qt3support qt4 readline scanner sdl seccomp semantic-desktop session sndfile sox speex spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel nvidia" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2015-12-28 02:46

administrator   ~0006648

you should check that python-pivy also uses the same coin version. Locate where the python-pivy installed its packages, in it you will find a _coin.so file. Using ldd with it should also return the correct coin version.

But there could also be something wrong in the way you built FreeCAD... It seems to be used python3.4, but python3 is not supported yet by freecad.

novazur

2015-12-28 05:28

reporter   ~0006649

Seems not to be a problem with FreeCAD but OpenGL
sorry for the noise :(

wmayer

2015-12-28 08:57

administrator   ~0006650

Should this ticket be closed, then?

yorik

2015-12-28 13:27

administrator   ~0006651

Yes. http://forum.freecadweb.org/viewtopic.php?f=12&t=13644&p=109139#p109139

Issue History

Date Modified Username Field Change
2015-12-27 22:53 novazur New Issue
2015-12-28 02:46 yorik Note Added: 0006648
2015-12-28 05:28 novazur Note Added: 0006649
2015-12-28 08:57 wmayer Note Added: 0006650
2015-12-28 13:27 yorik Note Added: 0006651
2015-12-28 13:27 yorik Status new => closed
2015-12-28 13:27 yorik Assigned To => yorik
2015-12-28 13:27 yorik Resolution open => no change required
2016-01-19 02:06 yorik Fixed in Version => 0.16