Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65037 - Prelinking Firefox 1.0PR while blackdown java plugin is installed = bad idea
Summary: Prelinking Firefox 1.0PR while blackdown java plugin is installed = bad idea
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 19:26 UTC by Vermyndax
Modified: 2005-08-04 10:26 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 Vermyndax 2004-09-22 19:26:48 UTC
I installed mozille-firefox via ebuild to compile from source.

I then manually corrected the blackdown java plugin with a symlink.

After verifying java was working correctly, I ran prelink to re-prelink the entire system just for giggles.

After the prelink finished, any visit to www.cnn.com and/or clicking a link at www.cnn.com causes Firefox to segfault.

I then did an emerge -C mozilla-firefox, then reemerged it.  Afterwards, www.cnn.com came up again - but running prelink... after that, bang, it dies.

I got rid of mozilla-firefox in favor of mozilla-firefox-bin in hopes that prelinking again will not cause the problem (since that's installed in /opt and I'm not prelinking anything in /opt according to the prelink guide).

Reproducible: Always
Steps to Reproduce:
1. emerge mozilla-firefox, then correct symlink for blackdown java plugin
2. run prelink -afmR 
3. Visit www.cnn.com.  If it doesn't segfault when page loads, try clicking a link.

Actual Results:  
mozilla-firefox segfaults.

Expected Results:  
I certainly wouldn't expect it to segfault ;)

Portage 2.0.50-r11 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1,
2.6.8-gentoo-r4)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa amd64 apm arts artswrappersuid audiofile avi berkdb
bitmap-fonts bluetooth bootsplash c calendar cdinstall cdparanoia cdr cjk
codecscrypt cups devfs26 divx4linux dv dvd dvdread emoticon encode ex fam ffmpeg
flacflash foomaticdb gdbm gif gimp gimpprint gpm gstreamer gtk gtk2 icq ieee1394
imlib jabber java jpeg jpeg2k kde kerberos ldap libg++ libwww live mikmod mng
motif mpeg mpeg4 mplayer msdav msn mssql music ncurses net network nls nogcj
nvidia offensive oggvorbis ooo-kde opengl oscar oss pam pdflib perl pic png ppds
pythonqt quicktime readline rtc samba scanner sdl slang soap spell ssl
stencil-buffertcltk tcpd truetype v4l v4l2 videos xine xml2 xmms xprint xv yahoo
zlib"
Comment 1 Karl Ernst Brunk 2004-10-21 15:28:30 UTC
this is my xperience with 1.0-PRE

/usr/bin/firefox: line 392: 15323 Segmentation fault      $mozbin "$@"

But it does not happen all the time. I have to switch on javascript-support within the preferences (java works) and have to visit certain sites like citibank or aurelietremblay.com. On these sites there must be some javascript-code wich causes this. Other javascript-sites work. This sites did work also before the PRE. It does not make any difference if symlink or not here.
At the moment i'm running Blackdown 1.4.1
Maybe its necessary to take this advise serious (in spite of that all kind of applets seem to work) :

>>>    If your distribution doesn't include it, Download and install JRE 1.4.2 or later. After your JRE is installed, open a terminal, change to your Mozilla Firefox plugins directory, and issue the following command:
ln -s /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
<<<<
Comment 2 Jory A. Pratt 2005-08-04 10:26:01 UTC
re-open if bug shows back up in latest stable/testing version.