United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4947162 : CAxControl::OnJSInvokeMethod() - Access violation potential

Details
Type:
Bug
Submit Date:
2003-10-31
Status:
Closed
Updated Date:
2006-11-21
Project Name:
JDK
Resolved Date:
2003-11-24
Component:
deploy
OS:
windows_nt,windows_xp,windows_2000
Sub-Component:
plugin
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.2.2,1.4.2_12,5.0
Fixed Versions:
5.0 (b30)

Related Reports
Backport:
Duplicate:
Duplicate:

Sub Tasks

Description
The applet in http://www.apl.jhu.edu/~hall/CWP-Sources/CWP-Examples/Chapter19/Everest.html is doing java to javascript communication. To reproduce the problem:
* Go to that page
* Point to the applet, scroll the bottom scroll bar quick
* Hit the reload or "back" button

Expected vs. Actual behavior:
Expected:
Browser should not crash.

Actual:
The browser crashes
###@###.### 2003-10-31

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger-beta

FIXED IN:
tiger-beta

INTEGRATED IN:
tiger-b30
tiger-b32
tiger-beta

VERIFIED IN:
tiger-beta


                                     
2004-06-14
EVALUATION

When the page is switched or reloaded while there is a request to Java->JS call, the JNI code releases the JNI references and returns without waiting for the call to complete. Releasing memory is fine as long as the Java->JS call is in action. But if the call is yet to start, plugin could be using the already released JNI references in which case the browser crashes
###@###.### 2003-11-07
                                     
2003-11-07



Hardware and Software, Engineered to Work Together