Closed Bug 708461 Opened 14 years ago Closed 8 years ago

[10.6] [10.7] FF 4 and up hang on Java error with Apple's latest Java updates

Categories

(Core Graveyard :: Plug-ins, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: smichaud, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: hang, Whiteboard: rdar://10545699)

Attachments

(1 file)

Firefox can easily be made to hang on a Java error with Apple's latest Java updates -- Java for Mac OS X 10.6 Update 6 (http://support.apple.com/kb/DL1360) and Java for OS X Lion Update 1 (http://support.apple.com/kb/DL1421). The hang usually lasts indefinitely -- so Firefox must usually be force-quit. A similar hang happens in Safari, though (in my tests) it resolves after 15-30 seconds. So this is definitely an Apple bug, and there's some hope that Apple will fix it -- for Firefox as well as for Safari. STR (copied from bug 705931 comment #7): 1) Visit http://www.nine-eleven.com/customer.htm. None of the Java applets will load, thanks to a Java error (caused by a Java bug in the site). 2) Hover the mouse over one of the Java applets that failed to load (the little boxes on the left). After a few seconds a tooltip will appear: "Error. Click for details" 3) Click on one of the Java applets that failed to load. Firefox will freeze. Sometimes you'll also see an Application Error dialog, telling you "The Application failed to run". You also see hangs in FF on OS X 10.5.8, but (in my tests) they only last 10-15 seconds.
Severity: normal → major
Whiteboard: rdar://10545699
Testing on 10.5 with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:11.0a1) Gecko/20111207 Firefox/11.0a1 and loading http://www.nine-eleven.com/customer.htm I did not see any hangs, even short term.
(In reply to comment #1) Odd. I just retested with today's mozilla-central nightly and saw another 10-15 second hang. Note that you don't see the tooltip on OS X 10.5.8 in step 2. Just click on one of the empty boxes (Java applets that failed to load) and wait a few seconds for the hang to start (the cursor will beachball).
Keywords: hang
Interestingly, this is exactly the same as the traces for bug 717986, which happens under rather different circumstances (though both involve Java errors). My hunch is that both hangs are caused by us trying to call the plugin's NPP_GetValue() to get a value from a plugin instance that didn't get created (because of the errors).
See Also: → 717986
I'm marking this bug as WONTFIX per bug #1269807. For more information see - https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: