Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6239336

JVM internal error/EXCEPTION_ACCESS_VIOLATION, possibly memory related?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • hotspot
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.4.2_06"
      java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03
      Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP SP1

      A DESCRIPTION OF THE PROBLEM :
      http://web.mit.edu/charvak/Public/Java/javaerror.GIF shows what's left on the command prompt when appletviewer crashes. I wrote the applet located at http://web.mit.edu/charvak/Public/Java/ and it runs on Mac OS9 and MIT's UNIX-based Athena system, but won't work on Windows XP.

      Specifically, the program performs as expected for very small inputs like A1=2 and D1=2. However, it only runs a few times and crashes eventually.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open http://web.mit.edu/charvak/Public/Java/AA.html. Hit clear and then type 2's in the boxes that contained A1 and D1. Hit "calculate probs" and the program will run. Repeat that a total of 8 times and the applet will crash. In theory, it should perform the same every time.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I was expecting the applet to run the same every time I hit "calculate probs" and with numbers on the order of 10 as inputs.
      ACTUAL -
      The applet seems to die after performing a certain amount of computation. It can take two 1's and process them about 40 times. Two 2's will kill it after 8 tries. Large enough numbers kill it immediately.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      http://web.mit.edu/charvak/Public/Java/javaerror.GIF

      ----------------------AND-----------------

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x0
      Function name=(N/A)
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.



      Current Java thread:
      at sun.awt.Win32GraphicsDevice.getDefaultPixID(Native Method)
      at sun.awt.Win32GraphicsDevice.displayModeChanged(Unknown Source)
      at sun.awt.windows.WToolkit.displayChange(Unknown Source)
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at sun.awt.windows.WToolkit.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------

      Attached seperately

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      I have no workaround besides running on a different OS.
      ###@###.### 2005-03-11 09:45:12 GMT

            never Tom Rodriguez
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: