Bug 841798

Summary: don't wrap plugins with the same arch
Product: [Fedora] Fedora Reporter: Dagmar Prokopová <dprokopo>
Component: nspluginwrapperAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: caillon+fedoraproject, ohudlick, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-13 14:21:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dagmar Prokopová 2012-07-20 09:12:39 UTC
Description of problem:

When nspuginwrapper is installed along with adobe flashplayer (according to [1]) attempt to open an RHU course makes flash freeze.

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

flash-plugin-11.2.202.236-release.x86_64
nspluginwrapper-1.4.4-9.fc17.x86_64
firefox-13.0.1-1.fc17.x86_64


How reproducible: always


Steps to Reproduce:

try to open RHU course ENG110 or most probably any other one
  
Actual results:

flash freezes:

[root@fedora ~]# type=ANOM_ABEND msg=audit(1342704916.998:247): auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=10910 comm="npviewer.bin" reason="memory violation" sig=5
    Jul 19 15:35:16 fedora kernel: [23208.447154] npviewer.bin[10910] trap int3 ip:3e03e4e851 sp:7fffe1e43c00 error:0
    Jul 19 15:35:17 fedora abrtd: Directory 'ccpp-2012-07-19-15:35:17-10910' creation detected
    Jul 19 15:35:17 fedora abrt[10930]: Saved core dump of pid 10910 (/usr/lib64/nspluginwrapper/npviewer.bin) to /var/spool/abrt/ccpp-2012-07-19-15:35:17-10910 (78196736 bytes)
    Jul 19 15:35:17 fedora abrtd: Blacklisted package 'nspluginwrapper'
    Jul 19 15:35:17 fedora abrtd: 'post-create' on '/var/spool/abrt/ccpp-2012-07-19-15:35:17-10910' exited with 1
    Jul 19 15:35:17 fedora abrtd: Corrupted or bad directory /var/spool/abrt/ccpp-2012-07-19-15:35:17-10910, deleting 


Expected results:

flash doesn't freeze

Workaround:

This can be worked around by uninstalling nspluginwrapper or by mentioning flash in /etc/sysconfig/nspluginwrapper

Suggested fix:

Append *flash* to IGNORE_WRAP in /etc/sysconfig/nspluginwrapper

Additionally also please update [1] as nspluginwrapper is no more needed for flash plugin to work.


------------------------
[1] http://fedoraproject.org/wiki/Flash

Comment 1 Martin Stransky 2012-07-20 10:39:31 UTC
Can you try to run nspluginwrapper/flash with disabled selinux? (#setenforce 0)

Comment 2 Dagmar Prokopová 2012-07-20 16:31:07 UTC
(In reply to comment #1)
> Can you try to run nspluginwrapper/flash with disabled selinux? (#setenforce
> 0)

I disabled selinux, but no change has occured. It still freezes.

Comment 3 Martin Stransky 2012-07-23 08:34:43 UTC
We may disable the flash wrap for the same arch only, the cross arch wrapping is still used. But nspluginwrapper does not have such feature yet...or we may disable the same arch wrapping anyway because all plugins are run as OOP in plugin-container by default.

Comment 4 Martin Stransky 2012-08-13 14:21:08 UTC
Added to rawhide.