Bug 710310 - the mozplugger.so plugin does not start when called
Summary: the mozplugger.so plugin does not start when called
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nspluginwrapper
Version: 15
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-03 00:42 UTC by Walter Neumann
Modified: 2011-10-27 14:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-27 14:37:45 UTC
Type: ---


Attachments (Terms of Use)

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.


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