Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321619 - switching between mozilla-firefox-3.6.3 and firefox-bin-3.6.3 with AMD64 loads incorrect flash lib
Summary: switching between mozilla-firefox-3.6.3 and firefox-bin-3.6.3 with AMD64 load...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 03:37 UTC by Brian Beardall
Modified: 2010-06-07 19:20 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 Brian Beardall 2010-05-27 03:37:03 UTC
When running mozilla-firefox-3.6.3 - the compiled version - on my AMD64 build adobe flash will load the 64-bit plugin. When I switch to firefox-bin-3.6.3 all of the plugins are reloaded as the 32-bit version except for adobe flash which then the 64-bit plugin is attempted to be loaded. To get firefox-bin to load the 32-bit plugin I have to delete the pluginreg.dat file that is located in ~/.mozilla/firefox/[dir]/pluginreg.dat. After I delete the file the 32-bit plugin is loaded and everything works good until I want to load the 64-bit firefox. When I load mozilla-firefox that has been compiled I have to delete pluginreg.dat to get the correct flash version to load.
Comment 1 Brian Beardall 2010-05-27 03:37:57 UTC
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Wed, 26 May 2010 23:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.7b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb /var/yp/Makefile"
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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi aiglx alsa amd64 apache2 asf berkdb bluetooth bonobo branding browserplugin bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dba dbus dri dts dv dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap imlib ipv6 java joystick jpeg jpeg2k kqemu lame lcms ldap libnotify libsamplerate mad mhash mikmod mmx mng modules mono mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pda pdf perl plotutils png policykit ppds pppd python qt3support quicktime readline reflection samba scanner sdl session slang snmp spamassassin speex spell spl sse sse2 ssl startup-notification svg sysfs tcltk tcpd theora threads tiff truetype unicode usb userlocales v4l v4l2 vorbis x264 xcb xine xinerama xml xml2 xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ctxfi hpet hrtime" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Rafał Mużyło 2010-05-27 12:47:51 UTC
Check mozplugger site for an explanation
- that's a deficiency of the way firefox handles plugin detection.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-07 03:01:34 UTC
Hello Brian,

(In reply to comment #2)
> Check mozplugger site for an explanation
> - that's a deficiency of the way firefox handles plugin detection.

Did that help or solve the problem?

Please reopen if it's another problem.

Michael
Comment 4 Brian Beardall 2010-06-07 19:20:37 UTC
I read the mozplugger site and there was a bug report against mozplugger which stated that deleting pluginreg.dat file or changing the modification date on the plugin file would cause firefox to reload the mozplugger registered extensions. However this is firefox trying to load a 64-bit elf file which fails and then firefox doesn't remove the plugin from the pluginreg.dat file. Regardless the bug was there and now it is gone after running some updates which possibly is related to the elfutils update a few days ago. I'm no longer experiencing the problem.