Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71255 - Povray 3.6.1-r1 crashes
Summary: Povray 3.6.1-r1 crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 00:53 UTC by Jakob Hunsballe
Modified: 2004-12-11 22:28 UTC (History)
0 users

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 Jakob Hunsballe 2004-11-15 00:53:30 UTC
Povray 3.6.1-r1 seems to build/install fine but using it with any scene
it bails out after credits with the message "Aborted".
I have setup povray.ini and povray.conf in ~/.povray/ to be able to read/write data anywhere - as well as used the default setup (write in home and pwd)

Reproducible: Always
Steps to Reproduce:
1.  povray /usr/share/povray-3.6/scenes/objects/box.pov

Actual Results:  
povray outputs the credits and support libraries and then:
"Aborted"

Expected Results:  
Start raytracing

It seems that my $CXXFLAGS are applied in addition to the default $CXXFLAGS and not instead, resulting in having e.g. -O3 and -O2 at the same time.

last 6 lines of strace povray /usr/share/povray-3.6/scenes/objects/box.pov shows:

rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(3, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\1@\0\0\0\360\10\2\0\0"..., 64) = 64
getpid()                                = 11995
kill(11995, SIGABRT)                    = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Comment 1 Jakob Hunsballe 2004-11-19 12:56:04 UTC
Same error if I compile "by hand" (i.e. ./configure && make ).
But everything seems to work if I compile with intel cc compiler (only tried icc
-8.0.055)
Comment 2 Jakob Hunsballe 2004-11-23 09:16:51 UTC
Ok finally found out that the -fomit-frame-pointer flag to GCC caused the trouble - stripping that makes povray trace again.
Comment 3 Disenchanted (RETIRED) gentoo-dev 2004-12-07 21:56:31 UTC
give me your emerge info

im using -fomit-frame-pointer on an athlon-xp and a ppc G3 w/o any problems

ill eventually close the bug since it works for you, but i do want to see your info first
Comment 4 Jakob Hunsballe 2004-12-08 02:06:46 UTC
I'm running on a k6-2 CPU:
% emerge --info

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i586)
=================================================================
System uname: 2.6.9-gentoo-r9 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1,sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -O2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bitmap-fonts cdr crypt directfb encode f77 fbcon fbdev fftw foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww lua mad mikmod mmx motif mpeg ncurses network oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svg tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib video_cards_mach64"


% ACCEPT_KEYWORDS="~x86" emerge povray

Gives me the afore mentioned "Aborted" message, when running povray on any .pov file

Portage was sync'ed a few days ago - everything is up-to date and all dependencies are stable versions. Everything seems to work when stripping the -fomit-frame-pointer flag - never experienced problems with that flag before ..
Comment 5 Disenchanted (RETIRED) gentoo-dev 2004-12-11 22:28:21 UTC
merging with -march=k6-2 is now safe, --sync and merge in >= 35 minutes