View previous topic :: View next topic |
Author |
Message |
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Fri Aug 21, 2015 8:46 pm Post subject: |
|
|
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 |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Sat Aug 22, 2015 12:56 am Post subject: |
|
|
When you built firefox did you build it with the gstreamer-0 USE flag? |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Sat Aug 22, 2015 8:38 am Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sat Aug 22, 2015 10:12 am Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sat Aug 22, 2015 11:18 am Post subject: |
|
|
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 |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Sat Aug 22, 2015 11:21 am Post subject: |
|
|
jhon987 - try for the moment firefox-bin if it works. |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sat Aug 22, 2015 2:49 pm Post subject: |
|
|
Xywa wrote: | jhon987 - try for the moment firefox-bin if it works. |
Unfortunately, same results with firefox-bin 40.0.2 |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Sat Aug 22, 2015 3:20 pm Post subject: |
|
|
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 |
|
|
EmaRsk Apprentice
Joined: 07 Sep 2004 Posts: 158 Location: Italy
|
Posted: Sat Aug 22, 2015 10:37 pm Post subject: |
|
|
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 |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Aug 23, 2015 2:57 am Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sun Aug 23, 2015 8:25 am Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Wed Sep 02, 2015 3:46 pm Post subject: Re: Flash player not working in Firefox no more |
|
|
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 |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Sep 02, 2015 3:57 pm Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Wed Sep 02, 2015 7:50 pm Post subject: |
|
|
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 |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Thu Sep 03, 2015 10:32 am Post subject: |
|
|
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 |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Sep 03, 2015 12:32 pm Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sun Nov 01, 2015 6:09 pm Post subject: |
|
|
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 |
|
|
|