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

Java2Demo crashes with -d64 in XGetExtensionVersion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P3 P3
    • tbd
    • 7, 8, 9
    • client-libs
    • generic
    • generic

      Java2Demo consistently crashes on specific machine (see comments) on solaris-sparcv9 with stack trace below. I'm running it on one machine and setting the display to another running solaris 10 JDS desktop.

      with b133:
      core% cd $JAVA_HOME/demo/jfc/Java2D
      core% java -d64 -jar Java2Demo.jar

      Stack: [0xffffffff7bc00000,0xffffffff7bd00000], sp=0xffffffff7bcfd9d0, free space
      =1014k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libXi.so.5+0x63b0] XGetExtensionVersion+0x88
      C [libXi.so.5+0x9700] _XiCheckExtInit+0x88
      C [libXi.so.5+0x7234] XListInputDevices+0x34
      C [libmawt.so+0x14400] getNumButtons+0x60
      C [libmawt.so+0x14374] Java_sun_awt_X11_XToolkit_getNumberOfButtonsImpl+0x3c
      j sun.awt.X11.XToolkit.getNumberOfButtonsImpl()I+0
      j sun.awt.X11.XToolkit.getNumberOfButtonsImpl()I+0
      j sun.awt.X11.XToolkit.getNumberOfButtons()I+10
      j sun.awt.X11.XToolkit.initializeDesktopProperties()V+102
      j java.awt.Toolkit.getDesktopProperty(Ljava/lang/String;)Ljava/lang/Object;+32
      j sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(Z)Lsun/swing/SwingUtilities2$
      AATextInfo;+11
      j javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(Ljavax/swing/UIDef
      aults;)V+12165
      j javax.swing.plaf.basic.BasicLookAndFeel.getDefaults()Ljavax/swing/UIDefaults;+25
      j javax.swing.plaf.metal.MetalLookAndFeel.getDefaults()Ljavax/swing/UIDefaults;+9
      j javax.swing.UIManager.setLookAndFeel(Ljavax/swing/LookAndFeel;)V+79
      j javax.swing.UIManager.setLookAndFeel(Ljava/lang/String;)V+16
      j javax.swing.UIManager.initializeDefaultLAF(Ljava/util/Properties;)V+55
      j javax.swing.UIManager.initialize()V+9
      j javax.swing.UIManager.maybeInitialize()V+22
      j javax.swing.UIManager.getUI(Ljavax/swing/JComponent;)Ljavax/swing/plaf/Component
      UI;+0
      j javax.swing.JMenuItem.updateUI()V+2
      j javax.swing.JMenuItem.init(Ljava/lang/String;Ljavax/swing/Icon;)V+57
      j javax.swing.JMenuItem.<init>(Ljava/lang/String;Ljavax/swing/Icon;)V+23
      j javax.swing.JCheckBoxMenuItem.<init>(Ljava/lang/String;Ljavax/swing/Icon;Z)V+3
      j javax.swing.JCheckBoxMenuItem.<init>(Ljava/lang/String;)V+4
      j java2d.Java2Demo.<clinit>()V+7
      v ~StubRoutines::call_stub
      V [libjvm.so+0x1d37d0] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaC
      allArguments*,Thread*)+0x358
      V [libjvm.so+0x1e00b4] void JavaCalls::call(JavaValue*,methodHandle,JavaCallArgum
      ents*,Thread*)+0x44

            serb Sergey Bylokhov
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: