Closed Bug 187469 Opened 22 years ago Closed 22 years ago

Bad java plugin shouldn't crash the whole browser

Categories

(Core Graveyard :: Plug-ins, defect)

Sun
SunOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 156493

People

(Reporter: mozbugs, Assigned: peterlubczynski-bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20021230
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20021230


Inadvertently, through a copy or something, my java plugin became a file
instead of a symlink, which broke it because it didn't know where to find
the rest of the JRE. This is a good reason for the plugin to not work, but
isn't a good reason for the whole browser to crash:

INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
<
System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file number) on X server :2.0.
INTERNAL ERROR on Browser End: Could not read ack from browser
System error?:: Resource temporarily unavailable



Reproducible: Always

Steps to Reproduce:
1. Copy libjavaplugin_oji.so to mozilla/plugins instead of making a symlink
2. Access any page with java content
3.

Actual Results:  

Crash with:

INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
<
System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file number) on X server :2.0.
INTERNAL ERROR on Browser End: Could not read ack from browser
System error?:: Resource temporarily unavailable


Expected Results:  

Plugin should fail but browser should keep running
Please search bugzilla before you file a bug

*** This bug has been marked as a duplicate of 156493 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
v.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.