Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283837 - blender-2.48a-r3 doesn't work under ppc64, segmentation fault.
Summary: blender-2.48a-r3 doesn't work under ppc64, segmentation fault.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-06 11:50 UTC by Yang Dehua
Modified: 2012-07-16 01:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Dehua 2009-09-06 11:50:02 UTC
I just emerged blender-2.48a-r3 in my G5 running ppc64 successfully, but when I execute in a terminal I got the following error:

dehua@dehua ~ $ blender -d
Blender 2.48 (sub 1) Build
argv[0] = blender
argv[1] = -d
Compiled with Python version 2.5.4.
Checking for installed Python... got it!
Color depth r 8 g 8 b 8
Aux buffers: 0
read file 
  Version 247 sub 5
Segmentation fault




Reproducible: Always

Steps to Reproduce:
1.open a terminal in Gnome
2.blender -d
3.

Actual Results:  
error message occured and bender died.

Expected Results:  
blender window launched.

Portage 2.1.6.13 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 ppc64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-ppc64-PPC970,_altivec_supported-with-glibc2.3
Timestamp of tree: Tue, 01 Sep 2009 04:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://lug.mtu.edu/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_US zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl aiglx alsa altivec asf aspell berkdb browserplugin bzip2 cairo cdr chardet cjk cli cpdflib cracklib crypt cups curl dba dbus dri dts dvd dvdnav dvdr eds encode esd exif faac faad2 fb ffmpeg flac foomaticdb fortran gd gd-external gdbm gimpprint glitz gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal ibm iconv imagemagick imlib ipv6 isdnlog java jpeg jpeg2k lcms ldap mad mbox mng mp3 mpg mudflap mysql nas ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png postgres ppc64 ppds pppd python qt readline reflection samba saslradeon sdl session slang spell spl sqlite ssl svg sysfs tcpd theora tiff unicode v4l v4l2 vcd vidix vorbis wma x264 xanim xcb xcomposite xine xml xml2 xmms xorg xv xvid zlib" ALSA_CARDS="aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US zh_CN" USERLAND="GNU" VIDEO_CARDS="ati radeon fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Chris J Arges 2010-01-22 19:30:35 UTC
Just tried blender-2.49a, and got a hang.

$ blender -d
Blender 2.49 (sub 2) Build
argv[0] = blender
argv[1] = -d
Compiled with Python version 2.6.2.
Checking for installed Python... got it!

If I strace I see...

read(3, 0xfffffffc210, 32)              = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}], 1, -1

--

Portage 2.1.6.13 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.3.4, glibc-2.11-r1, 2.6.25 ppc64)
=================================================================
System uname: Linux-2.6.25-ppc64-PPC970MP,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Fri, 22 Jan 2010 15:30:24 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.4.4-r13, 2.5.2-r7, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl altivec bash-completion berkdb bzip2 cli cracklib crypt cscope cups cvs cxx doc dri fortran gdbm gpm ibm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc64 pppd python readline reflection session spl ssl sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Greg Trigg 2010-07-19 10:24:31 UTC
I notice you're using gcc-4.3.2 on this.  ppc64 doesn't like 4.3 I've discovered.  You may want to switch back to 4.2 or use ~ppc64 keyword to get 4.4.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-19 10:30:34 UTC
(In reply to comment #2)
> I notice you're using gcc-4.3.2 on this.  ppc64 doesn't like 4.3 I've
> discovered.  You may want to switch back to 4.2 or use ~ppc64 keyword to get
> 4.4.
> 

you are mistaken... gcc-4.4.3-r2 is stable on ppc64 now
Comment 4 Yang Dehua 2010-09-01 04:37:00 UTC
(In reply to comment #2)
> I notice you're using gcc-4.3.2 on this.  ppc64 doesn't like 4.3 I've
> discovered.  You may want to switch back to 4.2 or use ~ppc64 keyword to get
> 4.4.
> 

Tried gcc-4.4.3-r3, but it didn't work just as before.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-16 01:02:24 UTC
Please try again with blender-2.63a and reopen if it's still an issue.
Thanks,
Diego