Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1322669 - [MATE]Flash widgets are not displayed
Summary: [MATE]Flash widgets are not displayed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1321355
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-31 04:54 UTC by Vít Ondruch
Modified: 2016-04-07 12:06 UTC (History)
10 users (show)

Fixed In Version: firefox-45.0.1-6.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of: 1321355
Environment:
Last Closed: 2016-04-07 12:06:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2016-03-31 04:54:12 UTC
This is follow up of bug 1321355, since Flash widgets are still not displayed.

$ rpm -q firefox
firefox-45.0.1-4.fc25.x86_64

Just FYI, I am running on Wayland if that makes any difference.

--- Additional comment from Vít Ondruch on 2016-03-30 15:09:03 CEST ---

Actually, the error message is different this time:


Mar 30 15:08:38 unused-4-232.brq.redhat.com audit[3509]: ANOM_ABEND auid=16025 uid=16025 gid=16025 ses=1 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=3509 comm="plugin-containe" exe="/usr/lib64/firefox/plugin-container" sig=11
Mar 30 15:08:38 unused-4-232.brq.redhat.com kernel: plugin-containe[3509]: segfault at 0 ip 00007fafbf2bfc33 sp 00007ffc1ee702c8 error 6 in libmozgtk.so[7fafbf2be000+3000]
Mar 30 15:08:38 unused-4-232.brq.redhat.com abrt-hook-ccpp[3512]: Process 3509 (plugin-container) of user 16025 killed by SIGSEGV - ignoring (repeated crash)
Mar 30 15:08:38 unused-4-232.brq.redhat.com xchat-gnome.desktop[2626]: [2813] WARNING: pipe error (83): Spojení zrušeno druhou stranou: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459
Mar 30 15:08:38 unused-4-232.brq.redhat.com audit[3513]: ANOM_ABEND auid=16025 uid=16025 gid=16025 ses=1 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=3513 comm="plugin-containe" exe="/usr/lib64/firefox/plugin-container" sig=11
Mar 30 15:08:38 unused-4-232.brq.redhat.com kernel: plugin-containe[3513]: segfault at 0 ip 00007f8bb3a7ac33 sp 00007ffe96d9bce8 error 6 in libmozgtk.so[7f8bb3a79000+3000]
Mar 30 15:08:38 unused-4-232.brq.redhat.com abrt-hook-ccpp[3516]: Process 3513 (plugin-container) of user 16025 killed by SIGSEGV - ignoring (repeated crash)
Mar 30 15:08:38 unused-4-232.brq.redhat.com xchat-gnome.desktop[2626]: [2813] WARNING: pipe error (83): Spojení zrušeno druhou stranou: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459

--- Additional comment from srakitnican on 2016-03-30 16:56:35 CEST ---

$ rpm -q firefox
firefox-45.0.1-4.fc24.x86_64

Flash still doesn't load, getting repeated messages like 

Mar 30 16:52:27 rawhide audit[5164]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=5164 comm="plugin-containe" exe="/usr/lib64/firefox/plugin-container" sig=11
Mar 30 16:52:27 rawhide abrt-hook-ccpp[5167]: Process 5164 (plugin-container) of user 1000 killed by SIGSEGV - ignoring (repeated crash)
Mar 30 16:52:27 rawhide firefox.desktop[4506]: [4506] WARNING: pipe error (55): Connection reset by peer: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459

--- Additional comment from Martin Stransky on 2016-03-30 21:17:55 CEST ---

Flash is working fine on my system, Fedora 24, firefox-45.0.1-4, latest flash. This bug was about missing symbols in plugin-container which is fixed now. Your problem may be the Wayland or SELinux or something else - please try to disable selinux, try X session and file a new bug for it.

Comment 1 Vít Ondruch 2016-03-31 05:11:52 UTC
BTW trying with https://www.google.com/finance?q=nyse%3Arht, there is definitely some segfault in plugin-container:

Mar 31 07:07:30 unused-4-232.brq.redhat.com kernel: plugin-containe[22980]: segfault at 0 ip 00007f0b14ae3c33 sp 00007ffdd13c06a8 error 6 in libmozgtk.so[7f0b14ae2000+3000]

Comment 2 Martin Stransky 2016-03-31 07:11:13 UTC
Can you please test X session?

Comment 3 srakitnican 2016-03-31 07:36:56 UTC
I have tested on X session with SELinux set to permissive. Fedora 24.

Mar 31 00:36:02 rawhide kernel: plugin-containe[9684]: segfault at 0 ip 00007f1b840b2c33 sp 00007ffecd35a0a8 error 6 in libmozgtk.so[7f1b840b1000+3000]
Mar 31 00:36:02 rawhide abrt-hook-ccpp[9687]: Process 9684 (plugin-container) of user 1000 killed by SIGSEGV - ignoring (repeated crash)
Mar 31 00:36:02 rawhide firefox.desktop[9420]: [9420] WARNING: pipe error (85): Connection reset by peer: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459
Mar 31 00:36:02 rawhide audit[9688]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=4 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=9688 comm="plugin-containe" exe="/usr/lib64/firefox/plugin-container" sig=11
Mar 31 00:36:02 rawhide kernel: plugin-containe[9688]: segfault at 0 ip 00007f75ea409c33 sp 00007fff2719ea98 error 6 in libmozgtk.so[7f75ea408000+3000]
Mar 31 00:36:02 rawhide abrt-hook-ccpp[9691]: Process 9688 (plugin-container) of user 1000 killed by SIGSEGV - ignoring (repeated crash)

Comment 4 Martin Stransky 2016-03-31 18:26:40 UTC
Hm, I don't see that, flash works fine for me, SELinux enabled.

Comment 5 Heiko Adams 2016-04-01 21:09:54 UTC
I got the same problem(?) on X. When running firefox from terminal there are a lot of messages like that:

[23060] WARNING: pipe error (84): Connection reset by peer: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459
[23060] WARNING: waitpid failed pid:23211 errno:10: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/base/process_util_posix.cc, line 267

Comment 6 Martin Stransky 2016-04-01 21:25:22 UTC
(In reply to Heiko Adams from comment #5)
> I got the same problem(?) on X. When running firefox from terminal there are
> a lot of messages like that:
> 
> [23060] WARNING: pipe error (84): Connection reset by peer: file
> /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/
> common/ipc_channel_posix.cc, line 459
> [23060] WARNING: waitpid failed pid:23211 errno:10: file
> /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/base/
> process_util_posix.cc, line 267

That just means that the plugin crashed inside plugin-container and firefox can't connect to it.

Comment 7 Erik van Pienbroek 2016-04-04 09:33:37 UTC
I'm also running into this same segfault on Fedora 24/firefox-45.0.1-4.fc24. In my situation it is with the Citrix ICA plugin instead of Flash:

apr 04 10:50:43 foo.bar audit[3180]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=3180 comm="plugin-containe" exe="/usr/lib64/firefox/plugin-container" sig=11
apr 04 10:50:43 foo.bar kernel: plugin-containe[3180]: segfault at 0 ip 00007fc2cdc88c33 sp 00007ffcb26a0d48 error 6 in libmozgtk.so[7fc2cdc87000+3000]
apr 04 10:50:43 foo.bar abrt-hook-ccpp[3183]: Process 3180 (plugin-container) of user 1000 killed by SIGSEGV - dumping core
apr 04 10:50:44 foo.bar firefox.desktop[3089]: [3089] WARNING: pipe error (55): Verbinding is weggevallen: file /builddir/build/BUILD/firefox-45.0.1/firefox-45.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459

Setting SELinux to permissive does not resolve the issue. It also doesn't matter if I'm running from a Wayland or a X11 session

I managed to workaround it by downgrading to firefox-44.0.2-3.fc24

Comment 8 Martin Stransky 2016-04-04 09:49:41 UTC
Can you please test upstream Firefox from mozilla.com? Thanks.

Comment 9 Erik van Pienbroek 2016-04-04 10:12:32 UTC
With upstream Firefox 45.0.1 the Citrix ICA plugin works fine without segfaults

Comment 10 srakitnican 2016-04-04 12:23:14 UTC
Please note that I am experiencing it only with firefox-45.0.1-4.fc24.x86_64.rpm. Currently I am using firefox-45.0-4.fc24.x86_64 with which flash works fine.

I've also tried upstream 45.0.1, found no problem with flash and no error messages at terminal regarding plugin-container.

Comment 11 Hans de Goede 2016-04-04 17:17:02 UTC
Hi,

I'm seeing this too, like the other I too am getting segfaults in the plugin-container, dmesg says the segfaults are in libmozgtk.so, which does suggest an issue with firefox.

Parallel installing libicu and libvpx from F23 (using --replacefiles to work around conflicts under /usr/share/doc) and then downgrading to the F23 firefox build fixes this. So chances are this is an issue caused by building firefox with gcc6 for F24.

Note: all requested info has been provided in earlier comments -> clearing needinfo.

Regards,

Hans

Comment 12 Vít Ondruch 2016-04-05 06:22:23 UTC
This is backtrace I was able to get using GDB:


(gdb) set follow-fork-mode child
(gdb) c
Continuing.
[Thread 0x7fb86e5ef700 (LWP 5071) exited]
[New Thread 0x7fb86e5ef700 (LWP 5113)]
[New process 5114]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
process 5114 is executing new program: /usr/lib64/firefox/plugin-container
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7f0d287ff700 (LWP 5116)]
[Thread 0x7f0d287ff700 (LWP 5116) exited]
[New Thread 0x7f0d287ff700 (LWP 5117)]

Thread 2.1 "plugin-containe" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f0d3cae2ac0 (LWP 5114)]
0x00007f0d36d4ec33 in gtk_button_get_type () from /usr/lib64/firefox/gtk2/libmozgtk.so
Missing separate debuginfos, use: dnf debuginfo-install firefox-45.0.1-4.fc25.x86_64
(gdb) bt
#0  0x00007f0d36d4ec33 in gtk_button_get_type () at /usr/lib64/firefox/gtk2/libmozgtk.so
#1  0x00007f0d25eebfbb in gtk_module_init () at /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
#2  0x00007f0d2f415650 in default_display_notify_cb () at /lib64/libgtk-x11-2.0.so.0
#3  0x00007f0d319803e8 in g_closure_invoke () at /lib64/libgobject-2.0.so.0
#4  0x00007f0d31992442 in signal_emit_unlocked_R () at /lib64/libgobject-2.0.so.0
#5  0x00007f0d3199b08c in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#6  0x00007f0d3199b45f in g_signal_emit () at /lib64/libgobject-2.0.so.0
#7  0x00007f0d319847b4 in g_object_dispatch_properties_changed () at /lib64/libgobject-2.0.so.0
#8  0x00007f0d31986cc4 in g_object_notify () at /lib64/libgobject-2.0.so.0
#9  0x00007f0d2f013b0a in gdk_display_open_default_libgtk_only () at /lib64/libgdk-x11-2.0.so.0
#10 0x00007f0d2f3f8a65 in gtk_init () at /lib64/libgtk-x11-2.0.so.0
#11 0x00007f0d3a27a61e in mozilla::plugins::PluginModuleChild::InitGraphics() () at /usr/lib64/firefox/libxul.so
#12 0x00007f0d3a27add5 in mozilla::plugins::PluginModuleChild::InitForChrome(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, MessageLoop*, IPC::Channel*) ()
    at /usr/lib64/firefox/libxul.so
#13 0x00007f0d3a281ff1 in mozilla::plugins::PluginProcessChild::Init() () at /usr/lib64/firefox/libxul.so
#14 0x00007f0d3aa43a9b in XRE_InitChildProcess () at /usr/lib64/firefox/libxul.so
#15 0x00005601f46c0795 in content_process_main(int, char**) ()
#16 0x00007f0d371fe0c1 in __libc_start_main () at /lib64/libc.so.6
#17 0x00005601f46c0379 in _start ()
(gdb)

Comment 13 Parag Nemade 2016-04-05 06:58:33 UTC
I am glad that I am not the one who is facing this issue. I am still not able to play flash widgets. I am using firefox-45.0.1-4.fc24 build. Previously I thought its flash issue but after few times removal/reinstall still firefox can't show flash widgets.

Comment 14 Martin Stransky 2016-04-05 11:35:51 UTC
Thanks, the backtrace is very useful. Can you please set "GTK_DEBUG=all", run it in gdb and attach console output? I expect some gtk warnings. 

You can also run FF with "--g-fatal-warnings" param which stops gdb when some gtk critical event happens. 

Thanks.

Comment 15 Martin Stransky 2016-04-05 11:38:07 UTC
btw. the /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so seems to be a part of MATE DE. Do you run MATE or some different DE? Like gnome-shell, Cinamon, KDE?

Comment 16 Vít Ondruch 2016-04-05 12:07:38 UTC
(In reply to Martin Stransky from comment #15)
> btw. the /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so seems to be a
> part of MATE DE. Do you run MATE or some different DE? Like gnome-shell,
> Cinamon, KDE?

Negative, neither I have ever tried them. I am using just plain Gnome 3.20.

Comment 17 Vít Ondruch 2016-04-05 12:11:55 UTC
(In reply to Vít Ondruch from comment #16)
> (In reply to Martin Stransky from comment #15)
> > btw. the /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so seems to be a
> > part of MATE DE. Do you run MATE or some different DE? Like gnome-shell,
> > Cinamon, KDE?
> 
> Negative, neither I have ever tried them. I am using just plain Gnome 3.20.

This seems to be required by xchat-gnome I am using:



$ sudo dnf remove `rpm -qf /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so`
Dependencies resolved.
=====================================================================================
 Package              Arch       Version                          Repository    Size
=====================================================================================
Removing:
 libcanberra-gtk2     x86_64     0.30-11.fc24                     @rawhide      46 k
 xchat-gnome          x86_64     0.26.2-22.git40c5bf988.fc25      @rawhide     6.2 M

Transaction Summary
=====================================================================================
Remove  2 Packages

Installed size: 6.3 M
Is this ok [y/N]:

Comment 18 Martin Stransky 2016-04-05 12:13:27 UTC
Well, yes, it's really a problem with the mate component.

Comment 19 Martin Stransky 2016-04-05 13:20:48 UTC
Added to firefox-45.0.1-6.fc24, please retest when the builds are done in koji.

Comment 20 Parag Nemade 2016-04-05 13:33:00 UTC
Wow it was simple fix for me on Fedora 24 Workstation. I just removed
$ rpm -qf /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
libcanberra-gtk2-0.30-11.fc24.x86_64
$ sudo dnf remove libcanberra-gtk2

And flash widgets started working fine. Thanks Martin and Vit for your inputs. 

But I don't understand howcome firefox flash widgets are affected by this libcanberra-gtk-module.so ?

Comment 21 srakitnican 2016-04-05 14:04:52 UTC
I can also confirm that removing libcanberra-gtk2-0.30-11.fc24.x86_64 package makes firefox-45.0.1-4.fc24.x86_64.rpm work. It is strange however because it is not required by any other package and it seems it was installed with the base desktop system.

By looking at history, it was installed for me with "Fedora Workstation" group this was the command line for dnf.

Command Line   : --disablerepo=* --enablerepo=rawhide --nogpgcheck --installroot=/mnt groupinstall Fedora Workstation
--disablerepo=* --enablerepo=rawhide --nogpgcheck --installroot=/mnt groupinstall Fedora Workstation

Comment 22 Vít Ondruch 2016-04-06 07:48:55 UTC
(In reply to Martin Stransky from comment #19)
> Added to firefox-45.0.1-6.fc24, please retest when the builds are done in
> koji.

This fixes the issue for me, although I have two cursors shown above the Google Finance graph. Will open separate issue for that. Thx for the fix.

Comment 23 Fedora Update System 2016-04-06 08:09:16 UTC
firefox-45.0.1-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c2341fb85

Comment 24 Fedora Update System 2016-04-06 17:53:20 UTC
firefox-45.0.1-6.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c2341fb85

Comment 25 Martin Stransky 2016-04-06 18:27:51 UTC
(In reply to Parag Nemade from comment #20)
> And flash widgets started working fine. Thanks Martin and Vit for your
> inputs. 
> 
> But I don't understand howcome firefox flash widgets are affected by this
> libcanberra-gtk-module.so ?

It's because flash search missing gtk2 symbols in libcanberra-gtk-module.so which is obviously wrong. That was caused by wrong symbols in the mozillagtk2 module.

Comment 26 Fedora Update System 2016-04-07 12:06:04 UTC
firefox-45.0.1-6.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.