Closed
Bug 482755
Opened 17 years ago
Closed 15 years ago
Java applets can hold onto uploaded files after they've been closed
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: bob, Unassigned)
References
()
Details
(Whiteboard: [CLOSEME 2010-11-01])
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7
Firefox should be ensuring that an applet gives up whatever locks it's got on any files when it's shut down. If an applet gets a lock on a file, and then the tab is closed, Firefox appears to keep those locks around. The only two ways to resolve this are to either shut down Firefox entirely or use the Terminal to directly rm the file in question (assuming you were trying to delete it).
Reproducible: Always
Steps to Reproduce:
1. Upload a photo with the Facebook file upload applet
2. Close the tab
3. Move the photo to the Trash in OS X
4. Attempt to empty the Trash
Actual Results:
Error indicating file is still in use.
Expected Results:
File should have deleted successfully.
Comment 1•17 years ago
|
||
Do you have another Tab with a Java applet open ?
Firefox can only tell the plugin to shutdown but if it rejects to do that, it would be a plugin bug.
Does that work in Safari ?
Comment 3•17 years ago
|
||
Can you reproduce the error with Safari ?
Firefox doesn't do anything with the file, the Plugin itself opens the file and must release it. If the plugin itself doesn't do that it should be closed if the plugin gets unloaded. That should happen if the tab gets closed and Firefox sends a "Please go away" message to the plugin. It would be a plugin "bug" if the plugin refuses to quit. The sun JRE on windows is refusing to shutdown and the reason why Sun is doing that this (refusing to unload) is AFAIK that loading the Java plugin/JVM is very slow to load.
Interesting. Yeah, Safari has the same problem, so it's the plugin's fault.
Is there a fix other than to complain to the facebook people?
Comment 5•17 years ago
|
||
I don't know much about Java applets and if it's just a missing "release resource" in the applet itself which could be solved by Facebook or if this is a general Java plugin/JVM issue which can be only fixed by Sun or apple (isn't the Java JVM from apple on OS X ?)
Comment 6•15 years ago
|
||
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version.
Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Comment 7•15 years ago
|
||
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•