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

Linux: An unexpected exception has been detected in native code outside the VM

    Details

    • Subcomponent:
    • Resolved In Build:
      linux-beta
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: asR10013 Date: 05/17/2000



          The following sample code hangs linux jvm.

      --------------------------------- test.java --------------------------
      import java.awt.*;
      import java.awt.event.*;

      class test {

          public static void main(String args[]) {
      Frame f = new Frame();
      f.setSize(400,400);
      f.pack();
      f.show();
      System.out.println(Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_KANA_LOCK));
          }
      }
      --------------------------------- output -----------------------------
      $ java -hotspot -version
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b05)
      Java HotSpot(TM) Client VM (build 1.3.0beta-b03, mixed mode)
      $ java -hotspot test
      # # An unexpected exception has been detected in native code outside the VM.# Program counter=0x4008fe96
      #
      # Problematic Thread: prio=1 tid=0x804e8f0 nid=0x400 runnable
      #

      $java -version
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b05)
      Classic VM (build 1.3.0beta-b05, green threads, nojit)
      $ java test
      OUCH: nested memory code, to 1 levels.
      SIGABRT 6* abort (generated by abort(3) routine, also SIGIOT)
          si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine, also SIGIOT)
          OUCH: nested memory code, to 1 levels.
          OUCH: nested memory code, to 1 levels.
              si_errno [0]: Success
              si_code [0]: SI_USER [pid: 0, uid: 0]
              stackpointer=0xbfffd744
      ======================================================================

      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              mbronsonsunw Mike Bronson (Inactive)
              Reporter:
              alssunw Als Als (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: