Closed Bug 626097 Opened 14 years ago Closed 13 years ago

Plugin gecko-mediaplayer prevents the browser from closing

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: hsumen, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:2.0b9) Gecko/20100101 Firefox/4.0b9
Build Identifier: Mozilla/5.0 (X11; Linux i686; rv:2.0b9) Gecko/20100101 Firefox/4.0b9

After viewing embedded media via the gecko-mediaplayer plugin, the Firefox and plugin-container processes are still running after the browser is closed.

Reproducible: Always

Steps to Reproduce:
1. View a wmv or mpeg test video such as http://www-eng-x.llnl.gov/documents/a_movie2.mpeg or http://www.askillvoll.no/index.php/av/video/wmv_test
2. Close Firefox and open a system monitor. Note that the processes Firefox and plugin-container /usr/lib/mozilla/plugins/gecko-mediaplayer.so are still running.
3. Try to start Firefox, you will receive the notification that Firefox is still running.
Actual Results:  
The browser does not fully shut down.

Expected Results:  
The browser fully shuts down.
Summary: Plugin gecko-mediaplayer prefents the browser from closing → Plugin gecko-mediaplayer prevents the browser from closing
Version: unspecified → Trunk
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Mozilla/5.0 (X11; Linux i686; rv:2.0b9) Gecko/20100101 Firefox/4.0b9

Works fine for me. Please try if you can reproduce it or if it works fine

1.in safe mode. 
https://support.mozilla.com/en-US/kb/Safe+Mode

2.or by creating a new profile
https://support.mozilla.com/en-US/kb/Managing+profiles#Creating_a_profile.
@Srinivas, sorry for the delay. I still see this using either safe mode or a new profile. Here is a terminal output...

hhh@hhh:~/Downloads/firefox$ ./firefox -P
NPP_New called
Using player backend of ''
DBUS connection created
Listening to path /control/37402
Window resized
Window resized
Window resized
New Stream Requested - http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
item is NULL for http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
Entering destroy stream reason = 0 for http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
in Destroy Stream
Entering list_parse_qt localsize = 4868784
Item 
src = http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
local = /home/hhh/.cache/gnome-mplayer/plugin/gecko-mediaplayerrkjgkp
id = 0
hrefid = 0
play = 1
path = 
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qt
Entering list_parse_qt2 localsize = 4868784
Item 
src = http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
local = /home/hhh/.cache/gnome-mplayer/plugin/gecko-mediaplayerrkjgkp
id = 0
hrefid = 0
play = 1
path = 
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qt2
Entering list_parse_asx localsize = 4868784
Item 
src = http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
local = /home/hhh/.cache/gnome-mplayer/plugin/gecko-mediaplayerrkjgkp
id = 0
hrefid = 0
play = 1
path = 
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_asx
Entering list_parse_qml localsize = 4868784
Item 
src = http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
local = /home/hhh/.cache/gnome-mplayer/plugin/gecko-mediaplayerrkjgkp
id = 0
hrefid = 0
play = 1
path = 
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qml
Entering list_parse_ram localsize = 4868784
Item 
src = http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
local = /home/hhh/.cache/gnome-mplayer/plugin/gecko-mediaplayerrkjgkp
id = 0
hrefid = 0
play = 1
path = 
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_ram
Sending Open /home/hhh/.cache/gnome-mplayer/plugin/gecko-mediaplayerrkjgkp to connection 0xb50126b0
item->hrefid = 0 item->src = http://www-eng-x.llnl.gov/documents/a_movie2.mpeg
media size = 0 x 0
media size = 994 x 659
media size = 994 x 662
NOTE: child process received `Goodbye', closing down

The last line is what I see when I exit Firefox, but I still have to kill Firefox via terminal or task manager.

After filing this bug I installed Iceweasel 4 beta9 and have had no problems. I also asked for confirmation at the nightly builds thread @ forums.mozillazine.org but received none, though they have very few Linux testers there these days. I'd say go ahead and close this bug, but it certainly is odd that this happens every single time Firefox calls gecko-mediaplayer on my brand new aptosid (Debian sid) install.
Iceweasel may be looking in different places for plugins.
Is it still using gecko-mediaplayer?
@Karl, yes, but your suggestion solved my problem. Running Iceweasel from a terminal showed errors about missing child process mencoder. I installed mencoder and libtwolame0 and Firefox shuts down properly now. Sorry for not checking terminal outputs in the first place, I'm way out of practice in bug reporting and troubleshooting.
OK, thanks.  I'll mark this WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.