Bug 770744

Summary: flash plugin does not download/play video as user but works as expected when root
Product: [Fedora] Fedora Reporter: colin <bugzilla.redhat.com>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: bazanluis20, gecko-bugs-nobody, jason, jhorak, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 14:05:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description colin 2011-12-28 21:02:14 UTC
Description of problem:

Freshly installed and fully updated F16.
Web pages with embedded video works as root but not not as user.
Not all sites affected. e.g. Youtube is fine, but bbc.co.uk and ustream broken.

Version-Release number of selected component (if applicable):
Name:firefox                                                                                       Arch:i686                                                                                                                          
Version:9.0                                                                                                                           
Release     : 3.fc16 

How reproducible:
Every Time.

Steps to Reproduce:
These example links work as expected when executed as root

firefox -safe-mode  -new-window http://www.bbc.co.uk/news/world-asia-16343288
firefox -safe-mode  -new-window http://www.ustream.tv/recorded/16429530 

1. Whereas when executed as non-root user they do not.
  
Actual results:

When executed as a normal user - the flash plugin shows the spinning 'starting' graphic but I can see from my network monitor that it does not download the video stream.

Expected results:

web page loads, flash plugin starts, video stream should download and play.

Additional info:

 flash plugin latest version installed from adobe repo.
Any questions - I will endeavour to reply the same day.

Comment 1 colin 2011-12-28 22:23:55 UTC
So I created a new empty profile with 'firefox -P'
as recommended here:
http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile

And I started firefox in 'Safe Mode' as recommended here:
http://support.mozilla.com/en-US/kb/Safe%20Mode  

The test case shows:
 
firefox -safe-mode -new-window --sync http://www.ustream.tv/recorded/16429530 & 
[2] 12410
[colin@K8 utils]$ 
Gdk-ERROR **: The program 'npviewer.bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 127 error_code 8 request_code 140 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
*** NSPlugin Wrapper *** ERROR: NPP_HandleEvent() wait for reply: Connection closed
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))

Comment 2 Martin Stransky 2012-02-14 19:00:52 UTC
I see. Anyway, you don't need the nspluginwrapper package for i686 browser, just remove it and try again.

Comment 3 colin 2012-02-14 21:52:54 UTC
> you don't need the nspluginwrapper package for i686 browser,
> just remove it and try again.

Well who knew? ;-)

Ok so I did 'yum remove nspluginwrapper'

That did not appear to make any difference.

Another data point:

The same behaviour is exhibited by the flashplayer plugin when called by uzbl-browser

uzbl-browser --uri='http://www.bbc.co.uk/news/' &
and
firefox -new-window http://www.bbc.co.uk &


both work as expected when called as root 
and do not work as expected (described previously) when invoked as another user.

Is there anything else that I should try?

Thankyou for your help

Colin.

Comment 4 colin 2012-02-16 20:07:39 UTC
Good news today.
This bug has been fixed.

After applying some of todays fc16 yum updates I find that expected behaviour is restored.

Thankyou all!

Colin.

Comment 5 Jan Horak 2012-03-27 14:05:56 UTC
Let us know if problem reoccurs. Thanks.

Comment 6 Jason Merrill 2012-05-24 15:55:41 UTC
I'm seeing the same BadMatch error with lots of Flash sites with an up-to-date 32-bit F16 install.

firefox-12.0-1.fc16.i686
nspluginwrapper-1.4.4-3.fc16.i686
flash-plugin-11.2.202.233-release.i386

A couple of sites I've hit this on in the past couple of days:

http://www.npr.org/2011/09/23/140749158/excerpt-the-astonishing-secret-of-awesome-man
http://pomplamoose.spinshop.com/Hey%20It%27s%20Pomplamoose%20EP/details/146573

Youtube works fine, but many other flash boxes fail.

Removing nspluginwrapper seems to fix the problem for me.  Running as root does not fix it.

Should I reopen this bug or file a new one?