Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26154 - Blender 2.28 segfault - new ebuild
Summary: Blender 2.28 segfault - new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-08-07 13:44 UTC by David Love
Modified: 2003-11-10 23:59 UTC (History)
5 users (show)

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


Attachments
Blender ebuild (using NaN makefiles) (blender-2.28.ebuild,1.10 KB, text/plain)
2003-08-07 13:45 UTC, David Love
Details
Patch to change some values in the makefiles (blender-2.28-compile.diff,2.30 KB, patch)
2003-08-07 13:46 UTC, David Love
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Love 2003-08-07 13:44:38 UTC
Attempting to run blender-2.28 after emerging, results in a Segmentation Fault.
 No error messages, no output.  When attempting to do an strace, my machine
locks up around the dri access section.  For note, I'm using an IBM Thinkpad
A22p - which has a Rage 128 w/ 16 MB of video ram.

So, I decided to take the long way around and created an ebuild (and patch) to
build blender using the NaN makefiles instead of autoconf.  Most of the
information necessary was gleaned from the blender forums.  

Now, everything appears to work just fine - emerges ok and runs correctly.

Reproducible: Always
Steps to Reproduce:
1. emerge blender
2. /usr/bin/blender
3. Segmentation Fault

Actual Results:  
Crashes hard with little info.

Expected Results:  
Running correctly :)
Comment 1 David Love 2003-08-07 13:45:45 UTC
Created attachment 15709 [details]
Blender ebuild (using NaN makefiles)
Comment 2 David Love 2003-08-07 13:46:42 UTC
Created attachment 15710 [details, diff]
Patch to change some values in the makefiles

Only build the dynamically linked blender, and link against the smpeg library.
Comment 3 Luca Barbato gentoo-dev 2003-08-11 16:08:04 UTC
that is strange here blender is working, could you please post your emerge info?
Comment 4 David Love 2003-08-12 08:29:47 UTC
Verbose output from emerge info:

Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.21 i686 Pentium III (Coppermine)
USE="x86 crypt kde libg++ mikmod berkdb cdr gdbm gnome-libs motif nls python slang tcpd -3dnow alsa apm apache2 -arts -avi bonobo cups dga dvd encode esd evo fbcon flash gif gnome -gpm gtk gtk2 gtkhtml imlib java jpeg ldap libwww maildir mmx mozilla mpeg mysql ncurses oggvorbis opengl oss pam pcmcia pdflib perl png pnp -qt quicktime readline samba scanner sdl spell sse ssl -svga tcltk tetex tiff truetype usb X xml xml2 xmms xv zlib mozsvg moznoirc moznomail moznocompose"
FEATURES="sandbox ccache"
LESS="-R"
PORTAGE_GID="250"
LESSOPEN="|lesspipe.sh %s"
CVS_RSH="ssh"
LOGNAME="root"
USER="root"
INPUTRC="/etc/inputrc"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/2.95:/opt/Acrobat5:/usr/X11R6/bin:/opt/sun-jdk-1.4.2/bin:/opt/sun-jdk-1.4.2/jre/bin:/opt/sun-jdk-1.4.2/jre/javaws"
HOME="/root"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
DISPLAY=":0.0"
PORTAGE_MASTER_PID="2049"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/2.95/info"
TERM="xterm"
SHELL="/bin/bash"
JDK_HOME="/opt/sun-jdk-1.4.2"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
SHLVL="1"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
G_BROKEN_FILENAMES="1"
PORTAGE_CALLER="emerge"
ACCEPT_KEYWORDS="x86 ~x86"
PRELINK_PATH=""
_="/usr/bin/emerge"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/2.95/man:/usr/X11R6/man:/opt/sun-jdk-1.4.2/man"
JAVA_HOME="/opt/sun-jdk-1.4.2"
EDITOR="/usr/bin/vim"
XARGS="xargs -r"
INFODIR="/usr/share/info:/usr/X11R6/info"
CC="gcc"
PORTDIR_OVERLAY="/usr/local/portage"
CLASSPATH="/opt/sun-jdk-1.4.2/jre/lib:/opt/sun-jdk-1.4.2/lib/tools.jar:."
USERLAND="GNU"
PRELINK_PATH_MASK=""
XINITRC="/etc/X11/xinit/xinitrc"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
XAUTHORITY="/root/.xauthHR1SVt"
JAVAC="/opt/sun-jdk-1.4.2/bin/javac"
CXX="g++"
OLDPWD="/root"
HOSTNAME="nighton"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
GDK_USE_XFT="1"
PWD="/usr/portage"
SANE_CONFIG_DIR="/etc/sane.d"
ACCEPT_LICENSE=""
MAIL="/var/spool/mail/root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:"
PAGER="/usr/bin/less"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.mirrors.pair.com http://gentoo.noved.org/ http://gentoo.seren.com/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://cs.ubishops.ca/pub/gentoo http://sunsite.ualberta.ca/pub/unix/Linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"ALSA_CARDS="cs46xx"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
AUTOCLEAN="yes"
CXXFLAGS="-march=i686 -O3 -pipe"
VIDEO_CARDS="rage128"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
ARCH="x86"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES"
RSYNC_TIMEOUT="180"
DISTDIR="/usr/portage/distfiles"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
PKGDIR="/usr/portage/packages"
CLEAN_DELAY="5"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
PORTAGE_BINHOST_CHUNKSIZE="3000"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
PORTDIR="/usr/portage"
NOCOLOR="false"
USE_ORDER="env:conf:auto:defaults"
PORTAGE_TMPDIR="/var/tmp"
 
Comment 5 Luca Barbato gentoo-dev 2003-08-12 15:56:38 UTC
clean your ccache and try again building please
Comment 6 David Love 2003-08-12 16:19:29 UTC
I don't actually have ccache installed.  The only reason it's in the features list is that I don't feel like futzing with the make.globals file.
Comment 7 Stephane Loeuillet 2003-09-29 16:13:16 UTC
do not touch make.global but make.conf instead

is your problem still present with 2.28a ? (renaming the original ebuild
as there is no ebuild for 2.28a for now and 2.28c source is not yet available)
Comment 8 Stephane Loeuillet 2003-09-29 18:16:31 UTC
no need to rename existing ebuild to have 2.28a, it went into portage an
hour ago.
try it and report if it is better or if you still have the problem.

if you have no more the problem, please close this bug report
Comment 9 David Love 2003-10-01 01:12:31 UTC
The comment about changing make.globals had to do with removing ccache from
the 
FEATURES list (as far as I understand, you can't remove features in make.conf).

The 2.28a ebuild shows the same problem:  

A grey window (fullscreen) pops up, closes, and Segmentation Fault is all
the 
output that is printed.
Comment 10 Luca Barbato gentoo-dev 2003-10-01 06:55:00 UTC
if you don't have ccache installed you won't have any issue from it.
could you give me some info about your video drivers and xfree release?
Comment 11 David Love 2003-10-01 12:41:31 UTC
XFree release: xfree-4.3.0-r3

r128 DRI driver (from xfree-drm-4.3.0-r6)
Comment 12 Luca Barbato gentoo-dev 2003-10-31 19:57:04 UTC
2.28c works?
Comment 13 David Love 2003-11-03 13:50:30 UTC
No, 2.28c does not work (sorry about the lengthy delay in response).  However,

instead of simply crashing immediately, the gray, fullscreen background of
what would normally be the main blender window appears briefly.  
Comment 14 David Love 2003-11-10 23:59:36 UTC
blender-2.30 works!  No problems.