Firefox freezes and grays out because of missing i386 Flash Player dependencies on x86-64

Bug #830802 reported by Susan Cragin
130
This bug affects 18 people
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

firefox has been freezing and "graying out" for about a week or more.
The freezing is not permanent... it just stalls for about 15 seconds or so, then the color comes back.
Then a couple of commands later, it freezes again.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 7.0~b1+build1+nobinonly-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
AddonCompatCheckDisabled: True
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: susan 1492 F.... pulseaudio
BuildID: 20110819161726
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 43'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:14f15069,17aa2157,00100302 HDA:80862804,17aa21b5,00100000'
   Controls : 12
   Simple ctrls : 6
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6SHT28WW-1.09'
   Mixer name : 'ThinkPad EC 6SHT28WW-1.09'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
Channel: beta
Date: Sun Aug 21 21:05:32 2011
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110731)
IpRoute:
 default via 192.168.1.1 dev wlan0 proto static
 169.254.0.0/16 dev wlan0 scope link metric 1000
 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.39
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Profile0IncompatibleExtensions:
 Feedback - <email address hidden>, Version=1.1.2, minVersion=3.5, maxVersion=6.0, Location=app-global, Type=extension, Active=Yes
 Inbox Toolbar - <email address hidden>, Version=1.2.0.0, minVersion=3.0, maxVersion=5.*, Location=app-profile, Type=extension, Active=Yes
Profiles: Profile0 - LastVersion=7.0/20110819161726 (Running)
RelatedPackageVersions:
 totem-mozilla 3.0.1-0ubuntu4
 icedtea-plugin 1.1.1-1ubuntu2
RunningIncompatibleAddons: True
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/20/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET44WW (1.14 )
dmi.board.name: 2985C5U
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET44WW(1.14):bd04/20/2010:svnLENOVO:pn2985C5U:pvrThinkPadX201Tablet:rvnLENOVO:rn2985C5U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2985C5U
dmi.product.version: ThinkPad X201 Tablet
dmi.sys.vendor: LENOVO

Revision history for this message
Susan Cragin (susancragin) wrote :
Revision history for this message
Susan Cragin (susancragin) wrote :

Here are the terminal error messages;
(plugin-container:5713): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
*** NSPlugin Viewer *** ERROR: libssl3.so: cannot open shared object file: No such file or directory

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryan Agee (bryanagee) wrote :

This problem may be related to Adobe flash player--I have much the same results as Susan, but flash stopped working at some point, and I noticed that this happens most on pages that use flash adds.

Revision history for this message
Roland Dreier (roland.dreier) wrote :
Download full text (3.4 KiB)

I have the same problem here, and I've noticed that even after I kill firefox I have a bunch of plugin-container processes left around:

# Firefox main process not running:
$ ps ax|grep firefox|grep -v plugin
 6013 pts/11 S+ 0:00 grep --color=auto firefox

# but...

$ ps ax|grep firefox
 3931 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 4001 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 4049 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 4248 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 4296 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5225 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5247 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5270 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5289 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5433 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5480 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5586 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5751 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5852 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5879 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5906 ? Sl 0:00 /usr/lib/firefox-7.0/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -greomni /usr/lib/firefox-7.0/omni.jar 2770 true plugin
 5976 ? Sl 0:00...

Read more...

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

We've just been discussing this on IRC. The issue is that the amd64 flashplugin-installer needs to pull in libnss3:i386. Without it, it's causing everything to go crazy, resulting in the symptoms that you see. flashplugin-installer currently depends on ia32-libs, which used to ship the 32-bit nss

affects: firefox (Ubuntu) → flashplugin-nonfree (Ubuntu)
Changed in flashplugin-nonfree (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
milestone: none → ubuntu-11.10-beta-1
summary: - firefox freezes and grays out
+ firefox freezes and grays out because of missing i386 Flash Player
+ dependencies on x86-64
summary: - firefox freezes and grays out because of missing i386 Flash Player
+ Firefox freezes and grays out because of missing i386 Flash Player
dependencies on x86-64
Revision history for this message
Chris Coulson (chrisccoulson) wrote :
Download full text (6.1 KiB)

Here's the IRC logs:

#ubuntu-desktop:
<chrisccoulson> i think what has happened is that nss got dropped from ia32-libs, but flash links against nss
 (a 32-bit nss)
<mdeslaur> chrisccoulson: yeah, that's possible
<chrisccoulson> so, it's all broken unless multiarch is enabled
<mdeslaur> it may still be broken with multiarch enabled...I need to test it
<chrisccoulson> i'm just about to ;)_
<kenvandine> mdeslaur, just checked on my test box, it is multiarch enabled and has nspluginwrapper 1.4.4-0ubuntu3
 and suffers from the same problem
<mdeslaur> kenvandine: what version of the flash package are you using?
<chrisccoulson> mdeslaur, ah, it's still going to be broken
<kenvandine> flashplugin-installer 10.3.183.4ubuntu3
<chrisccoulson> nspluginviewer doesn't have an explicit dependency against nss (it doesn't use it)
 but flash is going to need it
 it certainly isn't getting pulled in on my system here
<-- glatzor has quit (Ping timeout: 245 seconds)
<kenvandine> chrisccoulson, exactly which package?
<mdeslaur> kenvandine: what about if you do "apt-get install flashplugin-installer:i386" on your test box
<kenvandine> i have some libnss3 packages
<chrisccoulson> kenvandine, amd64 packages?
<kenvandine> yes
<-- huats has quit (Ping timeout: 260 seconds)
<mdeslaur> chrisccoulson: the amd64 version of flashplugin-installer is only pulling in ia32-libs, but that doesn't contain the libraries anymore, so installing the :i386 package should pull in all the multiarch libs
<kenvandine> this is bringing in i386 nss packages
<mdeslaur> but, the :i386 package doesn't have nspluginwrapper as a dep
* mdeslaur needs to figure out what to do
<chrisccoulson> ah, ok
 so, it still sounds like it's a bit of a mess
* mdeslaur looks around for slangasek
<mdeslaur> chrisccoulson: yeah, I need to ask slangasek how we're supposed to handle that
<kenvandine> ok... that fixed it
 i think

#ubuntu-devel:
<mdeslaur> slangasek: can a amd64 package depend on i386 packages?
<infinity> mdeslaur: Implicitely, not explicitely.
<mdeslaur> infinity: what do you mean by that?
<infinity> mdeslaur: As in, you can depend on a package that only exists on i386, and it'll work out, but you can't explicitely depend on package:i386
<mdeslaur> infinity: hmm...not exactly the answer I wanted
 infinity: so, I need flashplugin-installer to depend on nspluginwrapper on amd64 only
<-- paulliu has quit (Quit: Leaving.)
<mdeslaur> infinity: so either I get rid of the amd64 package, and figure out a way to have an arch-specific depends
<infinity> mdeslaur: Which, in turn, depends on nspluginviewer, which is i386 only.
<mdeslaur> infinity: or I keep the amd64 package, depend on nspluginwrapper, but need a way to specify :i386 depends
<infinity> No you don't...
<chrisccoulson> mdeslaur, infinity - that bit seems to work already (ie, installing flashplugin-installer pulls in nspluginwrapper, which pulls in nspluginviewer:i386 and all of it's i386 dependencies)
<infinity> If you keep the amd64 package, it depends on nspluginwrapper, and you're done.
<infinity> chrisccoulson: Indeed.
<mdeslaur> infinity: no, because the amd64 package won't pull in all the required i386 libraries
<chrisccoulson> what's br...

Read more...

Revision history for this message
Roland Dreier (roland.dreier) wrote :

Two questions:

A) Shouldn't the out-of-process plugin-container that Firefox has now prevent problems with flash from stalling the whole browser? (Should this issue be reported upstream?)

B) Is there any workaround to get the missing 32-bit library for now until Oneiric is fixed?

Revision history for this message
Steve Langasek (vorlon) wrote :

The workaround for this is to manually install flashplugin-installer:i386 in place of flashplugin-installer. This will be handled automatically in the oneiric beta.

Revision history for this message
Roland Dreier (roland.dreier) wrote :

OK, but does anyone understand why firefox freezes/greys out for seconds at a time because of this flash plugin problem? I thought the whole point of the plugin-container stuff was so that broken plugins don't mess up the main browser. So fixing the missing 32-bit libnss will fix flash in this case but the firefox behavior with broken flash still seems unfortunate.

On my current Oneiric system, going to a page that includes flash in a chromium browser just shows "Missing Plug-in" and the browser is perfectly responsive throughout.

Revision history for this message
Dennis Schridde (devurandom) wrote :

The workaround from comment #8 is reported to work here, too. We are eagerly awaiting the fix in beta1 packages.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

This bug should now be fixed with flashplugin-nonfree (10.3.183.4ubuntu4).

Marking bug as fix released.

Changed in flashplugin-nonfree (Ubuntu Oneiric):
status: Triaged → Fix Released
Revision history for this message
Roland Dreier (roland.dreier) wrote :

By the way, on an amd64 system updated from Natty to Oneiric quite early in the Oneiric cycle, I had to edit /etc/dpkg/dpkg.cfg by hand to enable multiarch. Is that intentional?

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Yes, see the following post:

https://lists.ubuntu.com/archives/ubuntu-devel-announce/2011-August/000886.html

I believe update-manager will handle the transition.

Revision history for this message
Bruce Miller (brm0423) wrote :

This bug appears to have returned. I am reopening it.

bruce@Xenophon:~/Documents/brm$ uname -a
Linux Xenophon 3.0.0-11-generic #17-Ubuntu SMP Fri Sep 9 17:48:40 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
bruce@Xenophon:~/Documents/brm$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu oneiric (development branch)
Release: 11.10
Codename: oneiric
bruce@Xenophon:~/Documents/brm$ apt-cache policy flashplugin-installer
flashplugin-installer:
  Installed: (none)
  Candidate: 10.3.183.7ubuntu1
  Version table:
     10.3.183.7ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ oneiric/multiverse amd64 Packages
bruce@Xenophon:~/Documents/brm$ sudo aptitude install flashplugin-installer
The following NEW packages will be installed:
  flashplugin-installer{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,924 B of archives. After unpacking 45.1 kB will be used.
The following packages have unmet dependencies:
  flashplugin-installer: Depends: flashplugin-downloader which is a virtual package.
                         Depends: nspluginwrapper but it is not going to be installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1) flashplugin-installer [Not Installed]

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

Revision history for this message
Bruce Miller (brm0423) wrote :

The system does not permit changes to the status of this bug. Am therefore opening a new one.

To post a comment you must log in.