Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6620045
Votes 0
Synopsis Plugin not loading because it fails reading from HKLM\Software\mozilla.org\Mozilla\CurrentVersion
Category java_plugin:other
Reported Against
Release Fixed 6u4(b06)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6631506
Submit Date 22-OCT-2007
Description
FULL PRODUCT VERSION :
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows Vista

EXTRA RELEVANT SYSTEM CONFIGURATION :
With  xxxxx  browsers

A DESCRIPTION OF THE PROBLEM :
When opening an online Java game Java tries to update the following registry key even though the process does not have permissions to do so and then crashes the browser.
HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\ xxxxx 
Name = CurrentVersion
Value = value of the current Gecko

 xxxxx  Firefox as of the 2.0.0.8 release includes an application manifest which prevents registry virtualization on Vista which is how Java was able to successfully write to the registry previously.

Additional details can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=400467
and
http://crash-stats.mozilla.com/report/index/6c604e57-806a-11dc-b3fb-001a4bd43ed6?date=2007-10-22-06

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
With Windows Vista in its default configuration (e.g. UAC turned on using an administrator account) open a web page with a Java game
http://www.flyordie.com/games/online/games.html?lang=en&game=8Ball&room=801&rs=1
Select the button to play the game as a guest

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Can play the game
ACTUAL -
Browser appears to freeze and then eventually crashes
Crash report
http://crash-stats.mozilla.com/report/index/6c604e57-806a-11dc-b3fb-001a4bd43ed6?date=2007-10-22-06

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Grant Full Access permission for authenticated users to
HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\ xxxxx 
Posted Date : 2007-10-22 21:04:20.0

To clarify:
The original problem is because plugin fails reading from HKLM\Software\mozilla.org\Mozilla\CurrentVersion on Vista and therefore it could not load.

This is due to new change in FF install engine in which a manifest is used to override virtualization by Vista. Therefore, when FF is installed on vista, it fails to write to HKLM\Software\mozilla.org\Mozilla\CurrentVersion location.

Plugin tries to read this registry to determine what plugin adapter lib to load and therefore the symptom is plugin fails to load on Vista for FF2.0.0.8 and later.

At least no one from deployment team was able to reproduce the crash scenario.
Posted Date : 2007-11-20 19:52:48.0
Work Around
N/A
Evaluation
Fix is for JPI to not rely on this registry key anymore when calculating Mozilla's version number during startup.

Robert Strong on Mozilla.org side has also agreed to put in a work around in FF 2.0.0.9 and 2.0.0.10 while waiting for us to fix JPI.

I'm working on getting this fix in to the earliest possible JRE 6 update slot.
Posted Date : 2007-10-25 00:36:53.0
Comments
  
  Include a link with my name & email   

Submitted On 23-OCT-2007
RobertStrong
More information on this issue is available at
https://bugzilla.mozilla.org/show_bug.cgi?id=400878



PLEASE NOTE: JDK6 is formerly known as Project Mustang