-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.3.0
-
x86
-
generic
On Windows NT, the GraphLayout demo crashes when you perform the following series of actions: click on the Stress checkbox, then the Random checkbox, and then the Scramble button twice. The HotSpot VM reports an EXCEPTION_ACCESS_VIOLATION at os_win32.cpp, 702. You need to click on the checkboxes and buttons as soon as the demo is up and running otherwise the demo will not crash. I can reproduce the problem 5 out of 6 tries. The crash does not appear to happen on Windows 98 or on Solaris 2.7.
STEPS TO REPRODUCE
- Install JDK1.3 RC1 build P on a computer running Windows NT.
- Go to the GraphLayout directory:
\jdk1.3\demo\applets\GraphLayout
- Launch the GraphLayout demo using appletviewer
\jdk1.3\demo\applets\GraphLayout>appletviewer example1.html
- When the demo window appears, click on the Stress checkbox, then the Random checkbox, and then the Scramble button twice (Do this quickly otherwise the crash will not happen)
- When you click the Scramble button, the demo will crash with a EXCEPTION_ACCESS_VIOLATION at os_win32.cpp,702.
C:\jdk1.3\demo\applets\GraphLayout>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
Java HotSpot(TM) Client VM (build 1.3-P, mixed mode)
C:\jdk1.3\demo\applets\GraphLayout>appletviewer example1.html
#
# HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
#
# Error ID: 4F533F57494E13120E43505002BE
#
abnormal program termination
philip.chin@eng 1999-12-04
Running under Classic VM, I am also seeing the following error on Windows NT. It reproduces 3 out of 7 tries. I do not see this problem under Windows 98..
Exception occurred during event dispatching:
java.security.AccessControlException: access denied (java.io.FilePermission \D:\
jdk1.3\demo\applets\GraphLayout\audio\gong.au read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:276)
at java.security.AccessController.checkPermission(AccessController.java:
403)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at sun.applet.AppletViewer.checkConnect(AppletViewer.java:1168)
at sun.applet.AppletViewer.getAudioClip(AppletViewer.java:324)
at java.applet.Applet.getAudioClip(Applet.java:253)
at java.applet.Applet.getAudioClip(Applet.java:273)
at java.applet.Applet.play(Applet.java:359)
at Graph.actionPerformed(Graph.java:396)
at java.awt.Button.processActionEvent(Button.java:333)
at java.awt.Button.processEvent(Button.java:306)
at java.awt.Component.dispatchEventImpl(Component.java:2599)
at java.awt.Component.dispatchEvent(Component.java:2503)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:323)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
7)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:97)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
I was doing the same steps as above, except I was randomly and repeatedly pressing the Scramble and Shake buttons after both the Stress and Random checkboxes have been enabled. The crash usually happens when the Scramble button is pressed.
If you press the Scramble button after this exception occurs, the demo will crash with an system error message saying:
The instruction at "0x77f7d465" referenced memory at "0x00000000". The memory could not be "written".
STEPS TO REPRODUCE
- Install JDK1.3 RC1 build P on a computer running Windows NT.
- Go to the GraphLayout directory:
\jdk1.3\demo\applets\GraphLayout
- Launch the GraphLayout demo using appletviewer
\jdk1.3\demo\applets\GraphLayout>appletviewer example1.html
- When the demo window appears, click on the Stress checkbox, then the Random checkbox, and then the Scramble button twice (Do this quickly otherwise the crash will not happen)
- When you click the Scramble button, the demo will crash with a EXCEPTION_ACCESS_VIOLATION at os_win32.cpp,702.
C:\jdk1.3\demo\applets\GraphLayout>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
Java HotSpot(TM) Client VM (build 1.3-P, mixed mode)
C:\jdk1.3\demo\applets\GraphLayout>appletviewer example1.html
#
# HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
#
# Error ID: 4F533F57494E13120E43505002BE
#
abnormal program termination
philip.chin@eng 1999-12-04
Running under Classic VM, I am also seeing the following error on Windows NT. It reproduces 3 out of 7 tries. I do not see this problem under Windows 98..
Exception occurred during event dispatching:
java.security.AccessControlException: access denied (java.io.FilePermission \D:\
jdk1.3\demo\applets\GraphLayout\audio\gong.au read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:276)
at java.security.AccessController.checkPermission(AccessController.java:
403)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at sun.applet.AppletViewer.checkConnect(AppletViewer.java:1168)
at sun.applet.AppletViewer.getAudioClip(AppletViewer.java:324)
at java.applet.Applet.getAudioClip(Applet.java:253)
at java.applet.Applet.getAudioClip(Applet.java:273)
at java.applet.Applet.play(Applet.java:359)
at Graph.actionPerformed(Graph.java:396)
at java.awt.Button.processActionEvent(Button.java:333)
at java.awt.Button.processEvent(Button.java:306)
at java.awt.Component.dispatchEventImpl(Component.java:2599)
at java.awt.Component.dispatchEvent(Component.java:2503)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:323)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
7)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:97)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
I was doing the same steps as above, except I was randomly and repeatedly pressing the Scramble and Shake buttons after both the Stress and Random checkboxes have been enabled. The crash usually happens when the Scramble button is pressed.
If you press the Scramble button after this exception occurs, the demo will crash with an system error message saying:
The instruction at "0x77f7d465" referenced memory at "0x00000000". The memory could not be "written".
- duplicates
-
JDK-4295662 JavaSound: hotspot exceptions playing any media files.
-
- Closed
-