Closed Bug 272762 Opened 20 years ago Closed 20 years ago

mozilla dies if javavm is not executabel

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: esbjerg, Unassigned)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

If java is installed and recognized by mozilla but has wrong filepermissions for
javavm - ie. 644 mozilla dies when trying to load a java-applet.

The error is:

INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 13
<
System error?:: Permission denied
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server localhost:16.0.
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable


Reproducible: Always
Steps to Reproduce:
1. install java an plugin
2. chmod 644 javavm
3. run mozilla and load a page with an applet



Expected Results:  
I would expect mozilla to report that java can not be run because of wrong
filepermissions or another error but it's trivial to check for executabel
permission on a unix file system.
Severity: normal → critical
Keywords: crash
Unfortunately, Mozilla isn't executing java_vm.  The Java plugin is.  Then the
plugin calls exit() when it fails to execute the file. Since the plugin is
in-process, this quits the entire app.

Please file this bug on your plugin vendor (probably Sun, but it may be
Blackdown, depending on the Java plugin you're using).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.