Bug 710310

Summary: the mozplugger.so plugin does not start when called
Product: [Fedora] Fedora Reporter: Walter Neumann <neumann>
Component: nspluginwrapperAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: caillon, hollis, stransky, than
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-27 14:37:45 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 Walter Neumann 2011-06-03 00:42:10 UTC
Description of problem: when mozplugger.so is called by Firefox to handle a pdf, (or ps, or odt) file there is an error in the console:

*** NSPlugin Wrapper *** ERROR: NP_Initialize() wait for reply: Connection closed
NOTE: child process received `Goodbye', closing down

and mozplugger.so does not load. 

Version-Release number of selected component (if applicable):

mozplugger-1.14.2-1.fc15.x86_64 and firefox-4.0.1-2.fc15.x86_64
(also the i386 versions)

How reproducible:
Consistent problem both 64 and 32 bit.

Steps to Reproduce:
1.Run firefox 4 with mozplugger installed
2.click on link to a pdf file
3.
  
Actual results:
Black window which turns white after a few seconds

Expected results:
a pdf handler (default is acroread) should display
the pdf file

Additional info: Running firefox under strace it is clear that
mozplugger is recognised by firefox during the initialization, but it
is not called when one clicks on a link to a pdf or similar
file. Instead there is an error in the console:

*** NSPlugin Wrapper *** ERROR: NP_Initialize() wait for reply: Connection closed
NOTE: child process received `Goodbye', closing down

Other plugins which use nswrapper e.g. libflashplayer.so work OK, so
it seems not to be an nswrapper bug

Comment 1 Walter Neumann 2011-06-04 12:16:27 UTC
Solution:

mozplugger should not be wrapped.

Adding it to the list of exclusions in /etc/sysconfig/nspluginwrapper solves the problem. 

I don't know whose bug this is, maybe nspluginwrapper? nspluginwrapper seems to wrap all plugins indiscriminately unless they are explicitely excluded in /etc/sysconfig/nspluginwrapper, which seems rather MS-centric.

Comment 2 Martin Stransky 2011-10-24 12:01:13 UTC
Yeah, no need to wrap mozplugger, it runs in plugin-container and executes extra child process for the embedded content.

Comment 3 Martin Stransky 2011-10-27 14:37:45 UTC
Should be fixed already.