Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Flash player not working in Firefox no more
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Fri Aug 21, 2015 4:31 pm    Post subject: Flash player not working in Firefox no more Reply with quote

Hey guys,
Is it just me or did your flash player stopped working in Firefox too?
I've tried adobe flash, and also tried freshplayerplugin (https://packages.gentoo.org/package/www-plugins/freshplayerplugin) which should make use of the flash inside chrome-binary-plugins (https://packages.gentoo.org/package/www-plugins/chrome-binary-plugins), still no go.

I also tried compiling freshplayerplugin from source (https://github.com/i-rinat/freshplayerplugin) myself and point it to the location of libpepflashplayer.so that too doesn't work...

In chromium flash works fine though, what else can I do?

(For the record, I use ffmpeg and not libav bTW)
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Fri Aug 21, 2015 8:46 pm    Post subject: Reply with quote

Answering my own question, it seems that the latest version of Firefox (40.0.2) is the culprit! downgraded to stable version and now both types of flash player works...
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Fri Aug 21, 2015 8:52 pm    Post subject: Reply with quote

Hello, I am using Firefox 40.0.2 and adobe flash seems to be working fine for me.

http://www.chemgapedia.de/vsengine/help/en/flash/

www-client/firefox-40.0.2
www-plugins/adobe-flash-11.2.202.508
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Sat Aug 22, 2015 12:56 am    Post subject: Reply with quote

When you built firefox did you build it with the gstreamer-0 USE flag?
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Sat Aug 22, 2015 8:38 am    Post subject: Reply with quote

davidm wrote:
Hello, I am using Firefox 40.0.2 and adobe flash seems to be working fine for me.

http://www.chemgapedia.de/vsengine/help/en/flash/

www-client/firefox-40.0.2
www-plugins/adobe-flash-11.2.202.508


Also works for me
Code:
*  www-client/firefox-bin
      Latest version available: 40.0.2
      Latest version installed: 40.0.2


Code:
*  www-plugins/adobe-flash
      Latest version available: 11.2.202.508
      Latest version installed: 11.2.202.508
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sat Aug 22, 2015 10:12 am    Post subject: Reply with quote

That's great input guys, well I don't use bindist (use-flag) and I didn't compile with gstreamer-0 so it might have something to do with it.
I'll try the gstreamer-0 use flag now and see whether there's any change...
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sat Aug 22, 2015 11:18 am    Post subject: Reply with quote

Well, gstreamer-0 didn't do the trick. Also it's not reasonable that it would have (yet I've tried nevertheless) because: I didn't have the gstreamer 0.10 packages, without those packages - flash still works in Chromium and lastly, I have another PC with Ubuntu on it and flash doesn't work there either - on firefox 40.0.2

This starts to get real interesting since you guys says it works for you, so the question is:
do you all have 40.0.2?
are you using bindist use-flag or not?
do you use multilib profile?
what architecture do you guys have 64 / 32 bit?

Perhaps the answer hides inside one of these questions...
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Sat Aug 22, 2015 11:21 am    Post subject: Reply with quote

jhon987 - try for the moment firefox-bin if it works.
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sat Aug 22, 2015 2:49 pm    Post subject: Reply with quote

Xywa wrote:
jhon987 - try for the moment firefox-bin if it works.


Unfortunately, same results with firefox-bin 40.0.2
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Sat Aug 22, 2015 3:20 pm    Post subject: Reply with quote

jhon987 wrote:


This starts to get real interesting since you guys says it works for you, so the question is:
do you all have 40.0.2?
are you using bindist use-flag or not?
do you use multilib profile?
what architecture do you guys have 64 / 32 bit?

Perhaps the answer hides inside one of these questions...


40.0.2 - YES
BINDIST USE FLAG - NO
Multilib - NO
~amd64
Back to top
View user's profile Send private message
EmaRsk
Apprentice
Apprentice


Joined: 07 Sep 2004
Posts: 158
Location: Italy

PostPosted: Sat Aug 22, 2015 10:37 pm    Post subject: Reply with quote

It works here too (~amd_64, multilib)

firefox:
- version: 40.0.2
- USE flags enabled: gmp-autoupdate, gstreamer, jemalloc3, jit, minimal, linguas_en_GB, linguas_it
- USE flags disabled: anything else

adobe-flash:
- version: 11.2.202.508
- USE flags enabled: cpu_flags_x86_sse2
- USE flags disabled: abi_x86_32, kde
_________________
Please, avoid some common spelling errors:
http://theoatmeal.com/comics/misspelling
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Aug 23, 2015 2:57 am    Post subject: Reply with quote

I heard that Firefox is blocking flash. I had no videos, then I uninstalled flash. Videos work fine without flash. Good riddance to that security hole. Firefox 38.2.0
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sun Aug 23, 2015 8:25 am    Post subject: Reply with quote

Alright folks,
I have no clue what's wrong with my Firefox then, I have ~amd64, multilib profile and as for the useflags:
# equery u firefox | grep +
+custom-optimization
+dbus
+gmp-autoupdate
+gstreamer
+jemalloc3
+jit
+minimal
+pulseaudio
+startup-notification
+system-icu
+system-jpeg
+system-libvpx
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Wed Sep 02, 2015 3:46 pm    Post subject: Re: Flash player not working in Firefox no more Reply with quote

kennethcbrown15 wrote:


I am facing the same problem now, the flash player is no longer working. I have reinstalled it, but still it won't work. I am using Chrome now. Let me know if you find a solution to this problem.


Hey have you managed to work it out? I still haven't...

I thought Gentoo mods threw this thread to the dustbin (-> https://forums.gentoo.org/viewtopic.php?p=7803790#7803790) for some reason, apparently, they haven't.

What I can say is that:
Firefox 38.X and lower - flash works for me.
On Gentoo Firefox versions 40.0.2 and 40.0.3 flash isn't working, no matter whether I use gstreamer-0 or just gstreamer. I've also tried using the package offered by Mozilla website - neither firefox nor firefox-bin have flash working even though the flash plugin is recognized.
furthermore, I have another machine with Ubuntu that also suffers from the same firefox-flash issue, however, when I installed fresh Ubuntu on virtualbox, flash do works on Firefox there.

This is super-confusing....
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Sep 02, 2015 3:57 pm    Post subject: Reply with quote

I switched to Palemoon http://gpo.zugaina.org/www-client/palemoon www.palemoon.org with Shockwave Flash ESR 13.0.0.309

Works great and I don't have to rearrange my user interface every time there is an update.

Installing from the overlay was a trial. Wish it was in the tree.
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Wed Sep 02, 2015 7:50 pm    Post subject: Reply with quote

So, I've tried taking this debugging one step further and recompiled Firefox with debug use-flag. This is what I get upon entering a website with flash:

Code:
[3063] WARNING: '!aObserver', file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/xpcom/ds/nsObserverService.cpp, line 284
[3063] ###!!! ASSERTION: expecting a spawned plugin: 'Not Reached', file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/dom/base/nsObjectLoadingContent.cpp, line 591
[3063] ###!!! ASSERTION: Got data for channel with no connected final listener: 'Not Reached', file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/dom/base/nsObjectLoadingContent.cpp, line 1196
For application/x-shockwave-flash found plugin libfreshwrapper-pepperflash.so
Assertion failure: IsSingleThreaded(), at /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/security/sandbox/linux/Sandbox.cpp:442
[3063] WARNING: pipe error (44): Connection reset by peer: file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 459
[3063] WARNING: '!aObserver', file /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/xpcom/ds/nsObserverService.cpp, line 284
--DOMWINDOW == 32 (0x7f39db644000) [pid = 3063] [serial = 51] [outer = (nil)] [url = http://www.chemgapedia.de/vsengine/help/en/flash/]


you can see it does recognize the plugin, however - "Assertion failure: IsSingleThreaded(), at /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/security/sandbox/linux/Sandbox.cpp:442 "

Moreover, I don't know why but I also get this at the same time:

Code:
# ls -a /var/tmp/portage/www-client/
.  ..
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Sep 02, 2015 8:38 pm    Post subject: Reply with quote

http://www.computerworld.com/article/2947898/security/mozilla-blocks-all-flash-in-firefox-after-third-zero-day.html
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Thu Sep 03, 2015 10:32 am    Post subject: Reply with quote

Tony0945 wrote:
http://www.computerworld.com/article/2947898/security/mozilla-blocks-all-flash-in-firefox-after-third-zero-day.html


Ahhh (<- sigh) Tony, if it'd only been that simple...

Finally managed to work-around this issue

So, here's the thing: as you can see by the debug output I've posted, Firefox 40.0.3 was complaining about single-threading with regards to sandbox on Linux.
To work-around this, I've edited the source code a little (nothing to serious, just commented out a specific line), then recompiled and now flash works!

Here are the steps to do what I did, in case
kennethcbrown15 wrote:
I am facing the same problem now, the flash player is no longer working. I have reinstalled it, but still it won't work. I am using Chrome now. Let me know if you find a solution to this problem.
is reading this:

Code:
# ebuild /usr/portage/www-client/firefox/firefox-40.0.3.ebuild fetch (if you don't have it in distfiles)
# ebuild /usr/portage/www-client/firefox/firefox-40.0.3.ebuild unpack (unpacked to /var/tmp/portage/packagename/something)

Now, go into /var/tmp/portage/www-client/firefox-40.0.3/work/mozilla-release/security/sandbox/linux/ and edit "Sandbox.cpp" file - line 442.
Simply add "//" before it like so: //MOZ_RELEASE_ASSERT(IsSingleThreaded());
Next, run:

Code:
# ebuild /usr/portage/www-client/firefox/firefox-40.0.3.ebuild compile
# ebuild /usr/portage/www-client/firefox/firefox-40.0.3.ebuild install
# ebuild /usr/portage/www-client/firefox/firefox-40.0.3.ebuild qmerge


Aftermath

Although, I've solved this I'm still left with a big question to ponder about:
How come both my 8-core Intel i7 and another laptop which I think is core2duo couldn't run flash in Firefox 40.X, however some of you guys, plus, virtualbox Ubuntu did manage?

Beyond that, this seems like a Firefox bug, if indeed it is - I wonder how can I get Gentoo's Firefox maintainer to incorporate a patch for this?

BTW, it turns out that this thread has nothing to do with multimedia but with Firefox package itself - so if any Gentoo forum mod reads this, it's probably more suited into Portage & programming...
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Sep 03, 2015 12:32 pm    Post subject: Reply with quote

Excellent, jhon987, excellent. Apparently, the developers felt strongly that the code should be single threaded at that point. There are several possibilities.

1. The assert is wrong and a bug should be filed.
2. There is a problem with multi-threading but it's not apparent from your test cases (the videos you have watched).
3. This was the method used to kill flash.
4. (It's too early to think of more, I haven't had any coffee and I'm not a morning person)

That was very good work tracking through that code's muck. I've been trying to wade through the palemoon ebuild to see if CFLAGS is actually used, without success. If it's not used then why spend over an hour building from source? But that's a digression.

By all means, file a bug and post a link here to it.
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Tue Oct 06, 2015 5:07 pm    Post subject: Reply with quote

Took me a while to do it but here's the bug report. Hopefully, the maintainers won't linger as I did...

https://bugs.gentoo.org/show_bug.cgi?id=562388
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Sun Nov 01, 2015 6:09 pm    Post subject: Reply with quote

I can tell all who are interested in this bug that it was solved thanks to another Gentoo user, see his comment in the bug report.
As a matter of fact, the solution also fixes many other "quirks" I experienced lately, so props to that user about that as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum