firefox freezes with GStreamer-WARNING **: External plugin loader failed.

Bug #1521789 reported by Dennis Sheil on 2015-12-01
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
High
Unassigned

Bug Description

firefox freezes

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: firefox 42.0+build2-0ubuntu0.15.10.1
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
BuildID: 20151030083518
Channel: Unavailable
CurrentDesktop: Unity
Date: Tue Dec 1 17:55:35 2015
ExecutablePath: /usr/lib/firefox/firefox
Extensions: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
IpRoute:
 default via 10.128.128.128 dev wlan0 proto static metric 600
 10.0.0.0/8 dev wlan0 proto kernel scope link src 10.194.251.198 metric 600
 169.254.0.0/16 dev wlan0 scope link metric 1000
Locales: extensions.sqlite corrupt or missing
Plugins:
 iTunes Application Detector - /usr/lib/mozilla/plugins/librhythmbox-itms-detection-plugin.so (rhythmbox-mozilla)
 Shockwave Flash - /usr/lib/flashplugin-installer/libflashplayer.so
PrefSources: prefs.js
ProcAttrCurrent: /usr/lib/firefox/firefox{,*[^s][^h]} (enforce)
Profiles: Profile0 (Default) - LastVersion=42.0/20151030083518
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RunningIncompatibleAddons: False
SourcePackage: firefox
Themes: extensions.sqlite corrupt or missing
UpgradeStatus: Upgraded to wily on 2015-11-22 (9 days ago)
dmi.bios.date: 06/23/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.03.05RS761
dmi.board.asset.tag: Tag 12345
dmi.board.name: Gazelle Professional
dmi.board.vendor: System76, Inc.
dmi.board.version: gazp9b
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: System76, Inc.
dmi.chassis.version: gazp9b
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.03.05RS761:bd06/23/2014:svnSystem76,Inc.:pnGazelleProfessional:pvrgazp9b:rvnSystem76,Inc.:rnGazelleProfessional:rvrgazp9b:cvnSystem76,Inc.:ct9:cvrgazp9b:
dmi.product.name: Gazelle Professional
dmi.product.version: gazp9b
dmi.sys.vendor: System76, Inc.

Dennis Sheil (dennis-sheil) wrote :
summary: - firefox crashes
+ firefox freezes with GStreamer-WARNING **: External plugin loader
+ failed.
description: updated
Dennis Sheil (dennis-sheil) wrote :

I just upgraded to 15.10. I created a new account to replicate the bug, so no old settings would interfere.

I launch firefox, go through some tabs, and within a few minutes it freezes. This happens over and over when I try to use firefox. This did not happen on 15.04. But when I upgraded to 15.10, it started happening. Again, I just created this account on this machine, so it has all the default settings.

I did all the apt-get upgrades and rebooted the machine right before launching firefox to capture this last freeze.

Here is what it says on the command line:

$ firefox
org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.168" (uid=1003 pid=11496 comm="/usr/lib/firefox/firefox ") interface="org.gtk.vfs.MountTracker" member="ListMountableInfo" error name="(unset)" requested_reply="0" destination=":1.9" (uid=1003 pid=3125 comm="/usr/lib/gvfs/gvfsd ") (g-dbus-error-quark, 9)
org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.171" (uid=1003 pid=11572 comm="/usr/lib/firefox/plugin-container -greomni /usr/li") interface="org.gtk.vfs.MountTracker" member="ListMountableInfo" error name="(unset)" requested_reply="0" destination=":1.9" (uid=1003 pid=3125 comm="/usr/lib/gvfs/gvfsd ") (g-dbus-error-quark, 9)
Vector smash protection is enabled.
2.4+ kernel w/o ELF notes? -- report this

(firefox:11496): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(firefox:11496): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplay'

(firefox:11496): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(firefox:11496): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(firefox:11496): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(firefox:11496): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
d^C
testacct@backus:~/e$ [Child 11572] ###!!! ABORT: Aborting on channel error.: file /build/firefox-undGCc/firefox-42.0+build2/ipc/glue/MessageChannel.cpp, line 1768
[Child 11572] ###!!! ABORT: Aborting on channel error.: file /build/firefox-undGCc/firefox-42.0+build2/ipc/glue/MessageChannel.cpp, line 1768

Dennis Sheil (dennis-sheil) wrote :

This is a screenshot of what happens. Errors are spit out on the command line which launched firefox, and then the application becomes grey.

Dennis Sheil (dennis-sheil) wrote :

Also note https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803386 :

Oct 29 09:52:56 boohn icedove.desktop[2410]: #007[NPAPI 6706] ###!!! ABORT: Aborting on channel error.: file /build/icedove-RFEbAP/icedove-42.0~b1/mozilla/ipc/glue/MessageChannel.cpp, line 1768
Oct 29 09:52:56 boohn icedove.desktop[2410]: [NPAPI 6706] ###!!! ABORT: Aborting on channel error.: file /build/icedove-RFEbAP/icedove-42.0~b1/mozilla/ipc/glue/MessageChannel.cpp, line 1768

Their firefox app ("icedove") is having the same problem, in the same file, on the same line, with the same error

Dennis Sheil (dennis-sheil) wrote :

Oops, icedove is a branded thunderbird, not firefox. They seem to share some functions though.

Dennis Sheil (dennis-sheil) wrote :

Attached is a gdb trace of when the error happens. Here is a snippit of it:

11 0x00007fb2a6df8e88 in clutter_parse_args (error=0x7ffc8f85b1d8, argv=0x0,
    argc=0x0) at clutter-main.c:1770
#12 clutter_init (argc=0x0, argv=0x0) at clutter-main.c:1832
#13 0x00007fb2a70c3724 in ?? ()
   from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstclutter.so
#14 0x00007fb2b5358ba7 in gst_plugin_register_func (plugin=0x7fb2b71e9390,
    desc=0x7fb2a72cc6c0 <gst_plugin_desc>, user_data=0x0) at gstplugin.c:523
#15 0x00007fb2b535aa45 in _priv_gst_plugin_load_file_for_registry (
    filename=filename@entry=0x7fb2b595f100 "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstclutter.so", registry=0x7fb2b7d95220, error=error@entry=0x0)
    at gstplugin.c:826
#16 0x00007fb2b53671de in gst_registry_scan_plugin_file (
    context=context@entry=0x7ffc8f85b5c0,
    filename=filename@entry=0x7fb2b595f100 "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstclutter.so", file_size=62848, file_mtime=1433999812)
    at gstregistry.c:1180
#17 0x00007fb2b53680fb in gst_registry_scan_path_level (
    context=context@entry=0x7ffc8f85b5c0,
    path=path@entry=0x7fb2b53bb6a8 "/usr/lib/x86_64-linux-gnu/gstreamer-1.0",
    level=level@entry=10) at gstregistry.c:1338
#18 0x00007fb2b53682d6 in gst_registry_scan_path_internal (
    context=context@entry=0x7ffc8f85b5c0,
    path=path@entry=0x7fb2b53bb6a8 "/usr/lib/x86_64-linux-gnu/gstreamer-1.0")
    at gstregistry.c:1365
#19 0x00007fb2b5369d94 in scan_and_update_registry (write_changes=1,
    error=0x7ffc8f85b5b8,
    registry_file=0x7fb2b72fecc0 "/home/dws/.cache/gstreamer-1.0/registry.x86_64.bin", default_registry=0x7fb2b7d95220) at gstregistry.c:1660
#20 ensure_current_registry (error=0x7ffc8f85b5b8) at gstregistry.c:1752
#21 gst_update_registry () at gstregistry.c:1828
---Type <return> to continue, or q <return> to quit---
#22 0x00007fb2b530ab3f in init_post (context=<optimized out>,
    group=<optimized out>, data=<optimized out>, error=<optimized out>)
    at gst.c:716
#23 0x00007fb2e88c6d78 in g_option_context_parse ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
skomorokh (skomorokh) wrote :

I ran into this myself. From the above it looks like you use apparmor too so it's probably the same problem I had---Firefox uses GStreamer and 15.10 shipped a new version which changes the path. Try running your browser unconfined to see if it fixes the problem and then use complain mode to identify which files you need to give it access to. For me it was these:

/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner
/home/myuser/.cache/gstreamer-1.0/registry.x86_64.bin

Changed in firefox (Ubuntu):
importance: Undecided → High
Dennis Sheil (dennis-sheil) wrote :

Going on skomorokh's advice I downloaded the apparmor tools to put things into complain mode and so forth.

Theoretically this should not have fixed firefox, but it seems to have done so for me. Firefox always used to freeze within minutes for me. Now it hasn't frozen in days. I didn't do anything other than install the apparmor-profiles and apparmor-utils packages and tinker with complain a little. I did *not* note what files it complained about nor did I whitelist any. Yet it started working, and has done so for the past few days.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.