JDK-6377403 : loading applet using debug-plugin causing browser crash because of missing file java_vm_g in 142_xx
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.2_11
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2006-01-26
  • Updated: 2014-02-27
  • Resolved: 2008-08-04
Related Reports
Relates :  
Relates :  
Description
loading applet using debug-plugin causing browser crash because of missing file java_vm_g in 142_xx

Debug-plugin is searching for java_vm_g file(Which is not available in
debug-build) when i load any applet  and so its crashing the browser
with the below error:


***************************************
bash-3.00$ ./mozilla     
INTERNAL ERROR on Browser End: Exec of "java_vm_g" failed: 2
<
System error?:: No such file or directory

** (Gecko:3101): WARNING **: Serious fd usage error 22

** (Gecko:3101): WARNING **: Serious fd usage error 19
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

***************************************
java_vm_g file is not included in debug-build.
Steps to reproduce for Mozilla browser:
--------------------------------------
1.
Install any 1.4.2_xx bundle and 142_xx-debug bundle in the testmachine.
2.
Set Plugin Path to j2sdk1.4.2_11/jre/plugin/sparc/ns610/libjavaplugin_oji_g.so
(or)
create a soft link in <Browser-install-location>/plugin
For Ex.:
--------
cd <Browser-install-location>/plugin
ln -s /export/updates/jdks/j2sdk1.4.2_11/jre/plugin/sparc/ns610/libjavaplugin_oji_g.so libjavaplugin_oji_g.so
3.
Start the browser and load any applet from <Java-Home>/demos

Expected:
---------
Applet should load without any errors.
Actual:
-------
Browser will crash with the above mentioned error.

Comments
EVALUATION 1.4.2 only - reassigning to Sustaining.
06-02-2006

SUGGESTED FIX Since libjavaplugin_oji_g.so is dependent on java_vm_g so its better to include java_vm_g in debug-bundle. (OR) Exclude libjavaplugin_oji_g.so in debug-build hence its no use without java_vm_g (OR) update libjavaplugin_oji_g.so file so that it should look java_vm instead of java_vm_g file. Creating a link to java_vm with the name java_vm_g (OR) copy java_vm with the name as java_vm_g is working fine. I copied the java_vm file as java_vm_g and i am able to load the applet.
26-01-2006