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

JavaVM crashes when some keyboard button is pressed in window

XMLWordPrintable

    • linux-beta
    • x86
    • linux
    • Verified



      Name: asR10013 Date: 04/19/2000



          The following code shows simple window. Just give it focus and
      press any key on the keyboard. The java vm will crash.

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


      class test {

          public static void main(String args[]){
      Frame f = new Frame();
      f.setSize(200,200);
      f.show();
          }
      }
      ----------------------------- output ----------------------------------
      SIGSEGV 11* segmentation violation

      Full thread dump Classic VM (1.3.0beta-b01, green threads):
          "Screen Updater" (TID:0x40f7eb78, sys_thread_t:0x8240d20, state:CW) prio=4
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:420)
      at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:75)
      at sun.awt.ScreenUpdater.run(ScreenUpdater.java:95)
          "AWT-Motif" (TID:0x40f7ea18, sys_thread_t:0x81c8500, state:R) prio=5
      at sun.awt.motif.MToolkit.run(Native Method)
      at java.lang.Thread.run(Thread.java:484)
          "SunToolkit.PostEventQueue-0" (TID:0x40f7ee10, sys_thread_t:0x81afed0, state:CW) prio=5
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:420)
      at sun.awt.PostEventQueue.run(SunToolkit.java:496)
          "AWT-EventQueue-0" (TID:0x40f7ede0, sys_thread_t:0x81addc8, state:CW) prio=6
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:420)
      at java.awt.EventQueue.getNextEvent(EventQueue.java:240)
      at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
          "Finalizer" (TID:0x40f65528, sys_thread_t:0x80961d8, state:CW) prio=8
      at java.lang.Object.wait(Native Method)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
          "Reference Handler" (TID:0x40f65300, sys_thread_t:0x80929b8, state:CW) prio=10
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:420)
      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
          "Signal dispatcher" (TID:0x40f65330, sys_thread_t:0x8090078, state:CW) prio=5
          "Thread-0" (TID:0x40f774b0, sys_thread_t:0x804d388, state:CW) prio=5
      Monitor Cache Dump:
          sun.awt.PostEventQueue@40F7EE10/40FEF398: <unowned>
      Waiting to be notified:
      "SunToolkit.PostEventQueue-0" (0x81afed0)
          java.awt.EventQueue@40F7F068/40FEEE08: <unowned>
      Waiting to be notified:
      "AWT-EventQueue-0" (0x81addc8)
          java.lang.ref.Reference$Lock@40F65310/40F9B2B0: <unowned>
      Waiting to be notified:
      "Reference Handler" (0x80929b8)
          java.lang.ref.ReferenceQueue$Lock@40F65540/40F9B7A8: <unowned>
      Waiting to be notified:
      "Finalizer" (0x80961d8)
          sun.awt.ScreenUpdater@40F7EB78/41051BE0: <unowned>
      Waiting to be notified:
      "Screen Updater" (0x8240d20)
          java.lang.Class@40F75FD8/4100EBC8: owner "AWT-Motif" (0x81c8500) 1 entry
      Registered Monitor Dump:
          utf8 hash table: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class linking lock: <unowned>
          System class loader lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Monitor cache lock: owner "AWT-Motif" (0x81c8500) 1 entry
          Dynamic loading lock: <unowned>
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
      Waiting to be notified:
      "Signal dispatcher" (0x8090078)
          Child death monitor: <unowned>
          I/O monitor: <unowned>
          Alarm monitor: <unowned>
      Waiting to be notified:
      <unknown thread> (0x8053708)
          Thread queue lock: owner "AWT-Motif" (0x81c8500) 1 entry
      Waiting to be notified:
      "Thread-0" (0x804d388)
          Monitor registry: owner "AWT-Motif" (0x81c8500) 1 entry

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

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

            mbronsonsunw Mike Bronson (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: