Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Workaround: Firefox 3 Segmentation Fault on PPC64/32UL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bmaass
n00b
n00b


Joined: 15 Mar 2008
Posts: 25

PostPosted: Sun Jun 22, 2008 11:02 am    Post subject: Workaround: Firefox 3 Segmentation Fault on PPC64/32UL Reply with quote

Hi all!

I've been trying to build Firefox 3 on my G5 with 32bit userland, only to get it to segfault on startup every time. The problem apparently is xulrunner-1.9-r2, since building that with at most -O1 "solves" the problem.

I've been googling around and have not found any reports of this problem, so I'm assuming that this is a problem on my end? Any suggestions? For reference, my emerge --info:
Code:
Portage 2.2_rc1 (default-linux/ppc/ppc64/2007.0/32bit-userland, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 ppc64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-ppc64-PPC970MP,_altivec_supported-with-glibc2.0
Timestamp of tree: Sat, 21 Jun 2008 08:32:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -O2 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -O2 -pipe"
DISTDIR="/mnt/data/portage/distfiles"
FEATURES="autoconfig distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/mnt/data/portage/packages"
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="/mnt/data/portage/temporary"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnash-cvs"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa altivec berkdb bzip2 cairo cddb cdio cdparanoia cdr cli cpudetection cracklib crypt dbus dga divx dts dv dvd encode esd fat ffmpeg flac fortran gcc64 gdbm gif gnustep gpm gtk hfs iconv imagemagick ipod ipv6 isdnlog jpeg mad midi mp2 mp3 mp4 mudflap ncurses nls nptl nptlonly ntfs ogg openal opengl openmp pam pcre pdf perl png postscript ppc pppd python qt3 qt4 quicktime readline reflection reiserfs sdl session smp speex spl sqlite ssl svg tcl tcpd theora threads tiff tk truetype unicode vorbis wma x264 xfs xft xorg xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-soundbus aoa-soundbus-i2c aoa-onyx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sun Jun 22, 2008 4:23 pm    Post subject: Reply with quote

well.. I guess noone besides you ever compiled firefox 3.0 with such a new toolchain on ppc64/32ul yet ;-)

It's know to work stable toolchain, so you might have triggered a gcc bug. You might want to compile with "-g -ggdb3" added to your CFLAGS and get a backtrace so we can isolate the problem.
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Sun Jun 22, 2008 5:05 pm    Post subject: Reply with quote

Hi
I got the same on G4. -O1 is a workarounf here too.
Has a bugform been filled ?

Code:

#0  0x0cbfc764 in ?? () from /usr/lib/xulrunner-1.9/components/libdocshell.so
#1  0x0cbfc748 in ?? () from /usr/lib/xulrunner-1.9/components/libdocshell.so
#2  0x0cbf5094 in ?? () from /usr/lib/xulrunner-1.9/components/libdocshell.so
#3  0x0d6d9c9c in ?? () from /usr/lib/xulrunner-1.9/components/libembedcomponents.so
#4  0x0d6daa08 in ?? () from /usr/lib/xulrunner-1.9/components/libembedcomponents.so
#5  0x0d6dc784 in ?? () from /usr/lib/xulrunner-1.9/components/libembedcomponents.so
#6  0x0d6dea6c in ?? () from /usr/lib/xulrunner-1.9/components/libembedcomponents.so
#7  0x0fba08f4 in NS_InvokeByIndex_P () from /usr/lib/xulrunner-1.9/libxpcom_core.so
#8  0x0d97033c in ?? () from /usr/lib/xulrunner-1.9/components/libxpconnect.so
#9  0x0d977114 in ?? () from /usr/lib/xulrunner-1.9/components/libxpconnect.so
#10 0x0e7df2fc in js_Invoke () from /usr/lib/xulrunner-1.9/libmozjs.so
#11 0x0e7d1c70 in ?? () from /usr/lib/xulrunner-1.9/libmozjs.so
#12 0x0e7df5a8 in js_Invoke () from /usr/lib/xulrunner-1.9/libmozjs.so
#13 0x0d96c794 in ?? () from /usr/lib/xulrunner-1.9/components/libxpconnect.so
#14 0x0d965590 in ?? () from /usr/lib/xulrunner-1.9/components/libxpconnect.so
#15 0x0fba0700 in nsXPTCStubBase::Stub249 () from /usr/lib/xulrunner-1.9/libxpcom_core.so
#16 0x0fba096c in SharedStub () from /usr/lib/xulrunner-1.9/libxpcom_core.so
#17 0x0fb4f4b8 in ?? () from /usr/lib/xulrunner-1.9/libxpcom_core.so
#18 0x0fb4fb7c in ?? () from /usr/lib/xulrunner-1.9/libxpcom_core.so
#19 0x0e8b02e8 in XRE_main () from /usr/lib/xulrunner-1.9/libxul.so
#20 0x100011a0 in ?? ()
#21 0x0fc14f20 in ?? () from /lib/libc.so.6
#22 0x0fc150c0 in __libc_start_main () from /lib/libc.so.6
#23 0x00000000 in ?? ()


Code:

Portage 2.2_rc1 (default-linux/ppc/ppc32/2007.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r3-l0 ppc)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-l0-ppc-7447A,_altivec_supported-with-glibc2.0
Timestamp of tree: Sun, 22 Jun 2008 09:06:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
DISTDIR="/in_n_outs/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo "
LANG="C"
LC_ALL="C"
LDFLAGS=""
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/in_n_outs/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/bazaar"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 acl alsa altivec apache2 berkdb branding cdr cli cracklib crypt cscope cups dba dri dvd encode fbcon flac flash fortran gb gcj gd gdbm gnome gpm gtk2 iconv ipv6 isdnlog java jikes jpeg kde kdehiddenvisibility midi mng mozdevelop mozsvg mudflap ncurses nls nptl nptlonly nsplugin objc oggvorbis opengl openmp pam pcre pdf pdflib perl png povray ppc ppds pppd python qt readline reflection samba scanner session speex spell spl ssl svg tcpd tetex theora threads tiff tk udev unicode usb wmf xine xinerama xml2 xorg xosd xprint xulrunner zlib" ALSA_CARDS="snd-aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon r128 fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Hth
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sun Jun 22, 2008 8:47 pm    Post subject: Reply with quote

Bug #228957
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum