Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47183 - compiling with -ffast-math causes rhythmbox to segfault
Summary: compiling with -ffast-math causes rhythmbox to segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 23:36 UTC by Flammie Pirinen (RETIRED)
Modified: 2004-04-15 11:11 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 Flammie Pirinen (RETIRED) gentoo-dev 2004-04-07 23:36:59 UTC
I have two nearly similar gentoo boxes at home, one works as a server box and the other for multimedia and development. On multimedia box which uses aggressiveish c-flags by default the rhythmbox would have always segfaulted but on server box with almost no c-flags it worked. After testing with some dozen of different settings I think that at least ffast-math will always result in segfault on program launch. (I think this problem affects also number of other media programs.)

Reproducible: Always
Steps to Reproduce:
1. CFLAGS=-ffast-math emerge rhythmbox
2. launch rhythmbox
3.

Actual Results:  
Segmentation fault.

Expected Results:  
Program starting

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.3.13p1
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -pipe -fprefetch-loop-arrays -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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=athlon -pipe -fprefetch-loop-arrays -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc fixpackages sandbox userpriv
usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib accessibility acpi acpi4linux aim alsa apache2 apm arts
avi berkdb bonobo cddb crypt cups curl dnd encode esd flac foomaticdb freetype
gb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib
ipv6 java joystick jpeg kde libg++ libwww mad mbox mikmod mmx mng motif mozilla
moznomail mozp3p mozsvg mozxmlterm mpeg music mysql ncurses net nls nptl
offensive oggvorbis opengl oscar oss pam pdflib perl png propolice python qt
quicktime readline ruby samba scanner sdl slang spell sse ssl stroke svg svga
tcltk tcpd tetex theora tiff transcode truetype type1 unicode usb videos x86
xface xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-08 21:52:21 UTC
what versions of rhythmbox is this true for?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-12 00:22:34 UTC
Could you please tell me which version of rhythmbox you noticed this problem with?
Comment 3 Flammie Pirinen (RETIRED) gentoo-dev 2004-04-15 08:49:14 UTC
I apologize the delay, I was on easter vacation. Judging from portage's logs it seems it has affected at least versions 0.6.8 and 0.6.1. The versions of gcc were 3.3.3 and 3.3.1 respectively.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-15 11:11:12 UTC
fixed in cvs.  thanks.