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

Latest Netbeans crashes on Linux with 1.5 B13 and later

XMLWordPrintable

    • tiger
    • x86
    • linux

      Tiger builds B13 and later crash when starting the latest stable version of
      Netbeans (3.5.1). So far the crash has only been seen on Linux x86, though the
      only other platform that has been tested is Solaris/SPARC, which works. java_g
      on Linux works. It appears there may be a bug in the most recent gcc.

      To reproduce:
       - Download Netbeans from http://www.netbeans.org/downloads/ide/index.html
       - Install and cd into the installation directory
       - Run the runide.sh shell script as follows:

      bin/runide.sh -userdir [user name] -jdkhome [pointer to top of JDK 1.5 B13 build
      or later] -J-Dnetbeans.close

      You can modify the runide.sh shell script to put an -Xint immediately after the
      java command; still crashes during class loading.

      Two crash reports are attached. one (hs_err_pid2819.log) which demonstrates
      that the crash appears to be during class loading and the other (hs_err_pid3478.log) which demonstrates that the error occurs even in
      interpreted mode.


      ###@###.### 2003-08-14

      Same problem reported by a CAP member:

      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b14)
        Java HotSpot(TM) Client VM (build 1.5.0-beta-b14, mixed mode)

      Does this problem occur on J2SE 1.3, 1.4 or 1.4.1?
         No, works fine with Tiger build12

      Operating System Configuration Information (be specific):
        Linux Mandrake.
        kernel version (from uname -a): Linux emerald 2.4.18-6mdk #1 Fri Mar 15
        02:59:08 CET 2002 i686 unknown
        glibc version: 2.2.4
        icewm window manager

      Hardware Configuration Information (be specific):
        Intel Pentium III at 500 MHz, 192MB RAM
        (Compaq Armada M700 notebook)

      Bug Description:
        When execute a Java Swing application in 1.5.0 build 14, get this
        console output and the JVM terminates:

      > ~/pkg/jdk150b14/bin/java -ea -Xms64m -Xmx150m

      com.spirent.tc.ui.core.ConfigEditorManager

      Thu Aug 14 12:49:40 PDT 2003: Configuration Editor/Manager starting.
      Thu Aug 14 12:49:46 PDT 2003: Exception in main of
      ui.core.ConfigEditorManager: java.lang.IllegalArgumentException: Width
      (0) and height (0) cannot be <= 0
      java.lang.IllegalArgumentException: Width (0) and height (0) cannot be
      <= 0
              at
      java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
              at sun.awt.X11.XFramePeer.setIconImage(XFramePeer.java:211)
              at sun.awt.X11.XFramePeer.postInit(XFramePeer.java:75)
              at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:110)
              at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:143)
              at sun.awt.X11.XWindow.<init>(XWindow.java:76)
              at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:110)
              at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
              at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
              at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:49)
              at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:31)
              at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:41)
              at sun.awt.X11.XToolkit.createFrame(XToolkit.java:333)
              at java.awt.Frame.addNotify(Frame.java:477)
              at java.awt.Window.show(Window.java:472)
              at java.awt.Component.show(Component.java:1167)
              at java.awt.Component.setVisible(Component.java:1122)
              at
      com.spirent.tc.ui.core.ConfigEditorManager.main(ConfigEditorManager.java:1124)

        When run the exact same application with 1.5.0 build 12, everything is
        fine, as it was with 1.3.0 through 1.4.2.

            bino Bino George
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: