Closed
Bug 64312
Opened 25 years ago
Closed 22 years ago
Repeatedly initializing JS (Rhino) causes breakpoint on W2K
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
1.5R5
People
(Reporter: nkirby, Assigned: norrisboyd)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: Rhino15r1
execute
/*
* VMTester - This class causes the HotSpot server VM to hit a breakpoint when
it is executed.
* All it does is initialize the Javascript environment repeatedly.
This does not
* seem to happen on WinNT4.0, linux (redhat 6.1), but it does on
Win2000.
*
* 1/3/00 Nate Kirby and Roy Lou SPSS Inc.
*
*/
import org.mozilla.javascript.*;
public class VMTester {
public VMTester() {
}
public static void main( String args[] ) {
int i = 0;
while (true) {
Context cx = Context.enter();
ScriptableObject Global = (ScriptableObject) cx.initStandardObjects(
null);
cx.exit();
System.out.print(i+ ".");
i++;
}
}
}
on W2K against rhino (1.5r1 ftp://ftp.mozilla.org/pubs/js/Rhino15r1.zip)
causes the VM to hit a breakpoint. Linux and WinNT4 seem to be fine.
If I cancel and go into the debugger (VC++6.0) and continue I get
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4348414954494E0E435050012E
#
# Problematic Thread: prio=5 tid=0x85c098 nid=0x1cc runnable
#
and the VM quits.
Reproducible: Always
Steps to Reproduce:
1.run VMTester on W2K using HotSpot server version 1.3.0c
2.
3.
Actual Results: VM hits breakpoint and tesitng has to halt.
Expected Results: VM continues
This only seems in HotPost server VM 1.3
[java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Server VM (build 2.0fcs-E, mixed mode)]
on W2K. Linux and WINNT4 seem fine. (It's really a hotspot defect, but we
thought to log it here so you guys know about it - JDC internal defect ID
114580 - no external ID is yet available)
My email address is nkirby@spss.com.
Comment 1•25 years ago
|
||
---> Rhino
Assignee: rogerl → nboyd
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Core
Ever confirmed: true
Product: Browser → Rhino
Summary: repeatedly initializing js (rhino) causes breakpoint on W2K → Repeatedly initializing JS (Rhino) causes breakpoint on W2K
| Assignee | ||
Comment 2•25 years ago
|
||
HotSpot implies JDK1.3, correct?
This may be related to bug 59861.
This bug logged with Sun has been accepted as a bug and is under ID 4402079.
Comment 4•22 years ago
|
||
Marking as "wontfix" as this is a JDK bug.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•