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

VM Crahes in java.awt.Cursor.finalize() method in Headless Mode

XMLWordPrintable

    • beta2
    • x86
    • linux
    • Verified

      VM Crashes in java.awt.Cursor.finalizer() method in Headless mode

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x4A4E03F4
      Function=XFreeCursor+0x14
      Library=/usr/X11R6/lib/libX11.so.6

      Current Java thread:
      at java.awt.Cursor.finalize(Native Method)
      at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
      at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)


      Headless Testsuite available at
      /net/sqesvr/export/awt/awt_ws/Headless

      Generate, Compile and Run Headless in Linux Redhat 6.2.
      It will crash for the following scenarios in Headless Mode

      ----------------------------------------
      javax.swing.JOptionPane: do_setFocusable_111
      javax.swing.JSlider: do_setFocusable_111
      javax.swing.JSplitPane: do_setFocusable_100
      javax.swing.JToggleButton: do_setFocusable_11
      javax.swing.JComboBox: do_isCursorSet_105
      javax.swing.JEditorPane: do_isCursorSet_107
      javax.swing.JRadioButton: do_isCursorSet_106
      javax.swing.JScrollBar: do_isCursorSet_104
      javax.swing.JScrollPane: do_isCursorSet_102
      javax.swing.JCheckBox: do_getCursor_108
      javax.swing.JColorChooser: do_getCursor_103
      javax.swing.JSpinner: do_getCursor_103
      javax.swing.JDesktopPane: do_toString_118
      javax.swing.JPanel: do_toString_118
      javax.swing.JTextArea: do_toString_118
      java.awt.Font: do_getPeer_32
      javax.swing.JButton: do_transferFocusUpCycle_117
      javax.swing.JTabbedPane: do_transferFocusUpCycle_115
      javax.swing.JFileChooser: do_inside_106
      javax.swing.JInternalFrame$JDesktopIcon: do_isFocusTraversable_106
      javax.swing.JMenuItem: do_setComponentOrientation_121
      javax.swing.JTextField: do_setComponentOrientation_124

      Its occuring only in Linux

            mmartaksunw Michael Martak (Inactive)
            rpullanisunw Rakesh Pullanikkad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: