Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286945 - firefox-3.5.{2,3} doesn't load adobe-flash until the flash player library is touched
Summary: firefox-3.5.{2,3} doesn't load adobe-flash until the flash player library is ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Mozilla Gentoo Team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 15:23 UTC by Tanktalus
Modified: 2015-11-25 18:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
"emerge -p mozilla-firefox adobe-flash" plus "emerge --info" (flash-firefox-bug.txt,12.15 KB, text/plain)
2009-10-03 08:30 UTC, Tijmen van Hoeckel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2009-09-29 15:23:13 UTC
When I start up Firefox and go to a page that requires flash, the flash app doesn't actually load.  Even lsof shows that Firefox hasn't loaded the flash player.  But, if, while Firefox is already loaded, I then go and even touch the player, e.g., by running "sudo touch /opt/netscape/plugins/libflashplayer.so", then magically it starts working, though I do have to reload the page that has the flash application.

Reproducible: Always

Steps to Reproduce:
1. Unload all of Firefox (e.g., reboot, quit, whatever)
2. Restart Firefox
3. Go to page that uses flash

Actual Results:  
Flash app just doesn't show up.  I still get the "block" tab from the flash-block plugin, though, when I hover over where the flash is supposed to be.

Expected Results:  
Load libflashplayer and run it.

Portage 2.2_rc42 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Tue, 29 Sep 2009 07:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/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/init.d /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j9 -l25"
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="/home/dmcbride/cvs/portdir-mine /usr/portage/local/layman/qting-edge /usr/portage/local/layman/jokey /usr/portage/local/layman/kde-testing"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 arts audiofile avi bash-completion berkdb branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread encode exif expat ffmpeg fftw firefox fontconfig fortran gd gdbm gif gimp gmp gnutls gpm gs hal htmlhandbook iconv imagemagick ipv6 isdnlog java jbig jpeg jpeg2k kde kdeprefix lcms lzo mad mjpeg mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python qt4 readline reflection sdl session smp spl sse sse2 ssl subversion svg sysfs tcpd threads tiff truetype unicode vcd vorbis wmf x264 xcb xcomposite xinerama xml xorg xulrunner 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" 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 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" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev radeon radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tijmen van Hoeckel 2009-10-03 08:27:13 UTC
I have the same problem here. Not only when I start up Firefox, but also when I have Firefox running for some time. Like it just forgets where the adobe-flash player or libs are. 

I'll attach emerge -p for mozilla-firefox and adobe-flash plus emerge --info.
Comment 2 Tijmen van Hoeckel 2009-10-03 08:30:29 UTC
Created attachment 205903 [details]
"emerge -p mozilla-firefox adobe-flash" plus "emerge --info"
Comment 3 Jory A. Pratt gentoo-dev 2009-10-09 23:28:05 UTC
(In reply to comment #1)
> I have the same problem here. Not only when I start up Firefox, but also when I
> have Firefox running for some time. Like it just forgets where the adobe-flash
> player or libs are. 
> 
> I'll attach emerge -p for mozilla-firefox and adobe-flash plus emerge --info.
> 

Your xulrunner backend is being confused by both plugins, disable 32bit if you are building and using source version of firefox.
Comment 4 Tanktalus 2009-10-10 04:50:44 UTC
So... this is a bug in xulrunner, then?  There should be no reason I'm aware why I can't have both 32- and 64-bit installed, especially if I'm running Firefox (compiled from source as 64-bit) and, say, 32-bit opera or other binary-only browser that can load Mozilla plugins (say pre-alpha versions of Chrome).  Each would load the correct flash.

(And, as I mentioned, konqueror doesn't face this problem, it apparently can always load the correct flash.)
Comment 5 Tijmen van Hoeckel 2009-10-10 13:24:45 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > I have the same problem here. Not only when I start up Firefox, but also when I
> > have Firefox running for some time. Like it just forgets where the adobe-flash
> > player or libs are. 
> > 
> > I'll attach emerge -p for mozilla-firefox and adobe-flash plus emerge --info.
> > 
> 
> Your xulrunner backend is being confused by both plugins, disable 32bit if you
> are building and using source version of firefox.
> 

I will give this a try and will report back here if I notice any change.
Comment 6 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-10-13 12:26:46 UTC
As far as I'm aware, this will only happen if you have both 32b and 64b plugins installed *AND* also use www-plugins/nspluginwrapper to wrap the 32b one so your 64b browser sees it.

If you tell nspluginwrapper not to wrap your 32b flash plugin, I think it should be safe to have both installed simultaneously.
Comment 7 Tijmen van Hoeckel 2009-10-15 19:10:24 UTC
(In reply to comment #6)
> As far as I'm aware, this will only happen if you have both 32b and 64b plugins
> installed *AND* also use www-plugins/nspluginwrapper to wrap the 32b one so
> your 64b browser sees it.
> 
> If you tell nspluginwrapper not to wrap your 32b flash plugin, I think it
> should be safe to have both installed simultaneously.
> 

This isn't applicable to me since I don't have nspluginwrapper installed. However, I reinstalled adobe-flash with USE="-32bit" and so far I don't encounter any problems.
Comment 8 Tijmen van Hoeckel 2009-10-24 13:19:49 UTC
Too bad, the problem still persists. It occurs when I open a new instance of Firefox or when it has been up and running for some time. Flash content just leaves a blank space. When I re-emerge flash and hit F5 in Firefox, everything shows up as normal

Current way of installing adobe-flash:
know-where-to-run etc # emerge -a adobe-flash

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild   R   ] www-plugins/adobe-flash-10.0.32.18  USE="64bit (multilib) -32bit" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

I have no clue what's causing this.
Comment 9 Juanlu Pérez 2009-10-25 23:12:52 UTC
Deleting ~/.mozilla/plugins/flashplayer.xpt and ~/.mozilla/plugins/libflashplayer.so solved this problem for me. Amd64 system, firefox-3.5.2
Comment 10 ~ba 2009-10-26 10:26:36 UTC
Found the same solution as Juanlu. I got it while running FX from the command line putting out a lot of errors while loading a website with flash. The error messages where complaining about a wrong ELF file "libflashplayer.so" in ~/.mozilla/plugins/.
Comment 11 Juanlu Pérez 2009-10-26 11:17:44 UTC
(In reply to comment #10)
> Found the same solution as Juanlu. I got it while running FX from the command
> line putting out a lot of errors while loading a website with flash. The error
> messages where complaining about a wrong ELF file "libflashplayer.so" in
> ~/.mozilla/plugins/.
> 

Yes, this is how I found the solution. Thanks for your explanation.
Comment 12 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-10-26 12:26:10 UTC
Yes, if you have a locally-installed plugin in ~/.mozilla/plugins/ it will most certainly interfere with your system-installed plugin.

Delete it and all should be well.